Displaying 1 result from an estimated 1 matches for "racekid".
Did you mean:
raceid
2006 Jan 17
1
Step.glm() question
Hi:
I am using step.glm() as follows:
form1 <- as.formula(haspdata ~ 1)
lg.mod1 <- glm ( formula=form1, data=st.mtx,
family=binomial , na.action=na.omit )
upper <- as.formula( haspdata ~ (
c5+childnm+educ1+incpov1+marital+msa+racekid+racemom+sex+shotcard )^2)
lower <- as.formula(haspdata~1)
lst <- list( upper=upper , lower=lower )
form1a.step <- step(lg.mod1, scope=lst , trace=T ,
direction="both" )
I get the following error message in R:
Error in factor.scope(ffac, list(add = fadd, drop = fdrop)) :...