Displaying 1 result from an estimated 1 matches for "nicocain".
Did you mean:
nicocaine
2004 Oct 08
1
polr and optim question
Hello again
I am trying to fit an ordinal logistic model using the polr function
from MASS. When I run
model.loan.ordinal <- polr(loancat~age + sex + racgp + yrseduc +
needlchg + gallery + sniffball + smokeball + sniffher +
smokeher + nicocaine + inject + poly(year.of.int,3) + druginj +
inj.years)
I get an error
Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess, ...)
:
non-finite value supplied by optim
I checked in the MASS book, and in John Fox's book An R and S-Plus
Companion to Applied Re...