[R] Comparing Points on Two Regression Lines

2009-03-30 Thread AbouEl-Makarim Aboueissa
Dear R users: Suppose I have two different response variables y1, y2 that I regress separately on the different explanatory variables, x1 and x2 respectively. I need to compare points on two regression lines. These are the x and y values for each lines. x1<-c(0.5,1.0,2.5,5.0,10.0) y1<-c(204,4

Re: [R] Comparing Points on Two Regression Lines

2009-03-30 Thread John Fox
Dear Abu, I'm not sure why you're addressing this question to me. It's unclear from your description whether there is one sample with four variables or two independent samples with the same two variables x and y. I'll assume the latter. The formula that you sent appears to assume equal error v