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.

660 Statistical Details Appendix A<br />

The Factor Models<br />

Table A.6 Nested Effects<br />

B(A)<br />

A1 A1 A2 A2 A3 A3<br />

A B A13 A23 B13 B23 B13 B23 B13 B23<br />

A1 B1 1 0 1 0 0 0 0 0<br />

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

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

A2 B1 0 1 0 0 1 0 0 0<br />

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

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

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

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

A3 B3 –1 –1 0 0 0 0 –1 –1<br />

Least Squares Means across Nominal Factors<br />

Least squares means are the predicted values corresponding to some combination of levels, after setting all<br />

the other factors to some neutral value. The neutral value for direct continuous regressors is defined as the<br />

sample mean. The neutral value for an effect with uninvolved nominal factors is defined as the average effect<br />

taken over the levels (which happens to result in all zeroes in our coding). Ordinal factors use a different<br />

neutral value in “Ordinal Least Squares Means” on page 670. The least squares means might not be<br />

estimable, <strong>and</strong> if not, they are marked nonestimable. JMP’s least squares means agree with GLM’s<br />

(Goodnight <strong>and</strong> Harvey 1978) in all cases except when a weight is used, where JMP uses a weighted mean<br />

<strong>and</strong> GLM uses an unweighted mean for its neutral values.<br />

Effective Hypothesis Tests<br />

Generally, the hypothesis tests produced by JMP agree with the hypothesis tests of most other trusted<br />

programs, such as <strong>SAS</strong> PROC GLM (Hypothesis types III <strong>and</strong> IV). The following two sections describe<br />

where there are differences.<br />

In the <strong>SAS</strong> GLM procedure, the hypothesis tests for Types III <strong>and</strong> IV are constructed by looking at the<br />

general form of estimable functions <strong>and</strong> finding functions that involve only the effects of interest <strong>and</strong> effects<br />

contained by the effects of interest (Goodnight 1978).<br />

In JMP, the same tests are constructed, but because there is a different parameterization, an effect can be<br />

tested (assuming full rank for now) by doing a joint test on all the parameters for that effect. The tests do<br />

not involve containing interaction parameters because the coding has made them uninvolved with the tests<br />

on their contained effects.

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

Saved successfully!

Ooh no, something went wrong!