[R] multiple variables Y and X

From: Rosario Garcia Gil <M.Rosario.Garcia_at_slu.se>
Date: Mon, 04 Apr 2011 08:58:45 +0200


Hello

I have a model with several hundred Y variables, and also several 1000 X variables. The model is linear lm(Y ~ X). My questions are:

1.- how to avoid writing all Xs variables? is list() the right function?

2.- about the multiple Ys with dependence among some of them, how to incorporate that information in the linear model?

Thank you

Rosario



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. Received on Mon 04 Apr 2011 - 07:48:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Apr 2011 - 09:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive