Docsity

Hypothesis Testing: Determining Statistical Significance and Errors, Exams of Statistics

Toggle sidebar
bg1
12. Introduction to Hypothesis Testing
The purpose of hypothesis testing is to determine whether there is enough statistical
evidence in favor of a certain belief about a parameter.
Examples
Is there statistical evidence in a random sample of potential customers that support
the hypothesis that more than p% of the potential customers will purchase new
products?
Is a new drug effective in curing a certain disease? A sample of patient is randomly
selected. Half of them are given the drug where half are given a placebo. The
improvement in the patients’ conditions is then measured and compared.
Concept of hypothesis testing
1. There are two hypotheses (about a population parameter(s))
0
H
- the null hypothesis
a
H
- the alternative (research) hypothesis
2. Assume the null hypothesis is true.
Build a statistic related to the parameter hypothesized.
Pose the question: How probable is it to obtain a statistic value at least as extreme as
the one observed from the sample?
3. Two types of errors are possible when making the decision whether to reject
0
H
Type I error
(significance level) - reject
0
H
when it is true.
Type II error
- do not reject
0
H
when it is false.
and
are inversely related.
4. Make one of the following two decisions (based on the test):
Reject the null hypothesis in favor of the alternative hypothesis.
Do not reject the null hypothesis in favor of the alternative hypothesis.
Testing the Population Mean When the Population Standard Deviation
is Known, Normal Case
The null hypothesis:
0
H
:
0
Possible alternatives:
a
H
:
0
a
H
:
0
a
H
:
0
1
pf3
pf4

Partial preview of the text

Download Hypothesis Testing: Determining Statistical Significance and Errors and more Exams Statistics in PDF only on Docsity!

12. Introduction to Hypothesis Testing

The purpose of hypothesis testing is to determine whether there is enough statistical evidence in favor of a certain belief about a parameter. Examples  Is there statistical evidence in a random sample of potential customers that support the hypothesis that more than p % of the potential customers will purchase new products?  Is a new drug effective in curing a certain disease? A sample of patient is randomly selected. Half of them are given the drug where half are given a placebo. The improvement in the patients’ conditions is then measured and compared.

Concept of hypothesis testing

  1. There are two hypotheses (about a population parameter(s))  H (^) 0 - the null hypothesis  H (^) a - the alternative (research) hypothesis
  2. Assume the null hypothesis is true.  Build a statistic related to the parameter hypothesized.  Pose the question: How probable is it to obtain a statistic value at least as extreme as the one observed from the sample?
  3. Two types of errors are possible when making the decision whether to reject H 0  Type I error^ ^ (significance level) - reject H^ 0 when it is true.  Type II error^ ^ - do not reject H^ 0 when it is false.

 ^ and^ ^ are inversely related.

  1. Make one of the following two decisions (based on the test):  Reject the null hypothesis in favor of the alternative hypothesis.  Do not reject the null hypothesis in favor of the alternative hypothesis.

Testing the Population Mean When the Population Standard Deviation

is Known, Normal Case

The null hypothesis: H (^) 0 :    0 Possible alternatives: H (^) a :    0 H (^) a :    0 H (^) a :    0

The standardized test statistic Consider the test statistic n X Z / 0     Then, the rejection region becomes  [ z  ,]if alternative H (^) a :    0  [^ , z ]in the case of H^ a : ^ ^  0 ,

 [^ , ] [z , ]

2 2

  z     in the case of H a :    0

The decision rule We reject the null at significance level^ ^ and accept the alternative if the test statistic falls into the rejection region. If it does not then we say that there is not enough evidence to reject the null. P-value method The p^ -value provides information about the amount of statistical evidence that supports the alternative hypothesis. By definition, the p^ -value of a test is the probability of observing a test statistics at least as extreme as the one computed given the null hypothesis is true. That is, p  value  P ( Xx given that H 0 is true) Describing the p-value  If the p -value is less than 1%, there is overwhelming evidence that support the alternative hypothesis.  If the p -value lies between 1% and 5%, there is strong evidence that support the alternative hypothesis.  If the p -value lies between 5% and 10%, there is weak evidence that support the alternative hypothesis.  If the p -value exceeds 10%, we say that there is no evidence that support the alternative hypothesis. The p -value can be used when making decisions based on rejection region methods as follows:  Define the hypotheses to test, and the required significance level^   Perform the sampling procedure and calculate the test statistic and the p -value associated with it.  Compare the p -value to^ ^. Reject the null hypothesis only if p <^ ^ ; otherwise, do

When the sample size is large (>30) the tests statistics is s n X Z /  ^ ^0 Because of CLT it has approximately normal distribution. No assumptions need to be made about the probability distribution of the population. Example 1 In a nationwide opinion poll based on a random sample of 2417 people, one question is: “How do you rate the ethics of business executives of large companies?” A rating of 3 means “no better or worse than most people”, a rating of 1 is “much better than most people”, and 5 is “much worse than most people” the mean rating is 3.05 and the standard deviation is 0.62. Can we infer at significance level 5% that respondents rated the ethics of executives at different level in comparison to most people? Solution

  1. Setup Let^ ^ be the true (nationwide) mean rating. : 3. 00 0 :^3.^00     H a H
  2. Test statistics

 ^0 ^  

s n

X

Z

  1. Rejection Region

[ , ] [ , ] [ , 1. 96 ] [ 1. 96 , ]

2 2

RR    z   z      

  1. Conclusion Since the test statistic falls into the rejection region we reject the null at the significance level 5% and accept alternative. That is we agree that there is a difference in rating of the executives’ ethics and general public. However, we have to note that from the practical point of view this difference is negligible. References:
    1. Chase and Bown, General Statistics
    2. Hildebrand and Ott, Statistical Thinking for Managers
    3. Keller and Warrack, Statistics for Management and Economics
    4. McClave, Benson, and Sincich, A First Course In Business Statistics