Comprehensive Guide to Hypothesis Testing: Critical Value and P-Value Methods
Foundations of Hypothesis Testing
Fundamental Requirements for Running a Hypothesis Test:
- Sample data collected randomly from the population under study.
- A worded claim, typically presented in a problem statement or narrative paragraph, which must be converted into symbolic form.
- A defined null hypothesis and alternative hypothesis.
- Identification of which hypothesis represents the claim.
- A statistical test (test formula) appropriate for the parameter and conditions being analyzed.
The Hypotheses and the Claim:
- Null Hypothesis (): Always contains the equal sign (). It represents the statement of no effect, status quo, or the hypothesized parameter value.
- Alternative Hypothesis ( or ): Contains a directional or non-directional comparison symbol: strictly less than (), strictly greater than (), or not equal to ().
- Locating the Claim:
- The claim can reside in either the null hypothesis or the alternative hypothesis depending on the wording of the problem.
- If the statement specifies that a parameter "is equal to" or simply "is" a certain value, the claim is the null hypothesis ().
- If the statement specifies that a parameter is "greater than", "less than", or "different from" (not equal to) a certain value, the claim is the alternative hypothesis ().
The Test Statistic and Decision Rationale:
- A statistical test generates a single calculated numerical value termed the test statistic.
- The formula directly compares the hypothesized population parameter to the observed sample statistic.
- If the difference between the observed sample statistic and the hypothesized parameter is small, it is considered non-significant and attributable to chance, leading to the decision to fail to reject the null hypothesis.
- If the difference between what is observed in the sample and what is hypothesized is large enough to be statistically significant, the decision is to reject the null hypothesis.
The Analogy of the Null and Alternative Hypotheses:
- The null hypothesis can be conceptualized as an existing spouse (the husband), representing the established status quo.
- The alternative hypothesis represents an outside party (the boyfriend).
- To accept or support the alternative hypothesis, one must first "divorce" (reject) the null hypothesis.
- As long as the null hypothesis is maintained (failed to be rejected), one cannot move to support the alternative hypothesis.
Critical Values, Critical Regions, and Decision Rules
Definitions of Regions and Thresholds:
- Critical Value: A specific cutoff score (such as a standard normal -score) that separates the rejection region from the non-rejection region. Critical values reside in the tails of the distribution and never in the center.
- Critical Region (Rejection Region): The extreme tail area under the standard normal distribution curve. When a calculated test statistic falls within this region, the difference is statistically significant, requiring rejection of the null hypothesis ().
- Noncritical Region (Non-rejection Region): The central area of the distribution between the critical boundaries. When a calculated test statistic falls within this region, the difference is small and attributable to chance, requiring failure to reject the null hypothesis ().
Significance Level ():
- The Greek letter alpha () represents the significance level.
- Mathematically, represents both the total area allocated to the critical rejection region(s) and the maximum allowable probability of committing a Type I error.
Types of Tests Based on Directionality:
- Right-Tailed Test:
- Occurs when the alternative hypothesis contains the greater-than symbol ().
- The entire area of is located in the extreme right tail of the standard normal distribution curve.
- The critical value is positive ().
- Critical values to the right identify outcomes that are significantly high.
- Left-Tailed Test:
- Occurs when the alternative hypothesis contains the less-than symbol ().
- The entire area of is located in the extreme left tail of the standard normal distribution curve.
- The critical value is negative ().
- Critical values to the left identify outcomes that are significantly low.
- Two-Tailed Test:
- Occurs when the alternative hypothesis contains the not-equal symbol ().
The area of is divided equally between the two tails ( in the left tail and in the right tail).
Yields two distinct critical values symmetric about the mean: and .
Procedures for Finding Critical Values Using StatCrunch
Accessing the Normal Distribution Calculator:
- Navigation path: Select
StatCalculatorsNormal. - The standard normal distribution defaults to a mean of and a standard deviation of .
- Navigation path: Select
Left-Tailed Test Configuration:
- Set the inequality sign in the calculator to less than or equal to ().
- Enter the significance level value () into the area/probability box on the right side of the equals sign.
- Click
Compute. - The calculator displays a negative critical -value.
Right-Tailed Test Configuration:
- Set the inequality sign in the calculator to greater than or equal to ().
- Enter the significance level value () into the area/probability box.
- Click
Compute. - The calculator displays a positive critical -value.
Two-Tailed Test Configurations (Two Alternative Methods):
- Method 1 (Between Mode):
- Select the
Betweenoption in the Normal Calculator. - Calculate the central area: .
- For example, if , compute .
- Enter the central area () into the area box and click
Compute. - The calculator immediately generates both the negative and positive critical values ( and ).
- Method 2 (Tail Division Mode):
- Divide the significance level by two: .
- For an alpha of , the split tail area is (noting that ).
- Enter the divided tail area into the probability box for either the left tail () or right tail ().
- The resulting magnitude provides the paired critical values: .
Decision Making and Types of Errors
Connection Between Decision and Conclusion:
- When the claim is the alternative hypothesis ():
- If the decision is to reject , there is sufficient evidence to support the claim.
- If the decision is to fail to reject , there is not enough evidence to support the claim.
- When the claim is the null hypothesis ():
- If the decision is to reject , there is sufficient evidence to reject the claim.
- If the decision is to fail to reject , there is not enough evidence to reject the claim.
Classification of Errors in Hypothesis Testing:
- Type I Error:
- Occurs when the null hypothesis () is rejected when it is actually true.
- If an analysis results in rejecting , the only potential error that could be made is a Type I error.
- Type II Error:
- Occurs when failing to reject the null hypothesis () when it is actually false.
- If an analysis results in failing to reject , the only potential error that could be made is a Type II error.
Traditional Method: Hypothesis Testing for the Mean ( Known)
Conditions and Assumptions:
- The population standard deviation () must be known.
- The sample size must be greater than thirty (), or the underlying population variable must be normally distributed.
The Test Statistic Formula:
- The test statistic is calculated as:
Where:
= Sample mean
= Hypothesized population mean stated in
= Population standard deviation
= Sample size
The Five-Step Traditional Hypothesis Testing Framework:
Step 1: State the null and alternative hypotheses in symbolic form and identify the claim.
Step 2: Find the critical value(s) from the standard normal distribution using and the directionality of the test.
Step 3: Compute the test statistic using the statistical formula.
Step 4: Make the decision to reject or fail to reject the null hypothesis by comparing the test statistic to the critical value(s).
Step 5: Formulate the non-technical conclusion addressing the original claim.
Example 1: Right-Tailed Test (Automobile Dealership Lot Duration)
Problem Statement:
- A researcher wishes to see if the mean number of days that a basic, low-price small automobile sits on a dealer lot is greater than days.
- A sample of automobiles has a mean of days.
- The population standard deviation is days.
- Test the claim at .
Step-by-Step Analysis:
- Step 1: State Hypotheses and Identify Claim:
- (Claim)
- This represents a right-tailed test.
- Step 2: Determine Critical Value:
- Right-tailed test with .
- Placing all area () in the right tail of the standard normal distribution yields a critical value of .
- Critical region: Any test statistic value .
- Step 3: Compute Test Statistic:
- Hypothesized mean
- Sample mean
- Population standard deviation
- Sample size
- Computation:
Step 4: Make Decision:
- The test statistic is less than the critical value .
- The value falls in the noncritical (non-rejection) region.
- Decision: Fail to reject the null hypothesis ().
Step 5: State Conclusion:
There is not enough evidence to support the claim that the mean number of days a low-price small automobile sits on the lot is greater than days.
Potential error: Because was not rejected, the possible error committed is a Type II error.
StatCrunch Implementation:
Path:
StatZ StatsOne SampleWith Summary.Input values:
Sample mean:Standard deviation:Sample size:Perform:Hypothesis test for muH_0: mu =:H_a: mu >:
Output: Reports .
Example 2: Left-Tailed Test Setup
General Principles of a Left-Tailed Test:
- The claim indicates that a mean is less than a hypothesized value ().
- Null hypothesis:
- Alternative hypothesis: (Claim).
- Significance level used in example: .
Critical Region and Test Statistic Characteristics:
- All of the area is dumped into the far left tail of the normal distribution.
- The resulting critical value is negative.
- For a left-tailed test, both the critical value and the relevant rejection test statistics reside on the negative side of zero.
Decision and Conclusion Dynamics:
- If the calculated test statistic is smaller (more negative) than the critical value, it falls directly into the critical region.
- Decision: Reject the null hypothesis ().
- Conclusion: Because is rejected and the claim is in the alternative hypothesis (), there is sufficient evidence to support the claim.
- Potential error: Because was rejected, the possible error committed is a Type I error (rejecting when it is true).
Example 3: Two-Tailed Test (Stroke Rehabilitation Cost)
Problem Statement:
- The Medical Rehabilitation Education Foundation reports that the average cost of rehabilitation for stroke victims is \twentyfourthousand six hundred seventy-two dollars ().
- To see if the average cost of rehabilitation is different at a particular hospital, a researcher selects a random sample of stroke victims at the hospital and finds that the average cost of their rehabilitation is \twentysix thousand three hundred forty-three dollars ().
- The standard deviation of the population is \threethousand two hundred fifty-one dollars ().
- At , can it be concluded that the average cost of stroke rehabilitation at this particular hospital is different from ?
Step-by-Step Analysis:
- Step 1: State Hypotheses and Identify Claim:
- The phrase "different from" denotes a non-directional difference ().
(Claim)
- This represents a two-tailed test.
Step 2: Determine Critical Values:
- Significance level .
- Divide alpha equally into two tails: .
- Using the standard normal distribution, the critical values with an area of in each tail are and .
- Critical regions: or .
Step 3: Compute Test Statistic:
- Hypothesized mean
- Sample mean
- Population standard deviation
- Sample size
- Computation:
Step 4: Make Decision:
- The test statistic is greater than the positive critical value of .
- The value falls in the upper critical (rejection) region.
- Decision: Reject the null hypothesis ().
Step 5: State Conclusion:
There is sufficient evidence to support the claim that the average cost of rehabilitation for stroke victims at the particular hospital is different from .
StatCrunch Implementation:
Path:
StatZ StatsOne SampleWith Summary.Inputs:
Sample mean:Standard deviation:Sample size:Hypothesis test:H_0: mu = 24672,H_a: mu != 24672
Output: Displays test statistic .
The P-Value Method for Hypothesis Testing
Conceptual Definition of P-Value:
- The P-value (probability value) is the probability of obtaining a sample test statistic as extreme as, or more extreme than, the observed test statistic, assuming that the null hypothesis is true.
- Graphically, it is the tail area extending from the test statistic outward to the extreme end of the distribution curve.
Comparison Rule for P-Value versus Alpha ():
- If , reject the null hypothesis ().
- If , fail to reject the null hypothesis ().
Traditional Method vs. P-Value Method Comparison:
- The traditional method compares score metrics: the calculated test statistic (-score) versus the critical value (-score).
- The P-value method compares area/probability metrics: the calculated tail probability (-value) versus the significance level ().
Example 4: P-Value Method (College Tuition and Fees)
Problem Statement:
- A researcher wishes to test the claim that the average cost of tuition and fees at a four-year college is greater than \fivethousand seven hundred dollars ().
- A random sample of students has a mean of \fivethousand nine hundred fifty dollars ().
- The population standard deviation is \sixhundred fifty-nine dollars ().
- Is there evidence to support the claim at ?
Step-by-Step Analysis:
- Step 1: State Hypotheses and Identify Claim:
- (Claim)
- Direction: Right-tailed test.
- Step 2: Compute Test Statistic:
- Hypothesized mean
- Sample mean
- Population standard deviation
- Sample size
- Computation:
Step 3: Determine the P-Value:
- Because it is a right-tailed test, the P-value corresponds to the probability of obtaining a -score greater than or equal to : .
- In the standard normal calculator, evaluating the area to the right of yields an area of .
- .
Step 4: Make Decision by Comparing P-Value to :
- Given .
- .
- Because (), the decision is to reject the null hypothesis ().
Step 5: State Conclusion:
Because is rejected and the claim is the alternative hypothesis (), there is sufficient evidence to support the claim that the average cost of tuition and fees at a four-year college is greater than .
Comprehensive StatCrunch Execution for Test Statistic and P-Value:
Navigation:
StatZ StatsOne SampleWith Summary.Parameter entries:
Sample mean:Standard deviation:Sample size:Hypothesis test:H_0: mu = 5700,H_a: mu > 5700
Output generated:
- Displays both the test statistic () and the exact simultaneously in a single results window.
Questions & Classroom Dialogue
Navigating to Critical Values in StatCrunch:
- Student Query / Classroom Prompt: Where in StatCrunch do we start and navigate to find critical values?
- Response: Navigate through
StattoCalculators, and selectNormal. Because critical values relate to the standard normal distribution, keep the mean at and standard deviation at .
Adjusting Tail Directions in Calculator:
- Classroom Prompt: For a left-tailed test, what setting needs to be adjusted in the Normal Calculator?
- Response: Ensure the inequality faces left () so that the tail area is to the left of the mean, yielding a negative critical value.
Identifying Claims in Sentence Structure:
- Student Query: How do we know the difference between when the claim is the alternative hypothesis versus when it is the null hypothesis?
- Response: Examine the specific wording in the problem statement. The claim is the alternative hypothesis if the statement specifies "greater than" (), "less than" (), or "different from / not equal to" (). If the statement specifies that the parameter "is equal to" or "is" a certain quantity with no direction indicated, then the claim is the null hypothesis ().
Interpreting Test Failure vs. Claim Support:
- Student Query: So if we fail to reject, we don't have enough evidence to support the claim? And vice versa, if we do reject, we do have enough evidence to support the claim?
- Response: Yes, exactly, whenever the claim is the alternative hypothesis (). If you fail to reject the null, you lack sufficient evidence to support your claim. If you reject the null, you have obtained sufficient evidence to support your claim.
Classroom Roster Exchange:
- Interaction Details: During the session, student reading assignments and attendance were verified, involving Logan, Trevor, Ryan, Hammond, Bradley Anderson, and Stella, regarding handwriting identification on the attendance record.