[R] Analysis of ordinal categorical data

John Fox jfox at mcmaster.ca
Wed May 5 15:51:15 CEST 2004


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 at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of 
> thsudler at swissonline.ch
> Sent: Wednesday, May 05, 2004 7:45 AM
> To: r-help at 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 at 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




More information about the R-help mailing list