mlm Questions
1
I have to fit a linear model with the same model matrix to multiple responses. This can be easily done in R by specifying the response as matrix instead of a vector. Computation is very fast in thi...
Alterant asked 8/3, 2013 at 9:58
2
Solved
I've used lm() to fit multiple regression models, for multiple (~1 million) response variables in R. Eg.
allModels <- lm(t(responseVariablesMatrix ~ modelMatrix)
This returns an object of cla...
Waves asked 6/3, 2013 at 17:55
1
Solved
I am new to R and I want to improve the following script with an *apply function (I have read about apply, but I couldn't manage to use it). I want to use lm function on multiple independent variab...
Alongside asked 1/9, 2016 at 4:3
1
© 2022 - 2024 — McMap. All rights reserved.