Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecturer’s desk INTEGRATED LEARNING CENTER ILC 120 Screen 11 10 2 1 98 7 6 5 13 12 15 14 17 16 19 18 4 3 Row A Row B Row C Row D Row E Row F Row G Row.

Similar presentations


Presentation on theme: "Lecturer’s desk INTEGRATED LEARNING CENTER ILC 120 Screen 11 10 2 1 98 7 6 5 13 12 15 14 17 16 19 18 4 3 Row A Row B Row C Row D Row E Row F Row G Row."— Presentation transcript:

1

2 Lecturer’s desk INTEGRATED LEARNING CENTER ILC 120 Screen 11 10 2 1 98 7 6 5 13 12 15 14 17 16 19 18 4 3 Row A Row B Row C Row D Row E Row F Row G Row H Row I Row J Row K Row L Computer Storage Cabinet Cabinet Table 20 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 27 26 4 3 28 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 26 4 3 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 26 4 3 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 27 26 4 3 28 13 12 14 16 15 17 18 19 29 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 27 26 4 3 28 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 27 26 4 3 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 26 4 3 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 25 24 4 3 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 24 4 3 13 12 14 16 15 17 18 19 11 10 2 1 9 8 7 6 5 21 20 23 22 4 3 13 12 14 16 15 17 18 19 11 10 9 8 7 6 5 4 3 13 12 14 16 15 17 18 19 broken desk

3 BNAD 276: Statistical Inference in Management Spring 2016 Green sheets

4 Before our next exam (March 22 nd ) OpenStax Chapters 1 – 11 Plous (10, 11, 12 & 14) Chapter 10: The Representativeness Heuristic Chapter 11: The Availability Heuristic Chapter 12: Probability and Risk Chapter 14: The Perception of Randomness Schedule of readings

5 No homework Just study for Exam 2

6 Exam 2 – This Thursday, March 22 nd Study guide is online Bring 2 calculators (remember only simple calculators, we can’t use calculators with programming functions) Bring 2 pencils (with good erasers) Bring ID Stats Review by Nick and Jonathon When: Monday evening March 21 st - 6:30 – 8:30pm Where: ILC 120 Cost: $5.00 Stats Review by Nick and Jonathon When: Monday evening March 21 st - 6:30 – 8:30pm Where: ILC 120 Cost: $5.00

7 By the end of lecture today 3/10/16 Logic of hypothesis testing Steps for hypothesis testing Levels of significance (Levels of alpha) what does p < 0.05 mean? what does p < 0.01 mean? t-tests One-sample versus two-sample Pooled variance Degrees of freedom Comparing means

8 Homework Assignment Using Excel ?

9 Homework Assignment Using Excel

10 Independent samples t-test Donald is a consultant and leads training sessions. As part of his training sessions, he provides the students with breakfast. He has noticed that when he provides a full breakfast people seem to learn better than when he provides just a small meal (donuts and muffins). So, he put his hunch to the test. He had two classes, both with three people enrolled. The one group was given a big meal and the other group was given only a small meal. He then compared their test performance at the end of the day. Please test with an alpha =.05 Big Meal 22 25 Small meal 19 23 21 Mean= 24 Mean= 21 t = x 1 – x 2 variability t = 24 – 21 variability Got to figure this part out: We want to average from 2 samples - Call it “pooled” Are the two means significantly different from each other, or is the difference just due to chance?

11 Mean= 24 Participant 1 2 3 Big Meal 22 25 Small meal 19 23 21 Mean= 21 Complete a t-test

12 Mean= 24 Participant 1 2 3 Big Meal 22 25 Small meal 19 23 21 Mean= 21 Complete a t-test

13 If checked you’ll want to include the labels in your variable range If checked, you’ll want to include the labels in your variable range Mean= 24 Participant 1 2 3 Big Meal 22 25 Small meal 19 23 21 Mean= 21 Complete a t-test

14 Finding Means Complete a t-test

15 This is variance for each sample (Remember, variance is just standard deviation squared) Please note: “Pooled variance” is just like the average of the two sample variances, so notice that the average of 3 and 4 is 3.5 Complete a t-test

16 This is “n” for each sample (Remember, “n” is just number of observations for each sample) df = “degrees of freedom” Remember, “degrees of freedom” is just (n-1) for each sample. So for sample 1: n-1 =3-1 = 2 And for sample 2: n-1=2-1 = 2 Then, df = 2+2=4 This is “n” for each sample (Remember, “n” is just number of observations for each sample) Complete a t-test

17 Finding degrees of freedom Complete a t-test

18 Finding Observed t Complete a t-test

19 Finding Critical t Complete a t-test

20 Finding Critical t

21 Finding p value (Is it less than.05?) Complete a t-test

22 Step 4: Make decision whether or not to reject null hypothesis Reject when: observed stat > critical stat 1.96396 is not bigger than 2.776 “p” is less than 0.05 (or whatever alpha is) p = 0.121 is not less than 0.05 Step 5: Conclusion - tie findings back in to research problem There was no significant difference, there is no evidence that size of meal affected test scores Complete a t-test

