Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Fall 2017 Room 150 Harvill Building 10:00 - 10:50 Mondays, Wednesdays.

Similar presentations


Presentation on theme: "Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Fall 2017 Room 150 Harvill Building 10:00 - 10:50 Mondays, Wednesdays."— Presentation transcript:

1 Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Fall 2017 Room 150 Harvill Building 10: :50 Mondays, Wednesdays & Fridays. Welcome

2 Lecturer’s desk Projection Booth Screen Screen Harvill 150 renumbered
Row A 15 14 Row A 13 3 2 1 Row A Row B 23 20 Row B 19 5 4 3 2 1 Row B Row C 25 21 Row C 20 6 5 1 Row C Row D 29 23 Row D 22 8 7 1 Row D Row E 31 23 Row E 23 9 8 1 Row E Row F 35 26 Row F 25 11 10 1 Row F Row G 35 26 Row G 25 11 10 1 Row G Row H 37 28 27 13 Row H 12 1 Row H 41 29 28 14 Row J 13 1 Row J 41 29 Row K 28 14 13 1 Row K Row L 33 25 Row L 24 10 9 1 Row L Row M 21 20 19 Row M 18 4 3 2 1 Row M Row N 15 1 Row P 15 1 Harvill 150 renumbered table 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Projection Booth Left handed desk

3

4 What happened? We ran more subjects: Increased n
So, we decreased variability Easier to find effect significant even though effect size didn’t change This is variance for each sample (Remember, variance is just standard deviation squared) This is variance for each sample (Remember, variance is just standard deviation squared) Small sample Big sample 4

5 Homework .

6 Homework .

7 This is significant with alpha of 0.05
Homework Type of instruction Exam score 50 40 2-tail 0.05 CAUTION This is significant with alpha of 0.05 BUT NOT WITH alpha of 0.01 2.66 2.02 38 p = yes The average exam score for those with instruction was 50, while the average exam score for those with no instruction was 40. A t-test was conducted and found that instruction significantly improved exam scores, t(38) = 2.66; p < 0.05

8 Homework . Type of Staff Travel Expenses 142.5 130.29 2-tail 0.05 2.2 11 p = 0.153 no The average expenses for sales staff is 142.5, while the average expenses for the audit staff was A t-test was conducted and no significant difference was found, t(11) = 1.54; n.s.

9 If the observed t is less than one it will never be significant
. Homework Location of lot Number of cars 86.24 92.04 2-tail 0.05 -0.88 2.01 51 p = 0.38 no Fun fact: If the observed t is less than one it will never be significant The average number of cars in the Ocean Drive Lot was 86.24, while the average number of cars in Rio Rancho Lot was A t-test was conducted and no significant difference between the number of cars parked in these two lots, t(51) = -.88; n.s.

10 . Please hand in your homework – they must be stapled

11 A note on doodling

12 Lab sessions Continue Project 3 This Week
Everyone will want to be enrolled in one of the lab sessions Continue Project 3 This Week

13

14 Schedule of readings Before next exam (November 17th)
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

15 Remember, you should know these four formulas by heart
“SS” = “Sum of Squares” “SS” = “Sum of Squares” “n” = number of scores “SS” = “Sum of Squares” “SS” = “Sum of Squares” “SS” = “Sum of Squares” “SS” = “Sum of Squares” “df” = degrees of freedom We lose one degree of freedom for every parameter we estimate Remember, you should know these four formulas by heart

16 Standard deviation (definitional formula) - Let’s do one
This numerator is called “sum of squares” Each of these are deviation scores _ X - µ _ 1 - 5 = - 4 2 - 5 = - 3 3 - 5 = - 2 4 - 5 = - 1 5 - 5 = 0 6 - 5 = 1 7 - 5 = 2 8 - 5 = 3 9 - 5 = 4 (X - µ)2 16 9 4 1 60 Step 1: Find the mean _ X_ 1 2 3 4 5 6 7 8 9 45 ΣX = 45 ΣX / N = 45/9 = 5 Step 2: Subtract the mean from each score Step 3: Square the deviations Step 4: Find standard deviation This is the Variance! a) 60 / 9 = b) square root of = Σ(x - µ) = 0 This is the standard deviation! Review

17 Remember, you should know these four formulas by heart

18 Remember, you should know these four formulas by heart
“SS” = “Sum of Squares” “SS” = “Sum of Squares” “n” = number of scores “SS” = “Sum of Squares” “SS” = “Sum of Squares” “SS” = “Sum of Squares” “SS” = “Sum of Squares” “df” = degrees of freedom We lose one degree of freedom for every parameter we estimate Remember, you should know these four formulas by heart

19 Question: Using nicknames…. what is formula for SAMPLE variance?
Sum of Squares Degrees of freedom SS df “SS” = “Sum of Squares” “SS” = “Sum of Squares” “df” = degrees of freedom “SS” = “Sum of Squares” We lose one degree of freedom for every parameter we estimate Remember, you should know these four formulas by heart

20 Review Study Type 2: t-test
We are looking to compare two means Study Type 2: t-test Study Type 3: One-way Analysis of Variance (ANOVA) Comparing more than two means Review

21 Review Study Type 3: One-way ANOVA
Single Independent Variable comparing more than two groups Single Dependent Variable (numerical/continuous) Used to test the effect of the IV on the DV Ian was interested in the effect of incentives for girl scouts on the number of cookies sold. He randomly assigned girl scouts into one of three groups. The three groups were given one of three incentives and looked to see who sold more cookies. The 3 incentives were 1) Trip to Hawaii, 2) New Bike or 3) Nothing. This is an example of a true experiment Dependent variable is always quantitative Sales per Girl scout Sales per Girl scout None New Bike Trip Hawaii None New Bike Trip Hawaii In an ANOVA, independent variable is qualitative (& more than two groups) Review

