search for: logordered

Displaying 1 result from an estimated 1 matches for "logordered".

2011 Apr 11
2
ordered logistic regression - cdplot and polr
...Cat) ###set ordered ordinal dependent variable as factor HammerCatOrdFactor<-as.factor(HammerCatOrd) ###density plot with three levels cdplot(HammerCatOrdFactor~LogAntDensityFactor,xlab="Log(Ant Density)",ylab="Latency of response to disturbance (1-3)") require(MASS) logordered<-polr(HammerCatOrdFactor~LogAntDensityFactor,Hess=TRUE) summary(logordered,digits=3) [[alternative HTML version deleted]]