Skip to content

Analysis of ordinal categorical data

4 messages · thsudler@swissonline.ch, John Fox, Brian Ripley +1 more

#
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
#
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
#
On Wed, 5 May 2004, John Fox wrote:

            
And you can find out by comparing the fit with a multinom fit -- see the 
MASS scripts for a worked example.
1 day later
#
Thomas,
R code for Agresti's book "Catagorical Data Analysis  is available on  
Laura Thompson's
  web site.
http://math.cl.uh.edu/~thompsonla/
You might find the book and the code helpful.
Paul
On 5 May 2004, at 13:45, thsudler at swissonline.ch wrote:

            
P. B. Pynsent,
Research & Teaching Centre,
Royal Orthopaedic Hospital,
Northfield,
Birmingham, B31 2AP,
U. K.