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

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- MIxed procedure with repeated measures on ordinal ...

- 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
- Permalink
- Email to a Friend
- Report Inappropriate Content

3 weeks ago

A reviewer has questioned my use of Proc Mixed for repeated measures on ordinal data, saying that I should be using non-parametric methods with ordinal data. What is your advice?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Lder

3 weeks ago

Proc mixed assumes Gaussian random effects and errors.

PG

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to PGStats

3 weeks ago

That is too concise a response for me to understand whether you agree with the reviewer or not. Is there a different procedure that I should use?

I have a continuous dependent variable (body temperature) and ordinal independent variable (comfort rating) which I measure at regular intervals over a period of time. If proc mixed is not appropriate, then please advise what would be?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Lder

3 weeks ago

This is the script - Sens is ordinal (a rating scale) where bodytemp is continuous.

proc mixed data=mydata method=ml covtest asycov ;

class subject_ID ;

model sens = bodytemp /DDFM=KR CL s noint;

repeated / type=UN subject= subject_ID R;

run;

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Lder

2 weeks ago

For an ordinal response, you should use either PROC GLIMMIX or PROC GENMOD instead.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to StatDave_sas

2 weeks ago

I agree, if in fact SENS is intended to be the response variable. That is not yet clear to me, given the contradictory posts.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Lder

2 weeks ago - last edited 2 weeks ago

The "dependent" variable is the response variable. In one post you identify it as body temperature. It is not unreasonable to assume that body temperature follows a normal distribution, as a first pass.

The "independent" variable is the explanatory or predictor variable. You identify it as comfort rating, and you say that comfort rating is measured on an ordinal scale. You might choose to treat comfort rating as if it is nominal and use an ANOVA-like model. Or you might choose to treat comfort rating as if it is continuous and use a regression-like model. In my opinion, it depends on the shape of the relationship between the response (dependent) variable and the explanatory (dependent) variable as well as the number of levels of the explanatory variable.

BUT!!! in a subsequent post, you *reverse* the identities of response and explanatory: in your MIXED code, you identify SENS as the response (dependent) and BODYTEMP as the explanatory (independent) variable. So, I have no idea what role your variables play in your study, or how to express those roles in a statistical model.

Plus in your model, you use the REPEATED statement, but you have not identified a repeated measures factor in either the MODEL or the REPEATED statement.

To get appropriate advice, you need to provide both clarity and more information about your experimental design. In addition, I highly recommend studying SAS® for Mixed Models.