14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A Statistical Details 669<br />

The Factor Models<br />

Table A.13 Ordinal Interactions (Continued)<br />

A*B<br />

A2<br />

A3<br />

A B A2 A3 B2 B3 B2 B3 B2 B3<br />

A3 B3 1 1 1 1 1 1 1 1<br />

Note: When you test to see if there is no effect, there is not much difference between nominal <strong>and</strong> ordinal<br />

factors for simple models. However, there are major differences when interactions are specified. We<br />

recommend that you use nominal rather than ordinal factors for most models.<br />

Hypothesis Tests for Ordinal Crossed Models<br />

To see what the parameters mean, examine this table of the expected cell means in terms of the parameters,<br />

where μ is the intercept, α 2 is the parameter for level A2, <strong>and</strong> so forth.<br />

Table A.14 Expected Cell Means<br />

B1 B2 B3<br />

A1<br />

A2<br />

μ μ + αβ 2<br />

+ αβ 12<br />

μ+ β 2<br />

+ β 3<br />

μ+ α 2<br />

μ + α 2<br />

+ β 2<br />

+ αβ 22<br />

μ+ α 2<br />

+ β 2<br />

+ β 3<br />

+ αβ 22<br />

+ αβ 23<br />

A3<br />

μ+ α 2<br />

+ α 3<br />

μ + α 2<br />

+ α 3<br />

+ β 2<br />

+ αβ 22<br />

+<br />

αβ 32<br />

+ αβ 23<br />

+ αβ 32<br />

+ αβ 33<br />

μ– α 2<br />

+ α 3<br />

+ β 2<br />

+ β 3<br />

+ αβ 22<br />

+<br />

αβ 23<br />

+ β 32<br />

+ αβ 33<br />

Note that the main effect test for A is really testing the A levels holding B at the first level. Similarly, the<br />

main effect test for B is testing across the top row for the various levels of B holding A at the first level. This<br />

is the appropriate test for an experiment where the two factors are both doses of different treatments. The<br />

main question is the efficacy of each treatment by itself, with fewer points devoted to looking for drug<br />

interactions when doses of both drugs are applied. In some cases it may even be dangerous to apply large<br />

doses of each drug.<br />

Note that each cell’s expectation can be obtained by adding all the parameters associated with each cell that<br />

is to the left <strong>and</strong> above it, inclusive of the current row <strong>and</strong> column. The expected value for the last cell is the<br />

sum of all the parameters.<br />

Though the hypothesis tests for effects contained by other effects differs with ordinal <strong>and</strong> nominal codings,<br />

the test of effects not contained by other effects is the same. In the crossed design above, the test for the<br />

interaction would be the same no matter whether A <strong>and</strong> B were fit nominally or ordinally.

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

Saved successfully!

Ooh no, something went wrong!