Re: [R] Comparing two regression line slopes

2009-04-15 Thread Arien Lam
Benedikt, Is this homework? Let's see, the same question as last week, when Eik Vetorazzi showed you how to interpret the test value. The significance of this test depends on your pre-specified alpha. Don't rely on an arbitrary value of 0.05. It would be a good idea to do some reading (any introdu

Re: [R] Comparing two regression line slopes

2009-04-15 Thread Alain Guillet
Hello benedikt, You say the slopes differ significantly if the p-value is less than a given threshold, most of the time 0.05. Please, note that fitting a linear regression through three points is senseless... Regards, Alain Benedikt Niesterok wrote: Hello R users, I've used the following

[R] Comparing two regression line slopes

2009-04-15 Thread Benedikt Niesterok
Hello R users, I've used the following help: > "Comparing two regression line slopes" > I knew the method based on the following statement : > t = (b1 - b2) / sb1,b2 > where b1 and b2 are the two slope coefficients and sb1,b2 the pooled > standard error of the slope (b) > > which can be calcula