Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


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

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

2 A note on doodling

3 By the end of lecture today 4/3/17
Hypothesis testing with ANOVA

4 Before next exam (April 7th)
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 Study guide is online

5 Homework Assignment No new Homework is due:
Please review previous homeworks in preparation for Exam 3

6 Lab sessions Everyone will want to be enrolled
in one of the lab sessions Review for Exam 3

7

8 Homework

9 Homework

10 Homework

11 Homework Type of major in school
4 (accounting, finance, hr, marketing) Grade Point Average Homework 0.05 2.83 3.02 3.24 3.37

12 # scores - number of groups
0.3937 0.1119 If observed F is bigger than critical F: Reject null & Significant! If observed F is bigger than critical F: Reject null & Significant! / = 3.517 Homework 3.517 3.009 If p value is less than 0.05: Reject null & Significant! 3 24 0.03 4-1=3 # groups - 1 # scores - number of groups 28 - 4=24 # scores - 1 28 - 1=27

13 Yes Homework F (3, 24) = 3.517; p < 0.05 The GPA for four majors was compared. The average GPA was 2.83 for accounting, 3.02 for finance, 3.24 for HR, and 3.37 for marketing. An ANOVA was conducted and there is a significant difference in GPA for these four groups (F(3,24) = 3.52; p < 0.05).

14 Average for each group (We REALLY care about this one)
Number of observations in each group

15 Number of groups minus one (k – 1)  4-1=3
“SS” = “Sum of Squares” - will be given for exams Number of people minus number of groups (n – k)  28-4=24

16 SS between df between MS between MS within SS within df within

17

18

19 Type of executive 3 (banking, retail, insurance) Hours spent at computer 0.05 10.8 8 8.4

20 11.46 2 If observed F is bigger than critical F: Reject null & Significant! If observed F is bigger than critical F: Reject null & Significant! 11.46 / 2 = 5.733 5.733 3.88 If p value is less than 0.05: Reject null & Significant! 2 12 0.0179

21 Yes F (2, 12) = 5.73; p < 0.05 The number of hours spent at the computer was compared for three types of executives. The average hours spent was 10.8 for banking executives, 8 for retail executives, and 8.4 for insurance executives. An ANOVA was conducted and we found a significant difference in the average number of hours spent at the computer for these three groups , (F(2,12) = 5.73; p < 0.05).

22 Number of observations in each group
Average for each group Number of observations in each group Just add up all scores

23 Number of groups minus one (k – 1)  3-1=2
“SS” = “Sum of Squares” - will be given for exams Number of people minus number of groups (n – k)  15-3=12

24 MS between MS within SS between df between SS within df within

25

26 “Between Groups” Variability Difference between means
. “Between Groups” Variability Difference between means Difference between means Difference between means “Within Groups” Variability Variability of curve(s) Variability of curve(s) Variability of curve(s)

