Displaying 1 result from an estimated 1 matches for "tonsiles".
Did you mean:
consoles
2006 May 03
1
Problem in using confint method on polr model object
...te confidence intervals for the
parameters I get
the following error message
Waiting for profiling to be done...
Re-fitting to get Hessian
Error in X[, -i, drop = FALSE] : incorrect number of dimensions
Can someone explain the error-message?
(The data are from McCullagh (1980), JRSS,B)
tonsiles<-data.frame(carrier=factor(rep(c('yes','no'),each=3)),
size=ordered(rep(c(1,2,3),2)),
count=c(19,29,24,497,560,269))
library(MASS)
m<-polr(size~carrier,data=tonsiles,weights=count)
confint(m)
Ulrich
platform i386-pc-mingw3...