Skip to content
Prev 255694 / 398503 Next

multiple variables Y and X

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