RE: [R] Analysis of ordinal categorical data

About this list Date view Thread view Subject view Author view Attachment view

From: John Fox (jfox@mcmaster.ca)
Date: Wed 05 May 2004 - 23:51:15 EST


Message-id: <20040505135113.SEYV11251.tomts36-srv.bellnexxia.net@JohnDesktop8300>

Dear Thomas,

One approach to an ordinal response variable is the proportional-odds model,
implemented in the MASS package as polr(). The proportional-odds assumption
may not hold, however.

I hope this helps,
 John

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of
> thsudler@swissonline.ch
> Sent: Wednesday, May 05, 2004 7:45 AM
> To: r-help@stat.math.ethz.ch
> Subject: [R] Analysis of ordinal categorical data
>
> Hi
>
> I would like to analyse an ordinal categorical variable. I
> know how I can analyse a nominal categorical variable (with
> multinom or if there are only two levels with glm).
>
> Does somebody know which command I need in R to analyse an
> ordinal categorical variable?
>
> I want to describe the variable y with the variables x1,x2,x3
> and x4. So my model looks like: y ~ x1+x2+x3+x4.
>
> y: ordinal factor variable with levels (never, rare, bychance, often).
>
> Thanks a lot in advance
> Thomas
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST