

Dear All R users:


I am teaching a statistical class. Can someone help me to write an R code to
compare two regression lines. 

More specific, test the equality of slopes and
Y-intercepts (elevations). Please use this example of data.







Data for line 1:

============

 

X1<-c(25, 50, 100, 200, 400)

Y1<-c(77.7, 78, 64.3, 59.7, 51.2)

 

 

Data for line 2:

============

 

X2<-c(25, 50, 100, 200)

Y2<-c(77.7, 52.3, 23.7, 6)

 

 

With many thanks

Ali


	[[alternative HTML version deleted]]

