cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
OldGugga
Level II

2 way analysis of covariance, repeated measures

I use JMP Pro 14.1.0 on a Mac. I want to perform repeated measures analysis of covariance. 

 

In my data there are two grouping variables for subjects, race/ethnic status (B v H v W) and gender (M v F), thus six cells of status & gender. 

 

There are six dependent variables, all derived from a parent-completed rating scale, so the dependent variables may be correlated. 

 

The subjects in each cell vary slightly in mean age, and subject age could possibly affect the dependent variables, so I want to covary on age. 

 

What are my steps in JMP to do this? 

3 REPLIES 3

Re: 2 way analysis of covariance, repeated measures

I am not entirely clear about the design of the study but try this approach. First, create a data table with a data column for race/ethnic status, gender, age, and the six responses. Enter each response on a separate row. In other words, do not pre-summarize the data by "cell."

 

Select Analyze > Fit Model. Select the six response data columns and click Y. Select status, gender, and age. Click Macros and select Factorial to Degree. This model assumes the possibility of interactions (e.g., the effect of age might differ between sexes) but no non-linear effects. It is a good place to begin. Be sure to select the Fit Separately option in the upper right corner. Click Run.

 

See the Help > Books > Fitting Linear Models book. There are several related chapters dealing with these models and the options and results from the Fit Least Squares platform.

OldGugga
Level II

Re: 2 way analysis of covariance, repeated measures

thank you. the data table is already set up the way you say, so it will be easy to try. i will examine those references you gave, as well

statman
Super User

Re: 2 way analysis of covariance, repeated measures

I am always amazed how Mark provides such good advice with so little input... In any case I have some additional thoughts:

1. What are the "parent-completed rating scales"?.  Have you assessed this measurement system?  Is there consistency within and between rater?  How much variation is there within/between rater?  Are you just averaging these ratings?  How are you handling rater bias?

2. I'm not exactly sure what you mean by repeated measures.  If indeed they are repeats (multiple data points without the treatment combinations changing), they do not add degrees of freedom.  So it looks like you will have 5 DF's. As Mark points out, it would be most logical to look for linear relationships (non-linear race/ethic status is illogical) so you will have to "give up" a degree of freedom to estimate the linear effect of the covariate (no interaction).

3. I would typically recommend replicates to add DF's to investigate covariates (you will have both fixed and random effects in the model).  

4. Analyze (fit model) the covariate using sequential tests (Type 1) and partial (Type 3) for the fixed effects. Turn on VIF's (add column in parameter estimates) to look for correlation among the predictor variables.  

"All models are wrong, some are useful" G.E.P. Box