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.

662 Statistical Details Appendix A<br />

The Factor Models<br />

Table A.7 Two-Way Model with Interaction<br />

A B A1 A2 B1 A1B1 A2B1<br />

A1 B1 1 0 1 1 0<br />

A2 B1 0 1 1 0 1<br />

A3 B1 –1 –1 1 –1 –1<br />

A1 B2 1 0 –1 –1 0<br />

A2 B2 0 1 –1 0 –1<br />

A3 B2 –1 –1 –1 1 1 Suppose this interaction is<br />

missing.<br />

The expected values for each cell are:<br />

Table A.8 Expected Values<br />

B1<br />

B2<br />

A1<br />

A2<br />

A3<br />

μ + α 1<br />

+ β 1<br />

+ αβ 11<br />

μ + α 1<br />

– β 1<br />

– αβ 11<br />

μ + α 2<br />

+ β 1<br />

+ αβ 21<br />

μ + α 2<br />

– β 1<br />

– αβ 21<br />

μ – α 1<br />

– α 2<br />

+ β 1<br />

– αβ 11<br />

– αβ 21<br />

μ – α 1<br />

– α 2<br />

– β 1<br />

+ αβ 11<br />

+ αβ 21<br />

Obviously, any cell with data has an expectation that is estimable. The cell that is missing has an expectation<br />

that is nonestimable. In fact, its expectation is precisely that linear combination of the design columns that<br />

is in the singularity report<br />

μ– α 1<br />

– α 2<br />

– β 1<br />

+ αβ 11<br />

+ αβ 21<br />

Suppose that you want to construct a test that compares the least squares means of B1 <strong>and</strong> B2. In this<br />

example, the average of the rows in the above table give these least squares means.<br />

LSM(B1) = ( 1 ⁄ 3) ( μ+ α 1<br />

+ β 1<br />

+ αβ 11<br />

+<br />

μ+ α 2<br />

+ β 1<br />

+ αβ 21<br />

+<br />

μ– α 1<br />

– α 2<br />

+ β 1<br />

– αβ 11<br />

– αβ 21<br />

)<br />

= μ + β 1<br />

LSM(B2) = ( 1 ⁄ 3) ( μ+ α 1<br />

+ – β 1<br />

– αβ 11<br />

+<br />

μ+ α 2<br />

+ – β 1<br />

– αβ 21<br />

+<br />

μ– α 1<br />

– α 2<br />

– β 1<br />

+ αβ 11<br />

+ αβ 21<br />

)<br />

= μ – β 1

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

Saved successfully!

Ooh no, something went wrong!