14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix A Statistical Details 661<br />

The Factor Models<br />

If there are missing cells or other singularities, the JMP tests are different than GLM tests. There are several<br />

ways to describe them:<br />

• JMP tests are equivalent to testing that the least squares means are different, at least for main effects. If<br />

the least squares means are nonestimable, then the test cannot include some comparisons <strong>and</strong>, therefore,<br />

loses degrees of freedom. For interactions, JMP is testing that the least squares means differ by more<br />

than just the marginal pattern described by the containing effects in the model.<br />

• JMP tests an effect by comparing the SSE for the model with that effect with the SSE for the model<br />

without that effect (at least if there are no nested terms, which complicate the logic slightly). JMP<br />

parameterizes so that this method makes sense.<br />

• JMP implements the effective hypothesis tests described by Hocking (1985, 80–89, 163–166), although<br />

JMP uses structural rather than cell-means parameterization. Effective hypothesis tests start with the<br />

hypothesis desired for the effect <strong>and</strong> include “as much as possible” of that test. Of course, if there are<br />

containing effects with missing cells, then this test will have to drop part of the hypothesis because the<br />

complete hypothesis would not be estimable. The effective hypothesis drops as little of the complete<br />

hypothesis as possible.<br />

• The differences among hypothesis tests in JMP <strong>and</strong> GLM (<strong>and</strong> other programs) that relate to the<br />

presence of missing cells are not considered interesting tests anyway. If an interaction is significant, the<br />

test for the contained main effects are not interesting. If the interaction is not significant, then it can<br />

always be dropped from the model. Some tests are not even unique. If you relabel the levels in a missing<br />

cell design, then the GLM Type IV tests can change.<br />

The following section continues this topic in finer detail.<br />

Singularities <strong>and</strong> Missing Cells in Nominal Effects<br />

Consider the case of linear dependencies among the design columns. With JMP coding, this does not occur<br />

unless there is insufficient data to fill out the combinations that need estimating, or unless there is some<br />

kind of confounding or collinearity of the effects.<br />

With linear dependencies, a least squares solution for the parameters might not be unique <strong>and</strong> some tests of<br />

hypotheses cannot be tested. The strategy chosen for JMP is to set parameter estimates to zero in sequence<br />

as their design columns are found to be linearly dependent on previous effects in the model. A special<br />

column in the report shows what parameter estimates are zeroed <strong>and</strong> which parameter estimates are<br />

estimable. A separate singularities report shows what the linear dependencies are.<br />

In cases of singularities the hypotheses tested by JMP can differ from those selected by GLM. Generally,<br />

JMP finds fewer degrees of freedom to test than GLM because it holds its tests to a higher st<strong>and</strong>ard of<br />

marginality. In other words, JMP tests always correspond to tests across least squares means for that effect,<br />

but GLM tests do not always have this property.<br />

For example, consider a two-way model with interaction <strong>and</strong> one missing cell where A has three levels, B has<br />

two levels, <strong>and</strong> the A3B2 cell is missing.

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

Saved successfully!

Ooh no, something went wrong!