Displaying 1 result from an estimated 1 matches for "zipcode2".
Did you mean:
zipcode
2012 Oct 15
0
Error message with the effects package - 'Subscript out of bounds'
...n't know what the issue is.
When I attempt to generate the plots, I get the following error:
dat$won_ping = as.factor(dat$won_ping)
mod2 = glm(won_ping ~ our_bid +
age_of_oldest_driver2 +
credit_type2 +
coverage_type2 +
home_owner2 +
vehicle_driver_score +
currently_insured2 +
zipcode2,
data=dat, family=binomial(link="logit"))
> plot(effect("our_bid*home_owner2", mod2), rescale.axis=FALSE, multiline=TRUE)Warning message:In analyze.model(term, mod, xlevels, default.levels) :
our_bid:home_owner2 does not appear in the modelError in
plot(effect("our_...