For the latest version of JMP Help, visit JMP.com/help.


Publication date: 06/21/2023

Example of a Repeated Measures Multivariate Model

In this example, you are interested in fitting a multivariate model to repeated measures data using the Manova personality of the Fit Model platform. Sixteen dogs are assigned to four groups defined by variables drug and dep1, each having two levels. The dependent variable is the blood concentration of histamine at 0, 1, 3, and 5 minutes after injection of the drug. The log of the concentration is used to minimize the correlation between the mean and variance of the data.

1. Select Help > Sample Data Folder and open Dogs.jmp.

2. Select Analyze > Fit Model.

3. Select LogHist0, LogHist1, LogHist3, and LogHist5 and click Y.

4. Select drug and dep1 and select Full Factorial from the Macros menu.

5. For Personality, select Manova.

6. Click Run.

7. In the Choose Response menu, select Repeated Measures.

Time should be entered for YName. If you check the Univariate Tests Also check box, the report includes univariate tests, which are calculated as if the responses were stacked into a single column.

8. Click OK.

Figure 10.8 Repeated Measures Window 

Repeated Measures Window

Table 10.1 shows how the multivariate tests for a Sum and Contrast response designs correspond to how univariate tests would be labeled if the data for columns LogHist0, LogHist1, LogHist3, and LogHist5 were stacked into a single Y column. The new rows are identified with a nominal grouping variable, Time.

Table 10.1 Corresponding Multivariate and Univariate Tests

Sum M-Matrix

Between Subjects

Contrast M-Matrix

Within Subjects

Multivariate Test

Univariate Test

Multivariate Test

Univariate Test

intercept

intercept

intercept

time

drug

drug

drug

time*drug

depl

depl

depl

time*depl

The between-subjects analysis is produced first. This analysis is the same (except titling) as it would have been if Sum had been selected on the pop-up menu.

The within-subjects analysis is produced next. This analysis is the same (except titling) as it would have been if Contrast had been selected on the pop-up menu, though the within-subject effect name (Time) has been added to the effect names in the report. Note that the position formerly occupied by Intercept is Time, because the intercept term is estimating overall differences across the repeated measurements.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).