22 One-way ANOVA versus Chi Square
Be careful you are not designing a Chi Square If this is just frequency you may have a problem This is a Chi Square Total Number of Boxes Sold Sales per Girl scout This is an ANOVA None New Bike Trip Hawaii None New Bike Trip Hawaii These are just frequencies These are just frequencies These are just frequencies These are means These are means These are means

23 One-way ANOVA One-way ANOVAs test only one independent variable
Number of cookies sold One-way ANOVA None Bike Hawaii trip Incentives One-way ANOVAs test only one independent variable - although there may be many levels “Factor” = one independent variable “Level” = levels of the independent variable treatment condition groups “Main Effect” of independent variable = difference between levels Note: doesn’t tell you which specific levels (means) differ from each other A multi-factor experiment would be a multi-independent variables experiment

24 Comparing ANOVAs with t-tests
Similarities still include: Using distributions to make decisions about common and rare events Using distributions to make inferences about whether to reject the null hypothesis or not The same 5 steps for testing an hypothesis Tells us generally about number of participants / observations Tells us generally about number of groups / levels of IV The three primary differences between t-tests and ANOVAS are: 1. ANOVAs can test more than two means 2. We are comparing sample means indirectly by comparing sample variances 3. We now will have two types of degrees of freedom t(16) = 3.0; p < F(2, 15) = 3.0; p < 0.05 Tells us generally about number of participants / observations

25 Review A girl scout troop leader wondered whether providing an
incentive to whomever sold the most girl scout cookies would have an effect on the number cookies sold. She provided a big incentive to one troop (trip to Hawaii), a lesser incentive to a second troop (bicycle), and no incentive to a third group, and then looked to see who sold more cookies. How many levels of the Independent Variable? What is Independent Variable? Troop 1 (nada) 10 8 12 7 13 Troop 2 (bicycle) 12 14 10 11 13 Troop 3 (Hawaii) 14 9 19 13 15 What is Dependent Variable? How many groups? n = 5 x = 10 n = 5 x = 12 n = 5 x = 14 Review

26 Hypothesis testing: Step 1: Identify the research problem
Is there a significant difference in the number of cookie boxes sold between the girlscout troops that were given the different levels of incentive? Describe the null and alternative hypotheses

27 Hypothesis testing: Decision rule = .05
Degrees of freedom (between) = number of groups - 1 = = 2 Degrees of freedom (within) = # of scores - # of groups = (15-3) = 12* Critical F (2,12) = 3.98 *or = (5-1) + (5-1) + (5-1) = 12.

28 Appendix B.4 (pg.518) F (2,12) α= .05 Critical F(2,12) = 3.89 28

29 ANOVA table Source df MS F SS Between 40 ? ? ? ? Within 88 ? ? ? Total
“SS” = “Sum of Squares” - will be given for exams - you can think of this as the numerator in a standard deviation formula ANOVA table Source df MS F SS Between 40 ? ? ? ? Within 88 ? ? ? Total 128 ? ?

30 This is our sample variance…
what is formula for SAMPLE variance? SS df ANOVA table Source df MS F SS Between 40 ? ? ? Within 88 ? ? Total 128 ?

31 Writing Assignment - ANOVA
1. Write formula for standard deviation of sample 2. Write formula for variance of sample 3. Re-write formula for variance of sample using the nicknames for the numerator and denominator SS df = MS 4. Complete this ANOVA table ANOVA table Source SS df MS F Between 40 ? ? ? Within 88 ? ? Total 128 ?

32 ANOVA table Source df MS F SS Between 40 ? 2 ? ? ? Within ? 88 12 ? ?
“SS” = “Sum of Squares” - will be given for exams ANOVA table Source df MS F SS Between 40 ? 2 # groups - 1 ? ? ? 3-1=2 15-3=12 Within ? 88 12 ? ? # scores - number of groups Total 128 ? ? 14 # scores - 1 15- 1=14

33 “SS” = “Sum of Squares” - will be given for exams
ANOVA table SSbetween dfbetween “SS” = “Sum of Squares” - will be given for exams 40 2 40 2 =20 MSbetween MSwithin ANOVA table Source df MS F SS 20 7.33 =2.73 Between 40 2 ? 20 ? 2.73 Within 88 12 7.33 ? Total 128 14 SSwithin dfwithin 88 12 =7.33 88 12

34 Make decision whether or not to reject null hypothesis
Observed F = 2.73 Critical F(2,12) = 3.89 2.73 is not farther out on the curve than 3.89 so, we do not reject the null hypothesis F(2,12) = 2.73; n.s. Conclusion: There appears to be no effect of type of incentive on number of girl scout cookies sold The average number of cookies sold for three different incentives were compared. The mean number of cookie boxes sold for the “Hawaii” incentive was 14 , the mean number of cookies boxes sold for the “Bicycle” incentive was 12, and the mean number of cookies sold for the “No” incentive was 10. An ANOVA was conducted and there appears to be no significant difference in the number of cookies sold as a result of the different levels of incentive F(2, 12) = 2.73; n.s.

35 incentive then the means are significantly different from each other
Main effect of incentive: Will offering an incentive result in more girl scout cookies being sold? If we have a “effect” of incentive then the means are significantly different from each other we reject the null we have a significant F p < 0.05 To get an effect we want: Large “F” - big effect and small variability Small “p” - less than 0.05 (whatever our alpha is) We don’t know which means are different from which …. just that they are not all the same 35

36 Thank you! See you next time!!


Download ppt "Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Fall 2017 Room 150 Harvill Building 10:00 - 10:50 Mondays, Wednesdays."

Similar presentations


Ads by Google