23 We compared test scores for large and small meals. The mean test scores for the big meal was 24, and was 21 for the small meal. A t-test was calculated and there appears to be no significant difference in test scores between the two types of meals, t(4) = 1.964; n.s. Start summary with two means (based on DV) for two levels of the IV Describe type of test (t-test versus Anova) with brief overview of results Finish with statistical summary t(4) = 1.96; ns Or if it *were* significant: t(9) = 3.93; p < 0.05 Type of test with degrees of freedom Value of observed statistic n.s. = “not significant” p<0.05 = “significant”

24 Graphing your t-test results

25 Graphing your t-test results

26 Chart Layout Graphing your t-test results

27 Fill out titles

28 Donald is a consultant and leads training sessions. As part of his training sessions, he provides the students with breakfast. He has noticed that when he provides a full breakfast people seem to learn better than when he provides just a small meal (donuts and muffins). So, he put his hunch to the test. He had two classes, both with three people enrolled. The one group was given a big meal and the other group was given only a small meal. He then compared their test performance at the end of the day. Please test with an alpha =.05 Big Meal 22 25 Small meal 19 23 21 Mean= 24 Mean= 21 Where are we? We compared test scores for large and small meals. The mean test scores for the big meal was 24, and was 21 for the small meal. A t-test was calculated and there appears to be no significant difference in test scores between the two types of meals, t(4) = 1.964; n.s.

29 Donald is a consultant and leads training sessions. As part of his training sessions, he provides the students with breakfast. He has noticed that when he provides a full breakfast people seem to learn better than when he provides just a small meal (donuts and muffins). So, he put his hunch to the test. This time he had two classes, both with nine people enrolled. The one group was given a big meal and the other group was given only a small meal. He then compared their test performance at the end of the day. Please test with an alpha =.05 What if we ran more subjects? Big Meal 22 25 22 25 22 25 Small meal 19 23 21 19 23 21 19 23 21 Mean= 24 Mean= 21 Independent samples t-test

30 Step 1: Identify the research problem Step 2: Describe the null and alternative hypotheses H o : The size of the meal has no effect on test scores One tail or two tail test? Did the size of the meal affect the test scores? H 1 : The size of the meal does have an effect on test scores Notice: Additional participants don’t affect this part of the problem Independent samples t-test

31 Hypothesis testing Step 3: Decision rule α =.05 Degrees of freedom total (df total ) = (n 1 - 1) + (n 2 – 1) = (9 - 1) + (9 – 1) = 16 two tailed test n 1 = 9; n 2 = 9 Critical t (16) = 2.12 Degrees of freedom total (df total ) = (n total - 2) = 18 – 2 = 16 Notice: Two different ways to think about it

32 α =.05 (df) = 16 Critical t (16) = 2.12 two tail test

33 Mean= 24 Squared Deviation 4 0 4 0 4 0 Σ = 24 Big Meal 22 25 22 25 22 25 Small meal 19 23 21 19 23 21 19 23 21 Big Meal Deviation From mean 2 2 2 Squared deviation 4 1 4 1 4 1 Mean= 21 Small Meal Deviation From mean 2 -2 0 2 -2 0 2 -2 0 Σ = 18 18 8 1 24 8 1 2 2 2.25 3.00 Notice: s 2 = 2.25 Notice: s 2 = 3.0 Notice: Simple Average = 2.625 Step 4: Calculate observed t-score

34 Mean= 24 Big Meal 22 25 22 25 22 25 Small meal 19 23 21 19 23 21 19 23 21 Mean= 21 S 2 1 = 2.25 S 2 2 = 3.00 = 2.625 S 2 pooled = (n 1 – 1) s 1 2 + (n 2 – 1) s 2 2 n 1 + n 2 - 2 S 2 pooled = (9 – 1) (2.25) + (9 – 1) (3) 9 + 9 - 2 S p 2 = 2.625 Step 4: Calculate observed t-score

35 Mean= 24 Big Meal 22 25 22 25 22 25 Small meal 19 23 21 19 23 21 19 23 21 Mean= 21 S p 2 = 2.625 24 - 21 2.625 99 = 24 – 21 0.7638 = 3.928 S 2 1 = 2.25 S 2 2 = 3.00 Step 4: Calculate observed t-score

36 Step 5: Make decision whether or not to reject null hypothesis 3.928 is farther out on the curve than 2.120 so, we do reject the null hypothesis t(16) = 3.928; p < 0.05 Observed t = 3.928 Critical t = 2.120 Summarizing your t-test results

37 We compared test scores for large and small meals. The mean test score for the big meal was 24, and was 21 for the small meal. A t-test was calculated and there was a significant difference in test scores between the two types of meals t(16) = 3.928; p < 0.05 Summarizing your t-test results Step 6: Conclusion

38 Let’s run more subjects using our excel!

39 Finding Means Let’s run more subjects using our excel!

40 This is variance for each sample (Remember, variance is just standard deviation squared) Please note: “Pooled variance” is just like the average of the two sample variances, so notice that the average of 2.25 and 3 is 2.625

