Download presentation
Presentation is loading. Please wait.
Published byEsmond O’Brien’ Modified over 6 years ago
1
Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Fall 2016 Room 150 Harvill Building 10: :50 Mondays, Wednesdays & Fridays. Welcome
3
(Single sample and population mean)
Homework Assignments Homework Assignment #19 Hypothesis testing Comparing Two means (Single sample and population mean) Due Friday November 4th
4
Before next exam (November 18th)
Please read chapters in OpenStax textbook Please read Chapters 2, 3, and 4 in Plous Chapter 2: Cognitive Dissonance Chapter 3: Memory and Hindsight Bias Chapter 4: Context Dependence
5
Lab sessions Everyone will want to be enrolled
in one of the lab sessions Labs continue this week With Project 3
7
Review Rejecting the null hypothesis
The result is “statistically significant” if: the observed statistic is larger than the critical statistic observed stat > critical stat If we want to reject the null, we want our t (or z or r or F or x2) to be big!! the p value is less than 0.05 (which is our alpha) p < If we want to reject the null, we want our “p” to be small!! we reject the null hypothesis then we have support for our alternative hypothesis Review
8
Deciding whether or not to reject the null hypothesis. 05 versus
Deciding whether or not to reject the null hypothesis .05 versus .01 alpha levels What if our observed z = 2.0? How would the critical z change? α = 0.05 Significance level = .05 α = 0.01 Significance level = .01 -1.96 or +1.96 p < 0.05 Yes, Significant difference Reject the null Remember, reject the null if the observed z is bigger than the critical z -2.58 or +2.58 Not a Significant difference Do not Reject the null Review
9
One versus two tail test of significance 5% versus 1% alpha levels
What if our observed z = 2.45? How would the critical z change? One-tailed Two-tailed α = 0.05 Significance level = .05 α = 0.01 Significance level = .01 -1.64 or +1.64 -1.96 or +1.96 Remember, reject the null if the observed z is bigger than the critical z Reject the null Reject the null -2.33 or +2.33 -2.58 or +2.58 Reject the null Do not Reject the null Review
10
Remember, you should know these four formulas by heart
11
Review Five steps to hypothesis testing
Step 1:Identify the research problem (hypothesis) Describe the null and alternative hypotheses Step 2: Decision rule: find “critical score” z score: Alpha level? (α = .05 vs .01) Prediction (one vs two-tailed) t score: Alpha level? (α = .05 vs .01) Prediction (one vs two-tailed) Degrees of freedom Population versus sample standard deviation Population versus sample standard deviation Step 3: Calculations Step 4: Make decision - If calculated score > critical score then reject null Step 5: Conclusion - tie findings back in to research problem State IV, DV and means - Type of test and whether significant – Symbolic summary Review
12
These would be helpful to know by heart – please memorize
Standard deviation and Variance For Sample and Population Pop Quiz Question 1 These would be helpful to know by heart – please memorize these formula
13
Pop Quiz Question 1 Standard deviation and Variance For Sample and Population Question 2: Please draw two curves and include critical values for one-tailed test versus a two-tailed test Question 3: When we move from a two-tailed test to a one-tailed test the critical z score gets _____ (bigger or smaller?)
14
Pop Quiz Question 4: If we use a one-tailed test and the prediction is correct, then it is ____ (easier, harder or impossible) to reject the null Question 5: If we use a one-tailed test and the prediction is incorrect, then it is ____ (easier, harder or impossible) to reject the null Question 6: When do we use a t-test and when do we use a z-test? (Be sure to write out the formulae)
15
Standard deviation and Variance For Sample and Population
Pop Quiz Question 1 Standard deviation and Variance For Sample and Population Question 2: Please draw two curves and include critical values for one-tailed test versus a two-tailed test Question 3: When we move from a two-tailed test to a one-tailed test the critical z score gets _____ (bigger or smaller?) 1.64 Critical value gets smaller
16
When do we use a t-test and when do we use a z-test?
Pop Quiz easier to reject Question 4: If we use a one-tailed test and the prediction is correct, then it is ____ (easier, harder or impossible) to reject the null Question 5: If we use a one-tailed test and the prediction is incorrect, then it is ____ (easier, harder or impossible) to reject the null Question 6: When do we use a t-test and when do we use a z-test? (Be sure to write out the formulae) impossible to reject Use the t-test when you don’t know the standard deviation of the population, and therefore have to estimate it using the standard deviation of the sample Population versus sample standard deviation Population versus sample standard deviation
17
26.08 < µ < 33.92 mean + z σ = 30 ± (1.96)(2)
95% < µ < 33.92 mean + z σ = 30 ± (1.96)(2) 99% < µ < 35.16 mean + z σ = 30 ± (2.58)(2)
18
Melvin Melvin Mark Difference not due sample size because both samples same size Difference not due population variability because same population Yes! Difference is due to sloppiness and random error in Melvin’s sample Melvin
19
6 – 5 = 4.0 .25 Two tailed test 1.96 (α = .05) 1 1 = = .25 16 4 √ 4.0
z- score : because we know the population standard deviation Ho: µ = 5 Bags of potatoes from that plant are not different from other plants Ha: µ ≠ 5 Bags of potatoes from that plant are different from other plants Two tailed test 1.96 (α = .05) 1 1 = = .25 6 – 5 16 4 √ = 4.0 .25 4.0 -1.96 1.96
20
Because the observed z (4.0 ) is bigger than critical z (1.96)
These three will always match Yes Yes Probability of Type I error is always equal to alpha Yes .05 1.64 No Because observed z (4.0) is still bigger than critical z (1.64) 2.58 No Because observed z (4.0) is still bigger than critical z(2.58) there is a difference there is not there is no difference there is 1.96 2.58
21
89 - 85 Two tailed test (α = .05) n – 1 =16 – 1 = 15
-2.13 2.13 t- score : because we don’t know the population standard deviation Two tailed test (α = .05) n – 1 =16 – 1 = 15 Critical t(15) = 2.131 2.667 6 √ 16
22
Because the observed z (2.67) is bigger than critical z (2.13)
These three will always match Yes Yes Probability of Type I error is always equal to alpha Yes .05 1.753 No Because observed t (2.67) is still bigger than critical t (1.753) 2.947 Yes Because observed t (2.67) is not bigger than critical t(2.947) No These three will always match No No consultant did improve morale she did not consultant did not improve morale she did 2.131 2.947
23
Value of observed statistic
Finish with statistical summary z = 4.0; p < 0.05 Or if it *were not* significant: z = 1.2 ; n.s. Start summary with two means (based on DV) for two levels of the IV Describe type of test (z-test versus t-test) with brief overview of results n.s. = “not significant” p<0.05 = “significant” The average weight of bags of potatoes from this particular plant is 6 pounds, while the average weight for population is 5 pounds. A z-test was completed and this difference was found to be statistically significant. We should fix the plant. (z = 4.0; p<0.05) Value of observed statistic
24
Hypothesis testing: one sample t-test
Let’s jump right in and do a t-test Hypothesis testing: one sample t-test Is the mean of my observed sample consistent with the known population mean or did it come from some other distribution? We are given the following problem: 800 students took a chemistry exam. Accidentally, 25 students got an additional ten minutes. Did this extra time make a significant difference in the scores? The average number correct by the large class was 74. The scores for the sample of 25 was Please note: In this example we are comparing our sample mean with the population mean (One-sample t-test) 76, 72, 78, 80, 73 70, 81, 75, 79, 76 77, 79, 81, 74, 62 95, 81, 69, 84, 76 75, 77, 74, 72, 75
25
µ = 74 µ Hypothesis testing
Step 1: Identify the research problem / hypothesis Did the extra time given to this sample of students affect their chemistry test scores Describe the null and alternative hypotheses One tail or two tail test? Ho: µ = 74 = 74 H1:
26
We use a different table for t-tests
Hypothesis testing Step 2: Decision rule = .05 n = 25 Degrees of freedom (df) = (n - 1) = (25 - 1) = 24 two tail test This was for z scores We use a different table for t-tests
27
two tail test α= .05 (df) = 24 Critical t(24) = 2.064
28
µ = 74 Hypothesis testing = = 868.16 = 6.01 24 x (x - x) (x - x)2
76 72 78 80 73 70 81 75 79 77 74 62 95 69 84 76 – 76.44 72 – 76.44 78 – 76.44 80 – 76.44 73 – 76.44 70 – 76.44 81 – 76.44 75 – 76.44 79 – 76.44 77 – 76.44 74 – 76.44 62 – 76.44 95 – 76.44 69 – 76.44 84 – 76.44 = -0.44 = = = = = = = = = = = = = = = 0.1936 2.4336 2.0736 6.5536 0.3136 5.9536 Step 3: Calculations µ = 74 Σx = N 1911 25 = = 76.44 N = 25 = 6.01 868.16 24 Σx = 1911 Σ(x- x) = 0 Σ(x- x)2 =
29
µ = 74 Hypothesis testing = 76.44 - 74 1.20 2.03 .
Step 3: Calculations µ = 74 = 76.44 N = 25 s = 6.01 = 1.20 2.03 critical t 6.01 25 Observed t(24) = 2.03
30
Hypothesis testing Step 4: Make decision whether or not to reject null hypothesis Observed t(24) = 2.03 Critical t(24) = 2.064 2.03 is not farther out on the curve than 2.064, so, we do not reject the null hypothesis Step 6: Conclusion: The extra time did not have a significant effect on the scores
31
Hypothesis testing: Did the extra time given to these 25 students affect their average test score? Start summary with two means (based on DV) for two levels of the IV notice we are comparing a sample mean with a population mean: single sample t-test Finish with statistical summary t(24) = 2.03; ns Describe type of test (t-test versus z-test) with brief overview of results Or if it had been different results that *were* significant: t(24) = -5.71; p < 0.05 The mean score for those students who where given extra time was percent correct, while the mean score for the rest of the class was only 74 percent correct. A t-test was completed and there appears to be no significant difference in the test scores for these two groups t(24) = 2.03; n.s. Type of test with degrees of freedom n.s. = “not significant” p<0.05 = “significant” n.s. = “not significant” p<0.05 = “significant” Value of observed statistic 31
32
Thank you! See you next time!!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.