Re: [R] Bivariate normal regression in R

2011-08-25 Thread Viechtbauer Wolfgang (STAT)
--- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Dimitris Rizopoulos > Sent: Thursday, August 25, 2011 20:28 > To: DHIMAN BHADRA > Cc: r-help@r-project.org > Subject: Re: [R] Bivariate normal regression in R > > One possibility is func

Re: [R] Bivariate normal regression in R

2011-08-25 Thread Dimitris Rizopoulos
One possibility is function gls() from package nlme. Best, Dimitris On 8/25/2011 8:22 PM, DHIMAN BHADRA wrote: Hello everyone, I need to fit a bivariate normal regression model to a dataset where the same covariate (say, X) influences two separate but correlated responses (say, Y1 and Y2). So

[R] Bivariate normal regression in R

2011-08-25 Thread DHIMAN BHADRA
Hello everyone, I need to fit a bivariate normal regression model to a dataset where the same covariate (say, X) influences two separate but correlated responses (say, Y1 and Y2). So, the bivariate model would look like : Y1 = a1 + b1*X + e1 Y2 = a2 + b2*X + e2 where e1 and e2 are error terms wh