27 One way analysis of variance Variance is divided
Remember, one-way = one IV Total variability Between group variability (only one factor) Within group variability (error variance) Remember, 1 factor = 1 independent variable (this will be our numerator – like difference between means) Remember, error variance = random error (this will be our denominator – like within group variability

28 F = MSBetween MSWithin Five steps to hypothesis testing
Step 1: Identify the research problem (hypothesis) Describe the null and alternative hypotheses Step 2: Decision rule Alpha level? (α = .05 or .01)? Still, difference between means Critical statistic (e.g. z or t or F or r) value? Step 3: Calculations MSWithin MSBetween F = Still, variability of curve(s) Step 4: Make decision whether or not to reject null hypothesis If observed t (or F) is bigger then critical t (or F) then reject null Step 5: Conclusion - tie findings back in to research problem

29 The sum of squared deviations of some set of scores about their mean
Sum of squares (SS): The sum of squared deviations of some set of scores about their mean Mean squares (MS): The sum of squares divided by its degrees of freedom Mean square between groups: sum of squares between groups divided by its degrees of freedom Mean square total: sum of squares total divided by its degrees of freedom MSWithin MSBetween F = Mean square within groups: sum of squares within groups divided by its degrees of freedom 29

30 F = ANOVA Variability between groups Variability within groups
“Between” variability bigger than “within” variability so should get a big (significant) F Variability Within Groups Variability Within Groups Variability Between Groups Variability Within Groups “Between” variability getting smaller “within” variability staying same so, should get a smaller F Variability Between Groups “Between” variability getting very small “within” variability staying same so, should get a very small F Variability Within Groups

31 ANOVA Variability between groups F = Variability within groups
“Between” variability bigger than “within” variability so should get a big (significant) F Variability Within Groups Variability Within Groups Variability Between Groups “Between” variability getting smaller “within” variability staying same so, should get a smaller F Variability Within Groups “Between” variability getting very small “within” variability staying same so, should get a very small F (equal to 1)

32 In a one-way ANOVA we have three types of variability.
Let’s try one In a one-way ANOVA we have three types of variability. Which picture best depicts the random error variability (also known as the within variability)? a. Figure 1 b. Figure 2 c. Figure 3 d. All of the above 1. correct 2. 3.

33 In a one-way ANOVA we have three types of variability.
Let’s try one In a one-way ANOVA we have three types of variability. Which picture best depicts the between group variability? a. Figure 1 b. Figure 2 c. Figure 3 d. All of the above correct 1. 2. 3.

34 Questions?

35 Writing Assignment - Quiz
1. When do you use a t-test and when do you use an ANOVA 2. What is the formula for degrees of freedom in a two-sample t-test 3. What is the formula for degrees of freedom “between groups” in ANOVA 4. What is the formula for degrees of freedom “within groups” in ANOVA 5. How are “levels”, “groups”, “conditions” “treatments” related? 6. How are “significant difference”, “p< 0.05”, “main effect” and “we reject the null” related? 7. Draw and match each with proper label Within Group Variability Total Variability Between Group Variability

36 Writing Assignment - Quiz
8. Daphne compared running speed for three types of running shoes. She asked 10 people to run as fast as they could wearing one type of shoe. So, there were 30 people altogether What is the independent variable? What is the dependent variable? How many factors do we have (what are they)? How many treatments do we have (what are they)? 9. Complete this ANOVA table 10. Find the critical F value from the table 11. Is there a main effect of type of running shoe? Is “p< 0.05”?

37 Writing Assignment - Quiz
n -1 per group or n-2 or Total n - # of groups 1. When do you use a t-test and when do you use an ANOVA t-tests compare two means ANOVA compares more than two means 2. What is the formula for degrees of freedom in a two-sample t-test 3. What is the formula for degrees of freedom “between groups” in ANOVA # of groups - 1 4. What is the formula for degrees of freedom “within groups” in ANOVA n -1 per group or Total n - # of groups 5. How are “levels”, “groups”, “conditions” “treatments” related? 6. How are “significant difference”, “p< 0.05”, “main effect” and “we reject the null” related? They all mean the same thing They all mean the same thing 7. Draw and match each with proper label Within Group Variability Total Variability Between Group Variability

38 Writing Assignment - Quiz
8. Daphne compared running speed for three types of running shoes. She asked 10 people to run as fast as they could wearing one type of shoe. So, there were 30 people altogether What is the independent variable? What is the dependent variable? How many factors do we have (what are they)? How many treatments do we have (what are they)? Type of running shoe Running Speed Type 1 Type 2 Type 3 3 groups 1 Factor 9. Complete this ANOVA table SSB dfB # groups - 1 n - # groups MSB MSW SSW dfW n - 1 Yes F(2,27)=4.00; p< 0.05 10. Find the critical F value from the table 3.37 11. Is there a main effect of type of running shoe? Is “p< 0.05”?

39 Thank you! See you next time!!


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

Similar presentations


Ads by Google