41 Let’s run more subjects using our excel! This is “n” for each sample (Remember, “n” is just number of observations for each sample) df = “degrees of freedom” Remember, “degrees of freedom” is just (n-1) for each sample. So for sample 1: n-1 =9-1 = 8 And for sample 2: n-1=9-1 = 8 Then, df = 8+8=16 This is “n” for each sample (Remember, “n” is just number of observations for each sample)

42 Finding degrees of freedom Let’s run more subjects using our excel!

43 Finding Observed t Let’s run more subjects using our excel!

44 Finding Critical t Let’s run more subjects using our excel!

45 Remember, if the “t Stat” is bigger than the “t Critical” then we “reject the null”, and conclude we have a significant effect

46 Finding p value (Is it less than.05?) Let’s run more subjects using our excel!

47 In this case, p = 0.0012 which is less than 0.05, so we “do reject the null” Remember, if the “p” is less than 0.05 then we “reject the null”, and conclude we have a significant effect

48 We compared test scores for large and small meals. The mean test score for the big meal was 24, and was 21 for the small meal. A t-test was calculated and there was a significant difference in test scores between the two types of meals t(16) = 3.928; p < 0.05 Let’s run more subjects using our excel!

49 What happened? We ran more subjects: Increased n So, we decreased variability Easier to find effect significant even though effect size didn’t change Big sampleSmall sample This is the sample size

50 What happened? We ran more subjects: Increased n So, we decreased variability Easier to find effect significant even though effect size didn’t change Big sampleSmall sample 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)

51 Another format option Independent samples t-test Big Meal versus Small Meal Will use the sort function

52 Another format option Independent samples t-test Big Meal versus Small Meal Will use the sort function

53 Another format option Independent samples t-test Big Meal versus Small Meal Will use the sort function

54 Independent samples t-test Male versus Female Students Another format option Will use the sort function

55 Independent samples t-test Male versus Female Students Another format option Will use the sort function

56 The mean test score for female participants was 22.2, while the mean test score for male participants was 22.7. A t-test was completed and there appears to be no significant difference in the test scores as a function of gender, t(16) = -0.523; n.s.

57 Homework review

58 . Homework Is there a difference in mpg between these two cars 2-tail 18 0.05 There is no difference in mpg between these two cars There is a difference in mpg between these two cars

59 α =.05 (df) = 18 Critical t (18) = 2.101 two tail test

60 . Homework Is there a difference in mpg between these two cars 2-tail 18 0.05 2.101 There is no difference in mpg between these two cars There is a difference in mpg between these two cars S 2 pooled = (n 1 – 1) s 1 2 + (n 2 – 1) s 2 2 n 1 + n 2 - 2 =.82 S 2 pooled = (10 – 1) (.80) 2 + (10 – 1) (1) 2 10 1 + 10 2 - 2 = 3.704 t = 17 – 18.5.82/10 +.82/10 = 1.5.4049691

61 . Homework The average mpg is 18.5 for the Ford Explorer and 17.0 for the Expedition. A t-test was conducted and found this difference to be significantly different, t(18) = 3.70; p < 0.05 Yes Is there an increase in foot size from 1960 to 1980 Is there no difference (or a decrease) in foot size from 1960 to 1980 There is an increase in foot size from 1960 to 1980 2-tail 22 0.05

62 α =.05 (df) = 22 Critical t (22) = 1.717 one tail test

63 . Homework The average mpg is 18.5 for the Ford Explorer and 17.0 for the Expedition. A t-test was conducted and found this difference to be significantly different, t(18) = 3.70; p < 0.05 Yes Is there an increase in foot size from 1960 to 1980 Is there no difference (or a decrease) in foot size from 1960 to 1980 There is an increase in foot size from 1960 to 1980 2-tail 22 0.05 1.717

64 . Homework Yes =.6201 =.4502 =.2936 S 2 pooled = (12 – 1) (.6201) 2 + (12 – 1) (4502) 2 12 1 + 12 2 - 2 = 2.26 t = 8.208 – 7.708.2936/12 +.2936/12 = 0.5.2212 Yes The average foot size for women in 1960 is 7.7, while the average foot size for women in 1980 is 8.2. A t-test was conducted and found that the increase in foot size is statistically significant, t(22) = 2.26; p < 0.05

65 . Homework

66 .

67 . Type of instruction Exam score 50 0.05 2-tail 2.66 2.02 40 38 p = 0.0113 yes CAUTION This is significant with alpha of 0.05 BUT NOT WITH alpha of 0.01 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

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

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

70 If this is less than.05 (or whatever alpha is) it is significant, and we the reject null df = (n 1 – 1) + (n 2 – 1) = (165 - 1) + (120 -1) = 283 Reporting t-test results

71 Have a safe and happy spring break Happy Spring Break!.

72


Download ppt "Lecturer’s desk INTEGRATED LEARNING CENTER ILC 120 Screen 11 10 2 1 98 7 6 5 13 12 15 14 17 16 19 18 4 3 Row A Row B Row C Row D Row E Row F Row G Row."

Similar presentations


Ads by Google