Title: HYPOTHESIS TESTING WITH ONE SAMPLE
1HYPOTHESIS TESTING WITH ONE SAMPLE
2Overview
3Applications of Inferential Statistics
- Estimate the value of a population parameter.
- Test some claim (or hypothesis) about a
population.
4Definitions
- In statistics, a hypothesis is a claim or
statement about a property of a population. - A hypothesis test (or test of significance) is a
standard procedure for testing a claim about a
property of a population.
5Rare Event Rule for Inferential Statistics
- If, under a given assumption, the probability of
a particular event observed is exceptionally
small, we conclude that the assumption is
probably not correct.
6Hypothesis Testing
7Basics of Hypothesis Testing
8Hypothesis Testing
- State the claim (in words).
- State the null and alternative hypotheses.
- Obtain the test statistic and p-value.
- Determine One-tail/Two-tail test, obtain critical
value(s). - Reject/Fail to reject H0.
- State conclusion (in words).
9Definitions
- The null hypothesis (denoted by H0) is a
statement that the value of a population
parameter (such as proportion, mean, or standard
deviation) is EQUAL to some claimed value. - The alternative hypothesis (denoted by H1 or Ha)
is the statement that the parameter has a value
that somehow DIFFERS from the null hypothesis.
10Stating the Hypotheses
11Definition
- The test statistic is a value computed from the
sample data, and it is used in making the
decision about the rejection of the null
hypothesis.
12Test Statistics
- Test statistic for proportion
- Test statistic for mean or
- Test statistic for standard deviation
13Definitions
- The critical region (or rejection region) is the
set of all values of the test statistic that
cause us to reject the null hypothesis. - The significance level (denoted by ) is the
probability that the test statistic will fall in
the critical region when the null hypothesis is
actually true. Common choices for are 0.05,
0.01, and 0.10. - A critical value is any value that separates the
critical region (where we reject the null
hypothesis) from the values of the test statistic
that do not lead to rejection of the null
hypothesis.
14Critical Values
15Definitions
- The tails in a distribution are the extreme
regions bounded by the critical values. - Two-tailed test The critical region is in the
two extreme regions (tails) under the curve. - Left-tailed test The critical region is in the
extreme left region (tail) under the curve. - Right-tailed test The critical region is in the
extreme right region (tail) under the curve.
16One-tail vs. Two-tail Test
17Definition
- The P-value (or p-value or probability value) is
the probability of getting a value of the test
statistic that is at least as extreme as the one
representing the sample data, assuming the null
hypothesis is true.
18P-values
19Decision Criterion
- Traditional Method Reject H0 if the test
statistic falls within the critical region. Fail
to reject H0 if the test statistic does not fall
within the critical region. - P-value Method Reject H0 if P-value
(where is the significance level). Fail to
reject H0 if P-value .
20Wording Conclusions
21Hypothesis Testing
- State the claim (in words).
- State the null and alternative hypotheses.
- Obtain the test statistic and p-value.
- Determine One-tail/Two-tail test, obtain critical
value(s). - Reject/Fail to reject H0.
- State conclusion (in words).
22Type I Type II Error
23Definitions
- Type I Error The mistake of rejecting the null
hypothesis when it is actually true. The symbol
(alpha) is used to represent the probability of
a Type I error. - Type I Error The mistake of failing to reject
the null hypothesis when it is actually false.
The symbol (beta) is used to represent the
probability of a type II error.
24Notation
- (alpha) probability of a type I error (the
probability of rejecting the null hypothesis when
it is true) - (beta) probability of a type II error
(failing to reject a false null hypothesis)
25Definition
- The power of a hypothesis test is the
probability of rejecting a false null
hypothesis, which is computed by using a
particular significance level , a particular
sample size n, a particular assumed value of the
population parameter (used in the null
hypothesis), and a particular value of the
population parameter that is an alternative to
the value assumed in the null hypothesis.
26Testing a Claim about a Proportion
27Hypothesis Testing
28Testing Claims About a Population Proportion P
- Requirements
- The sample observations are a simple random
sample. - The conditions for a binomial distribution are
satisfied. - The conditions and are both
satisfied, so the binomial distribution of sample
proportions can be approximated by a normal
distribution with and
.
29Testing Claims About a Population Proportion P
(continued)
- Notation
- n sample size or number of trials
- (sample proportion)
- P population proportion (used in the null
hypothesis) - q 1 p
- Test Statistic for Testing a Claim About a
Proportion
30Testing Claims About a Population Proportion P
(continued)
- P-values Use the standard normal distribution.
- Critical values Use the standard normal
distribution.
31Testing Claims About a Population Proportion P
Using the Calculator
- 1-PropZTestp0 is the assumed population
proportion (from the null hypothesis)x is the
number of successesn is the number of trials
(sample size)
32Hypothesis Testing
- State the claim (in words).
- State the null and alternative hypotheses.
- Obtain the test statistic and p-value.
- Determine One-tail/Two-tail test, obtain critical
value(s). - Reject/Fail to reject H0.
- State conclusion (in words).
33Example
- In Mendels work on the transmission of visible
traits in pea plants, one experiment he performed
yielded 8023 seeds, 6022 of which were yellow and
2001 of which were green. Using a 0.05 level of
significance, test the claim that the proportion
of seeds that are yellow is 0.75.
34Testing a Claim About a MeanKnown
35Hypothesis Testing
36Testing Claims About a Population Mean (with
Known)
- Requirements
- The sample is a simple random sample.
- The value of the population standard deviation
is known. - Either or both of these conditions is satisfied
- The population is normally distributed, or
-
- Test Statistic for Testing a Claim About a Mean
(with Known)
37Testing Claims About a Population Mean (with
Known)
- P-values Use the standard normal distribution.
- Critical values Use the standard normal
distribution.
38Testing Claims About a Population a Population
Mean (with Known) Using the Calculator
- Z-Test (using summary statistics) is the
assumed population mean (from the null
hypothesis) is the given population standard
deviation is the sample meann is the sample
size
39Testing Claims About a Population a Population
Mean (with Known) Using the Calculator
- Z-Test (using the data) is the assumed
population mean (from the null hypothesis) is
the given population standard deviationList is
the list name containing the dataFreq is the
frequency of the data elements
40Hypothesis Testing
- State the claim (in words).
- State the null and alternative hypotheses.
- Obtain the test statistic and p-value.
- Determine One-tail/Two-tail test, obtain critical
value(s). - Reject/Fail to reject H0.
- State conclusion (in words).
41Example
- The health of the bear population in Yellowstone
National Park is monitored by periodic
measurements taken from anesthetized bears. A
sample of 54 bears has a mean weight of 182.9 lb.
Assuming that the population standard deviation
is known to be 121.8 lb, use a 0.10 significance
level to test the claim that the population mean
of all such bear weights is less than 200 lb.
42Testing a Claim About a Mean Not Known
43Hypothesis Testing
44Testing Claims About a Population Mean (with
Not Known)
- Requirements
- The sample is a simple random sample.
- The value of the population standard deviation
is not known. - Either or both of these conditions is satisfied
- The population is normally distributed, or
-
- Test Statistic for Testing a Claim About a Mean
(with Not Known)
45Testing Claims About a Population Mean (with
Known) (continued)
- P-values and critical values Use Table A-3 and
df n 1 for the number of degrees of freedom.
46Testing Claims About a Population a Population
Mean (with Unknown) Using the Calculator
- T-Test (using summary statistics) is the
assumed population mean (from the null
hypothesis) is the sample meanSx is the
sample standard deviation n is the sample size
47Testing Claims About a Population a Population
Mean (with Unknown) Using the Calculator
- T-Test (using the data) is the assumed
population mean (from the null hypothesis)List
is the list name containing the dataFreq is the
frequency of the data elements
48Reminder
- Use the Student t distribution when is not
know and either or both of these conditions is
satisfied - The population is normally distributed, or
-
49Hypothesis Testing
- State the claim (in words).
- State the null and alternative hypotheses.
- Obtain the test statistic and p-value.
- Determine One-tail/Two-tail test, obtain critical
value(s). - Reject/Fail to reject H0.
- State conclusion (in words).
50Example
- Researchers are investigating the possibility of
using drug therapy to treat hypertension. The
data below represent the systolic blood pressure
(in mmHg) of 14 patients. Assuming the normality
of systolic blood pressures, test the claim that
the mean systolic blood pressure of patients
undergoing drug therapy for hypertension is less
that 165 mmHG.
51Testing a Claim about a Standard Deviation or
Variance
52Hypothesis Testing
53Testing Claims About or
- Requirements
- The sample is a simple random sample.
- The population has a normal distribution.
- Test Statistic for Testing a Claim About
or - P-values and Critical values Use Table A-4 with
df n 1 for the number of degrees of freedom.
54Testing Claims About or
- P-values Estimate using Table A-4 with df n
1 for the number of degrees of freedom or use
calculator with . - Right-Tail Testp-Value (test
statistic, 1000, df) - Left-Tail Testp-Value (0, test
statistic, df) - Two-Tail Testp-Value 2 (test
statistic, 1000, df) ifp-Value 2
(0, test statistic, df) if
55Hypothesis Testing
- State the claim (in words).
- State the null and alternative hypotheses.
- Obtain the test statistic and p-value.
- Determine One-tail/Two-tail test, obtain critical
value(s). - Reject/Fail to reject H0.
- State conclusion (in words).
56Example
- Researchers wanted to measure the effectiveness
of recombinant human growth hormone (rhGH) on
children with total body surface area burns gt 40
percent. In the study, 16 subjects received daily
injections at home of rhGH. At baseline, the
researchers wanted to know the current levels of
insulin-like growth factor (IGF-I) prior to
administrations of rhGH. The sample variance of
IGF-I levels (in ng/ml) was 670.81. Assuming that
the sample constitutes a simple random sample,
and that the IGF-I levels are normally
distributed, test the claim the the population
variance is not 600.