search for: form1a

Displaying 1 result from an estimated 1 matches for "form1a".

Did you mean: form1
2006 Jan 17
1
Step.glm() question
...rmula(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)) : upper scope does not include model Because I am trying to migrate from Splus to R, I ran that same code in S...