Displaying 1 result from an estimated 1 matches for "ch1w0281".
2005 Jul 01
1
scope argument in step function
...;)))
> step(fit.0,scope=list(upper=fmla,lower=~1),data=ds3)
Start: AIC= -32.66
Response ~ 1
> fmla <- as.formula(paste(" ~ ",paste(cnames,collapse="+")))
> fit.s <- step(fit.0,scope=list(upper=fmla,lower=~1),data=ds3)
Step: AIC= -Inf
Response ~ ENTP9324 + CH1W0281
Df Sum of Sq RSS AIC
<none> 0 -Inf
- CH1W0281 3 0.00381 0.00381 -115
- ENTP9324 9 1 1 -34
The dataframe ds3 is 17 by 444 and I understand it is not smart thing to run stepwise regression. What I wondered is if I pass the 'upper=~...