Iain Pardoe

Applied Regression Modeling


Скачать книгу

the p‐value is too “small,” then this suggests that it seems unlikely that the null hypothesis could have been true—so we reject it in favor of the alternative. Otherwise, the t‐statistic could well have arisen while the null hypothesis held true—so we do not reject it in favor of the alternative. Again, the significance level chosen tells us how small is small: If the p‐value is less than the significance level, then reject the null in favor of the alternative; otherwise, do not reject it. For the home prices example (see computer help #24 in the software information files available from the book website):

       State null hypothesis: : .

       State alternative hypothesis: : .

       Calculate test statistic: .

       Set significance level: 5%.

       Look up p‐value: The area to the right of the t‐statistic (2.40) for the t‐distribution with 29 degrees of freedom is less than 0.025 but greater than 0.01 (since from Table C.1 the 97.5th percentile of this t‐distribution is 2.045 and the 99th percentile is 2.462); thus, the upper‐tail p‐value is between 0.01 and 0.025.

       Make decision: Since the p‐value is between 0.01 and 0.025, it must be less than the significance level (0.05), so we reject the null hypothesis in favor of the alternative.

       Interpret in the context of the situation: The 30 sample sale prices suggest that a population mean of seems implausible—the sample data favor a value greater than this (at a significance level of 5%).

      To conduct an upper‐tail hypothesis test for a univariate mean using the p‐value method.

       State null hypothesis: : .

       State alternative hypothesis: : .

       Calculate test statistic: . (In most cases, this should be a positive number.)

       Set significance level: %.

       Look up p‐value in Table C.1: Find which percentiles of the t‐distribution with degrees of freedom are either side of the t‐statistic; the p‐value is between the corresponding upper‐tail areas.

       Make decision: If , then reject the null hypothesis in favor of the alternative. Otherwise, fail to reject the null hypothesis.

       Interpret in the context of the situation: If we have rejected the null hypothesis in favor of the alternative, then the sample data suggest that a population mean of seems implausible—the sample data favor a value greater than this (at a significance level of %). If we have failed to reject the null hypothesis, then we have insufficient evidence to conclude that the population mean is greater than .

      For a lower‐tail test, everything is the same except:

       Alternative hypothesis: : .

       In most cases, the should be a negative number.

       p‐value: Find which percentiles of the t‐distribution with degrees of freedom are either side of the t‐statistic; the p‐value is between the corresponding lower‐tail areas.

       Alternative hypothesis: : .

       The could be positive or negative.

       p‐value: Find which percentiles of the t‐distribution with degrees of freedom are either side of the t‐statistic; p‐value/2 is between the corresponding upper‐tail areas (if the is positive) or lower‐tail areas (if the is negative). Thus, the p‐value is between the corresponding tail areas multiplied by two.

Graph depicts the home prices example, density curve for the t-distribution with 29 degrees of freedom, together with the critical value of 1.699 corresponding to a significance level of 0.05, as well as the test statistic of 2.40 corresponding to a p-value less than 0.05. Graphs depict the relationships between critical values, significance levels, test statistics, and p-values for one-tail hypothesis tests. Graphs depict the relationships between critical values, significance levels, test statistics, and p-values for two-tail hypothesis tests.