Applied Regression Modeling. Iain Pardoe

Чтение книги онлайн.

Читать онлайн книгу Applied Regression Modeling - Iain Pardoe страница 21

Applied Regression Modeling - Iain Pardoe

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

up critical value in Table C.1: The th percentile of the t‐distribution with degrees of freedom; the rejection region is any t‐statistic greater than this.

       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.

       Critical value: The th percentile of the t‐distribution with degrees of freedom; the rejection region is any t‐statistic less than this.

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

       Alternative hypothesis: : .

       The could be positive or negative.

       Critical value: The th percentile of the t‐distribution with degrees of freedom; the rejection region is any t‐statistic greater than this or less than the negative of this.

      

      1.6.2 The p‐value method

      An alternative way to conduct a hypothesis test is to again assume initially that the null hypothesis is true, but then to calculate the probability of observing a t‐statistic as extreme as the one observed or even more extreme (in the direction that favors the alternative hypothesis). This is known as the p‐value (sometimes also called the observed significance level):

      1 – For an upper‐tail test, the p‐value is the area under the curve of the t‐distribution (with degrees of freedom) to the right of the observed t‐statistic.

      2 – For a lower‐tail test, the p‐value is the area under the curve of the t‐distribution (with degrees of freedom) to the left of the observed t‐statistic.

      3 – For a two‐tail test, the p‐value is the sum of the areas under the curve of the t‐distribution (with degrees of freedom) beyond both the observed t‐statistic and the negative of the observed t‐statistic.

       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.

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