Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Hypothesis Testing CJ 526 Statistical Analysis in Criminal Justice.

Similar presentations


Presentation on theme: "Introduction to Hypothesis Testing CJ 526 Statistical Analysis in Criminal Justice."— Presentation transcript:

1 Introduction to Hypothesis Testing CJ 526 Statistical Analysis in Criminal Justice

2 Hypotheses A hypothesis is a prediction about the outcome of a research study

3 Hypothesis Testing Hypothesis testing is an inferential procedure that uses sample data to evaluate the credibility of a hypothesis about a population

4 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

5 Overview of Hypothesis Testing -- Continued If the data are consistent with the hypothesis, conclude that the hypothesis was reasonable, and fail to reject it

6 Example  Babies birth weight will not differ between smoking and non-smoking mothers (null)  Babies born to women who smoke during pregnancy will be more likely to be of low birth weight (alternative)  Independent Variable: Smoking during pregnancySmoking during pregnancy  Dependent Variable: Birth weightBirth weight

7 Example -- Continued 1. Obtain a random sample of women who are pregnant and smoke 2. Obtain a random sample of non-smoking pregnant women, or compare to the national average 3. Weigh the babies at birth 4. Compare sample data to hypothesis 5. Make decision: 1. Reject the null hypothesis 2. Fail to reject the hypothesis

8 Assumptions Behind Hypothesis Testing The effect of the Independent Variable (treatment effect) is assumed to: Add (or subtract) a constant from every individual’s score

9 The Logic of Hypothesis Testing 1. Can’t prove hypothesis 1. Proof requires evidence for all cases

10 Steps in Hypothesis Testing 1. Determine the number of samples (groups, conditions) 1. One 2. Two 3. k (three or more)

11 Steps in Hypothesis Testing -- continued 2. If there are two or more samples, determine whether they are independent or dependent 1. Same group (repeated-measures) 2. Match on some other variable(s) known to influence DV (matched-subjects)

12 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. If  is known, use a One-Sample z-Test 2. If  is unknown, use a One-Sample t-Test

13 Steps in Hypothesis Testing -- continued 4. Identify the independent variable 5. Identify the dependent variable and its level of measurement 6. Identify the population to which inferences will be made

14 Steps in Hypothesis Testing -- continued 7. Determine the appropriate inferential statistical test 1. Number of samples 2. Nature of samples (if applicable) 3. Level of measurement of DV 8. State the null hypothesis 9. State the alternative hypothesis

15 Steps in Hypothesis Testing -- continued 10. State Decision Rule: 1. If the p-value of the obtained test statistic is less than.05, reject the Null Hypothesis 11. Use SPSS to compute the obtained test statistic 12. Make decision 13. Interpret results

16 Null Hypothesis The null hypothesis predicts that the Independent Variable (treatment) will have no effect on the Dependent Variable for the population

17 Alternative Hypothesis The alternative hypothesis predicts that the Independent Variable (treatment) will have an effect on the Dependent Variable for the population

18 Directional Alternative Hypotheses Researcher has reason to believe before conducting the test that a difference will lie in a specified direction 1. Prior research 2. Theory

19 Non-directional Alternative Hypotheses Researcher has no reason to believe that there will be a difference in a specified direction There is insufficient research or information or theory to make a specific prediction

20 Set the Criteria Set the Criteria Because of sampling error, there is likely to be a discrepancy between the sample mean and the population mean At what point does the difference become meaningful and not just a matter of chance?

21 3. Collect Sample Data Use the data to calculate the obtained test statistic, using the appropriate statistical test, based on level of measurement of the dependent variable, number of samples, whether the samples are independent or related

22 4. Evaluate the Null Hypothesis 1.Reject the null hypothesis 1. If sample data is unlikely to have been drawn from a population where the null hypothesis is true 2. If the p-value of the obtained test statistic is less than.05, meaning that the null hypothesis is rejected and there is less than a 5% probability that this decision is incorrect 3. The alternative is accepted, that there is a difference OR

23 Failure to Reject the Null Hypothesis 1.Either: 1. Treatment had an effect, could not demonstrate it oror 2. Treatment had no effect

24 Errors in Hypothesis Testing Actual State of Affairs BeliefDecision H 0 is True H 0 is False Reject H 0 Type I Error False Positive  Correct Rejection 1 -  Power H 0 is True Fail to Reject H 0 Correct Failure to Reject 1 -  Type II Error False Negative 

25 Type I Error Committed when H 0 is rejected as false although it is true Type II Error Type II Error Committed when H 0 is not rejected although it is false

26 Statistical Power Probability that the test will correctly reject a false null hypothesis

27 Power -- Continued When a treatment effect exists 1. A study may fail to discover it (Type II error, fail to reject a false null hypothesis) 2. A study may discover it (reject a false null hypothesis)

28 Power -- Continued Reducing alpha (.05 -->.01 -->.001) 1. Reduces power 2. Inverse relationship between Type I and Type II errors

29 Power -- Continued Some inferential statistical tests are more powerful

30 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 Fail to Convict Innocent Person Type II Error Fail to Convict Guilty Person

31 Level of Significance Alpha: probability of committing a Type I error 1. Reject H 0 although it is true 2. Symbolized by 


Download ppt "Introduction to Hypothesis Testing CJ 526 Statistical Analysis in Criminal Justice."

Similar presentations


Ads by Google