12.7 Testing Hypotheses about img and img

How do we know that X and Y are truly linearly related? Looked at in another fashion, how do we know that X actually contributes significantly to the prediction of Y? Answers to these questions can be garnered by way of testing a particular null hypothesis against an appropriate alternative hypothesis.

The most common type of hypothesis test is that of “no linear relationship between X and Y” or img, that is, the conditional mean of Y given X does not depend linearly on X. Hence the implied null hypothesis of “no linear relationship between X and Y” is img. Possible alternative hypotheses are:

a. If we are uncertain about the relationship between X and Y (we have no clue as to whether or not these variables vary directly or inversely), then the appropriate alternative hypothesis is img. Clearly, this alternative implies a two-tail test with img. If we reject H0 in ...

Get Statistical Inference: A Short Course now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.