Download Introduction to Hypothesis Testing

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

History of statistics wikipedia , lookup

Statistics wikipedia , lookup

Transcript
Introduction to Hypothesis
Testing
CJ 526 Statistical Analysis in
Criminal Justice
Hypotheses
1.
A hypothesis is a prediction about
the outcome of a research study
Hypothesis Testing
1.
Hypothesis testing is an inferential
procedure that uses sample data to
evaluate the credibility of a
hypothesis about a population
Overview of Hypothesis Testing
1.
State a hypothesis about a
population
1.
Usually in terms of the value of a
population parameter
1.
Typically the mean or the difference between
means
Overview of Hypothesis Testing
-- Continued
4.
If the data are consistent with the
hypothesis, conclude that the
hypothesis was reasonable, and fail
to reject it
Example
Babies born to women who smoke
during pregnancy will be more likely
to be of low birth weight
 Independent Variable:

• Smoking during pregnancy

Dependent Variable:
• Birth weight
Example -- Continued
1.
2.
3.
4.
Obtain a random sample of women
who are pregnant and smoke
Weigh the babies at birth
Compare sample data to hypothesis
Make decision:
1.
2.
Reject the hypothesis
Fail to reject the hypothesis
Assumptions Behind Hypothesis
Testing
1.
The effect of the Independent
Variable (treatment effect) is
assumed to:
1.
Add (or subtract) a constant from every
individual’s score
The Logic of Hypothesis Testing
1.
Can’t prove hypothesis
1.
Proof requires evidence for all cases
Steps in Hypothesis Testing
1.
Determine the number of
samples (groups, conditions)
1.
2.
3.
One
Two
k (three or more)
Steps in Hypothesis Testing -continued
2.
If there are two or more samples,
determine whether they are
independent or dependent
1.
2.
Same group (repeated-measures)
Match on some other variable(s) known to
influence DV (matched-subjects)
Steps in Hypothesis Testing -continued
3.
If there is one sample and the
Dependent Variable is at the
Interval or Ratio Level of
Measurement, is the standard
deviation of the population (,
sigma) known:
1.
2.
If  is known, use a One-Sample z-Test
If  is unknown, use a One-Sample t-Test
Steps in Hypothesis Testing -continued
4.
5.
6.
Identify the independent variable
Identify the dependent variable and
its level of measurement
Identify the population to which
inferences will be made
Steps in Hypothesis Testing -continued
7.
Determine the appropriate
inferential statistical test
1.
2.
3.
8.
9.
Number of samples
Nature of samples (if applicable)
Level of measurement of DV
State the null hypothesis
State the alternative hypothesis
Steps in Hypothesis Testing -continued
10.
State Decision Rule:
1.
11.
12.
13.
If the p-value of the obtained test statistic
is less than .05, reject the Null Hypothesis
Use SPSS to compute the obtained
test statistic
Make decision
Interpret results
Truncated Steps
1.
State the hypotheses
1. State the Hypotheses
1.
State the null hypothesis
Null Hypothesis
1.
The null hypothesis predicts that
the Independent Variable
(treatment) will have no effect on
the Dependent Variable for the
population
Alternative Hypothesis
1.
The alternative hypothesis predicts
that the Independent Variable
(treatment) will have an effect on
the Dependent Variable for the
population
Directional Alternative
Hypotheses
1. Researcher has reason to believe
before conducting the test that a
difference will lie in a specified
direction
1.
2.
Prior research
Theory
Nondirectional Alternative
Hypotheses
1. Researcher has no reason to believe
that there will be a difference in a
specified direction
2. Set the Criteria
1. Because of sampling error, there is
likely to be a discrepancy between
the sample mean and the
population mean
3. Collect Sample Data
1.
Obtained test statistic
4. Evaluate the Null Hypothesis
1. Reject the null hypothesis
1.
2.
If sample data is unlikely to have been
drawn from a population where the null
hypothesis is true
If the p-value of the obtained test statistic
is less than .05
Failure to Reject the Null
Hypothesis
1. Either:
1.
Treatment had an effect, could not
demonstrate it
• or
2.
Treatment had no effect
Errors in Hypothesis Testing
Actual State of Affairs
Belief
Decision
H0 is True
H0 is False
H0 is False
Reject H0
Type I Error
False Positive

Correct
Rejection
1-
Power
H0 is True
Fail to Reject
H0
Correct Failure Type II Error
to Reject
False Negative
1-

Type I Error
1.
Committed when H0 is rejected as
false although it is true
Type II Error
1.
Committed when H0 is not rejected
although it is false
Statistical Power
1.
Probability that the test will
correctly reject a false null
hypothesis
Power -- Continued
3. When a treatment effect exists
1.
2.
A study may fail to discover it (Type II
error, fail to reject a false null hypothesis)
A study may discover it (reject a false null
hypothesis)
Power -- Continued
4. Reducing alpha (.05 --> .01 -->
.001)
1.
2.
Reduces power
Inverse relationship between Type I and
Type II errors
Power -- Continued
8.
Some inferential statistical tests are
more powerful
Jury’s Decision
Did Not Commit Crime
Committed Crime
Guilty
Type I Error
Convict Innocent
Person
Correct Verdict
Convict Guilty
Person
Not Guilty
Correct Acquittal
Type II Error
Fail to Convict Innocent Fail to Convict
Person
Guilty Person
Level of Significance
1. Alpha: probability of committing a
Type I error
1.
2.
Reject H0 although it is true
Symbolized by 
Level of Significance
1. Obtained result attributed to:
1.
2.
Real effect (reject H0)
Chance