I'm new to R and I'm not a Statistician I'm an Accountant, but I'm finding it an excellent tool for the business analysis work I do.
I need to run LM() where both response and predictor are held in matrices. The model follows the form:- regression1 = matrix1.col1 <-> matrix2.col1 regression2 = matrix1.col2<->matrix2.col2 and so on...... I have no problem with the multivariate response but I can't get the function to recognise a tabular predictor. Is this possible without using a loop ? -- View this message in context: http://r.789695.n4.nabble.com/Linear-regression-using-matrices-tp4260945p4260945.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.