[R] Summary/Bootstrap for Design library's lrm function
kkruse at uci.edu
kkruse at uci.edu
Sat Sep 26 23:11:53 CEST 2009
Can anyone tell me what I might be doing incorrectly for an ordinal
logistic regression for lrm?
I cannot get R(2.9.1)to run either summary nor will it let me bootstrp to
validate.
### Y is a 5 value measure with a range from 1-5, the independent
variables are the same. N=75 but when we knock out the NAs it comes down
to 51####
> lrm(formula = Y ~ permemp + rev + gconec + scorpstat, data = data,
na.action = na.delete, var.penalty = "simple")
## It will give me coefficients and residuals, but nothing else really.
When I try to enter "summary" it gives me this error message##
> summary(bigassmall)
Error in summary.Design(bigassmall) : could not find function "Varcov"
##So I thought I'd try to find a back door in, manually bootstrapping to
verify then getting values that way and I get this error message##
> validate(bigassmall, method=boot, B=50)
Error in validate.lrm(bigassmall, method = boot, B = 50) :
fit did not use x=T,y=T
########################################################
Any clue as to what I'm doing wrong?
any help would be much appreciated.
Karl
PhD Student, Political Science
University of California at Irvine
More information about the R-help
mailing list