search for: stepout

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

Did you mean: stdout
2009 Nov 16
1
object not found inside step() function
...paste("y~1+",paste(grep("X.*",names(a)[force.in],value=T),collapse="+"),sep="") } else {lowmo<-"y~1"} lower1<-glm(lowmo,family="binomial",data=data.frame(a,y)) upper1<-glm(form,family="binomial",data=data.frame(a,y)) stepout<-step(lower1,scope=list(lower=lower1,upper=upper1),direction="forward",k=0,trace=100) # here is the error:Start: #AIC=689.62 #y ~ 1 #Error in data.frame(a, y) : object 'a' not found---but "a" is there! : : : } Sincerely samer yuan [[alternative HTML version de...