01.03.2013 Views

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

163<br />

c. The comparison between hospital 3 versus the others uses the assignment rule<br />

for merged groups already explained in 4.5.2.2.<br />

d. The comparison between all hospitals, for category 1 of APCLASS, uses two<br />

independent contrasts. These are tested simultaneously, representing an<br />

exhaustive set of contrasts that compare all levels of HOSP. Category 0 of<br />

APCLASS is removed from the analysis by assigning a zero coefficient to it.<br />

Table 4.23. Contrast coefficients <strong>and</strong> significance for the comparisons described in<br />

Example 4.21.<br />

Contrast (a) (b) (c) (d)<br />

Description<br />

APCLASS 0<br />

vs.<br />

APCLASS 1<br />

HOSP 2<br />

vs.<br />

HOSP 3<br />

HOSP 3<br />

vs.<br />

{HOSP 1, HOSP 2}<br />

HOSP coef. 1 1 1 0 1 −1 1 1 −2<br />

HOSP<br />

for<br />

APCLASS 1<br />

1 0 −1<br />

0 1 −1<br />

APCLASS coef. 1 −1 1 1 1 1 0 1<br />

p 0.00 0.00 0.29 0.00<br />

Estimated Marginal Means<br />

80<br />

70<br />

60<br />

50<br />

40<br />

30<br />

1<br />

4.5 Inference on More than Two Populations<br />

HOSP<br />

2<br />

3<br />

APCLASS<br />

Figure 4.20. Plot of estimated marginal means for Example 4.20.<br />

<strong>SPSS</strong> <strong>and</strong> <strong>STATISTICA</strong> provide the possibility of testing contrasts in multi-way<br />

ANOVA analysis. With <strong>STATISTICA</strong>, the user fills in at will the contrast<br />

coefficients in a specific window (e.g. click Specify contrasts for LS<br />

means in the Planned comps tab of the ANOVA comm<strong>and</strong>, with<br />

HOSP*APCLASS interaction effect selected). <strong>SPSS</strong> follows the approach of<br />

computing an exhaustive set of contrasts.<br />

0<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!