StatsFilter: What's the slope? A linear regression problem the textbooks can't (won't) answer!
August 1, 2007 9:23 PM
Subscribe
StatsFilter: What's the slope? A linear regression problem the textbooks can't (won't) answer!
Say I have a linear regression of the form: Y = a + b1 X + b2 X^2.
Let's also say that b1 > 0 and b2 < 0. what is the proper way to test the null hypothesis dy / dx> 0?
NOTE: dY / dX = b1 + (2 * b2 * X). I don't think the simple t-test that the stats package spits out will answer the question correctly.
NOTE: If it helps, the estimated coefficient on b1 is approximately 10 times larger than the estimated coefficient on b2.
No, this isn't a homework assignment--this is real life!
Bonus points for citing a source.>
posted by GarageWine to science & nature (11 comments total)
1 user marked this as a favorite
Yeah, but this means that either the slope is negative and then positive, or positive and then negative. Somewhere, it's significantly positive, and somewhere else it's significantly negative, irrespective of what your coefficients are and irrespective of what your standard errors are, since you can run the slope out to ~ + or - infinity if you feel like it.
If you want to test whether the slope of the relationship is positive or negative within your data or in the general neighborhood of your data, why not just run the regression without the polynomial term?
If you're after the more general question of "Does this variable have any effect?" then you probably want to run a joint F-test over b1 and b2.
(NB: my general approach to all this tends to value practicality of inference over methodological purity)
posted by ROU_Xenophobe at 10:14 PM on August 1, 2007