[R] regression on combinations of variables; was: R help

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Apr 7 18:32:01 CEST 2012



On 07.04.2012 17:27, kebrab67 wrote:
> I have a 11*1562 set of data. I want to regress using ols all combination of
> the ten variables on the eleventh. Store the results of the t test of each
> regression and the r2 to compare which combination is better. the
> combination can use any amount o variables. How can I do that in R?

Yes, sure.

For your next post, please do read te posting guide and use a sensible 
subject line.

Uwe Ligges


>
> --
> View this message in context: http://r.789695.n4.nabble.com/R-help-tp4539571p4539571.html
> Sent from the R help mailing list archive at Nabble.com.
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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