Displaying 1 result from an estimated 1 matches for "pathcr".
Did you mean:
path_r
2010 May 06
1
cannot update polr model if I specify "start" parameters
...tial model (without an error
aborting it) in my setting, I must pass in a "start" parameter. I would
then like to use the "step" function to remove unnecessary variables
from the model. However, this fails with the error message:
> mod1 <- step(model)
Start: AIC=42
PathCR ~ Cluster + [[stuff omitted]]
Error in polr(formula = PathCR ~ [[stuff omitted]] :
'start' is not of the correct length
The underlying problem appears to be that "step" calls "drop1" which
calls "update" on the formula with an omitted term. The "updat...