[R] multivariate regression

John Sorkin jsorkin at grecc.umaryland.edu
Fri Feb 4 14:23:39 CET 2011


Please help us help you. Follow the posting rules and send us a copy of your code and output.
John
John Sorkin
Chief Biostatistics and Informatics
Univ. of Maryland School of Medicine
Division of Gerontology and Geriatric Medicine
JSorkin at grecc.umaryland.edu 
-----Original Message-----
From: Deniz SIGIRLI <denizsigirli at hotmail.com>
To:  <r-help at r-project.org>

Sent: 2/4/2011 7:54:56 AM
Subject: [R] multivariate regression


How can I run multivariate linear regression in R (I have got 3 dependent variables and only 1 independent variable)? I tried lm function, but it gave different R2 and p values for every dependent variable. I need one R2 and p value for the model. 		 	   		  
	[[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.

Confidentiality Statement:
This email message, including any attachments, is for th...{{dropped:6}}



More information about the R-help mailing list