Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Is it possible to do repeated measures regression involving 2 repeated variables...

Topic Options

- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Dec 11, 2014 6:46 AM
(4024 views)

I'm often confronted with performing longitudinal regression with two repeated terms: year and eye (right and left representing different, but correlated, values at each year). With PROC MIXED of SAS I've been able to incorporate both class variables in the repeated statement in an unstructured variance model: "repeated timecat eye/ type=un@un". Can this — or something similar — be done with the JMP Pro Mixed Model platform? And, if so, how? It does not seem to let me enter two terms.

Thanks.

7 REPLIES 7

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

In JMP Pro, select **Help** > **Books** > **Fitting Linear Models**. When the PDF book opens in your default reader, select **Edit** > **Find** and enter "*repeated measures*." The search should find the first item in the table of contents. This item is a link that takes you to the right section of the *Mixed Models* chapter.

Learn it once, use it forever!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Thanks for the direction. I reviewed the text and see the constraints.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Only one repeated variable is allowed for the Unstructured covariance structure in the Mixed Model Personality of Fit Model in JMP Pro.

Michael Crotty

Sr Statistical Writer

JMP Development

Sr Statistical Writer

JMP Development

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Yes, I noted that from the previous responder's remarks.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Hi masandberg,

To use an unstructured covariance structure in the mixed platform you need a single variable that identifies the individual observations from each unit. As you found, with models containing more than one regressor there isn't a single variable identifying these observations, rather it is the combination of the levels of the two (or more) variables that identify the repeated observations.

To handle this, you need to generate a new variable that you won't use in the model specification, but will use in the "Repeated" section when designating an unstructured covariance structure. In your case, I believe this can be made with a concatenation of Year and Eye. In JMP 11, you could use the in-line transform columns to generate this concatenation while in Fit Model. Otherwise, you can make a new variable, and in the formula define the concatenation. If you haven't made these concatenations before let me know and I would be happy to write out some steps.

I hope this helps!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Is it possible to do repeated measures regression involving 2 repeated variables (e.g., time, ey