[R] Stepwise analysis with fixed variables

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Nov 19 11:04:46 CET 2012



On 19.11.2012 08:49, Einat wrote:
> Hello,
> How can I run a backward stepwise regression with part of the variables
> fixed, while the others participate in the backward stepwise analysis?
> Thank you, Einat

Read ?step and about its argument "scope" that can be a list with a 
"lower" component where you specify the minimal model.

Uwe Ligges

>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Stepwise-analysis-with-fixed-variables-tp4650015.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list