BackHypothesis Testing for Population Proportions and Means
Study Guide - Smart Notes
Tailored notes based on your materials, expanded with key definitions, examples, and context.
Testing Hypothesis About Population
Definition of Hypothesis
A hypothesis is a conjecture about the nature of a population. In statistics, hypotheses are usually stated in terms of a parameter, such as the population mean (μ) or population proportion (p).
Population proportion:
Population mean:
Proportion favoring candidate:
Definition of Test of Hypothesis
A test of hypothesis is a statistical procedure used to make a decision about the conjectured value of a population parameter. This involves collecting sample data and determining whether the observed data contradicts the hypothesis.
Null and Alternative Hypotheses
Null hypothesis (): Specifies the value of the population parameter. The experiment is conducted to determine if the sample data contradicts $H_0$.
Alternative hypothesis (): Gives an opposing conjecture to . The experiment tests whether the sample data supports $H_a$.
Example Applications
Medical Test: Comparing a new cancer screening method to an existing one (e.g., does the new method detect cancer in a higher proportion of patients?).
Market Research: Testing if the proportion of orange juice drinkers preferring a brand is less than a claimed value.
Clinical Study: Determining if the proportion of patients with psychosomatic illnesses has changed from a historical value.
Key Concepts in Hypothesis Testing
Observed Significance Level (p-value)
The p-value is the probability of obtaining the observed value of the sampled statistic, or a value more supportive of the alternative hypothesis, assuming the null hypothesis is true.
For vs , p-value is the probability of getting a sample proportion greater than or equal to the observed value.
For vs , p-value is the probability of getting a sample proportion less than or equal to the observed value.
For vs , p-value depends on whether the sample statistic is less than or greater than the claimed value.
Test Statistic
A test statistic is a quantity calculated from the sample data and used to compute the p-value. For testing a population proportion, the test statistic is:
Where:
= sample proportion
= hypothesized population proportion
= sample size
Decision Rule
The decision rule specifies when to reject the null hypothesis. Typically:
Accept the alternative hypothesis if the p-value is less than the significance level .
Common significance level:
Reject if p-value <
The Elements of a Test of Hypothesis
Element | Description |
|---|---|
1. Null hypothesis () | Statement about the population parameter |
2. Alternative hypothesis () | Opposing statement to |
3. Decision rule | Criteria for accepting/rejecting |
4. Test statistic | Calculated value from sample data |
5. p-value | Probability of observed result under |
6. Interpretation | Conclusion based on the test |
Identifying a z-Test of Hypothesis About p
The population of interest contains qualitative data. The parameter of interest is the population proportion .
The experimental objective is to determine if sampled data supports the claim that is greater than, less than, or not equal to some hypothesized number.
A large, random sample of data is collected and the sample proportion is calculated.
Elements of a z-Test of Hypothesis About μ
Define the parameter μ in the context of the test.
State the hypotheses:
, , or
Decision Rule: Reject if p-value <
Test Statistic:
Calculate p-value, make decision, and interpret results.
Types of Errors in Hypothesis Testing
Type I error: Concluding that the alternative hypothesis is true when in fact the null hypothesis is true. Probability of Type I error is (significance level).
Type II error: Concluding that the null hypothesis is true when in fact the alternative hypothesis is true. Probability of Type II error is .
Example: Restaurant Survey
An entrepreneur wants to know if more than 15% of local residents are interested in a new restaurant. Survey of 500 people: 90 express interest.
State hypotheses:
Type I error: Opening the restaurant when it will not be successful.
Type II error: Not opening the restaurant when it would have been successful.
Choice of affects risk of errors; lower $α$ reduces risk of Type I error.
Example: Online Purchases by Graduate Students
Claim: 60% of graduate students have made online purchases. Consumer group suspects the proportion is less than 60%.
Sample: 80 graduate students; 44 have made online purchases.
Parameter of interest: (proportion of graduate students who have made online purchases)
Hypotheses:
Decision rule: Reject if p-value <
Test statistic:
Calculate p-value, make decision, and interpret results.
Possible error: Type I error (concluding proportion is less than 60% when it is not).
Confidence Interval for a Proportion
To estimate the proportion with 95% confidence:
Formula:
is the critical value for the desired confidence level (for 95%, )
Plug in sample values to calculate lower and upper limits.
Interpretation: The interval gives a range of plausible values for the population proportion.
Additional info: Some context and formulas have been expanded for clarity and completeness.