Presentation is loading. Please wait.

Presentation is loading. Please wait.

Pp # 5 CHAPT 7 Hypothesis Testing Applied to Means

Similar presentations


Presentation on theme: "Pp # 5 CHAPT 7 Hypothesis Testing Applied to Means"— Presentation transcript:

1 Pp # 5 CHAPT 7 Hypothesis Testing Applied to Means
1. Single Sample or One Sample t-Test AKA student t-test. 2. Two Independent sample t-Test, AKA Between Subject Designs or Matched subjects Experiment. 3. Related Samples t-test or Repeated Measures Experiment AKA Within Subject Designs or Paired Sample t-Test .

2 Degrees of Freedom df=n-1

3 Assumption of the t-test (Parametric Tests)
1.The Values in the sample must consist of independent observations. 2. The population sample must be normal. 3. Use a large sample n ≥ 30

4 1.The Values in the sample must consist of independent observations.

5 2. The population sample must be normal.

6 Standard Error (σM) The standard Deviation of the distribution of sample means (σM) is called Standard Error of M (σM). The standard error provides a measure of how much distance is expected on average between sample means (M) and the population mean (µ). σM= σ/√n

7 The estimated Standard Error (SM)
The estimated Standard Error (SM) is used as an estimate of the real Standard Error of M (σM) when the value of σ is unknown. It is computed using the sample variance or sample standard deviation and provides an estimate of the standard distance between a sample means (M), and the population mean (µ). SM= S/√n or SM= √S²/n

8 The estimated Standard Error (SM)
Z=(X-µ)/σM or Z= Obtained difference between data and hypothesis/Standard Distance between M and µ.

9 Calculations for t-test

10 FYI HYPOTHESIS for Z

11 FYI Steps in Hypothesis-Testing Step 1: State The Hypotheses
H0 : µ ≤ 100 average H1 : µ > 100 average Statistics: Because the Population mean or µ is known the statistic of choice is z-Score

12 FYI Hypothesis Testing Step 2: Locate the Critical Region(s) or Set the Criteria for a Decision

13 FYI Directional Hypothesis Test

14 FYI None-directional Hypothesis Test

15 FYI Hypothesis Testing Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics Z Score for Research ZZZ 

16 FYI Hypothesis Testing Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics

17 Calculations for t-test Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics

18 Hypothesis Testing Step 4: Make a Decision

19 Inferential Statistics t-Static Single Sample or One Sample t-Test
t-test is used to test hypothesis about an unknown population mean (µ) when the value of σ or σ² is unknown (we estimate them by using S or S²). Ex. Is this year class know more about STATS than the last year? Mean for the last year class µ=85 Mean for this year class M=88 Note: We don’t know what the average/mean STATS score should be for the population. We only compare this year scores with the last year. ****Sample data can only be considered as estimates of population values.**** Inferential Statistics t-Static Single Sample or One Sample t-Test

20

21 FYI Variability SS, Standard Deviations and Variances
X σ² = ss/N Pop σ = √ss/N 2 s = √ss/df s² = ss/n-1 or ss/df Sample SS=Σx²- (Σx)²/N SS=Σ( x-μ)² Sum of Squared Deviation from Mean

22 FYI d=Effect Size for Z For t-test Use S instead of σ (next slide)

23 Cohen's d and Effect Size
d=Effect Size/Cohn’ d Cohen's d and Effect Size A statistically significant result does not mean that the result is practically significant (treatment effect). To correct this problem, it is recommended that whenever researchers report a statistically significant effect, they also provide a report of the effect size (see the guidelines presented by L. Wilkinson and the APA Task Force on Statistical Inferences, 1999). Therefore for different hypothesis test (test statistics) there are different options for measuring and reporting effect size.

24 Use Phi Coefficient and Cramer,s V for Chi Square
d=Effect Size/Cohn’ d The “effect size” gives an indication of whether something is practically significant. There are different ways of calculating an effect size. r which is the correlation coefficient or R² which is the coefficient of determination Use Eta squared ή² for ANOVA Use Cohen’s d for t-test Use Phi Coefficient and Cramer,s V for Chi Square

25 Evaluating effect size with Cohen’s d
Magnitude of d Evaluation of effect size d= 0.2 Small effect (mean difference around 0.20 standard deviation) d= 0.5 Medium effect (mean difference around 0.5 standard deviation) d= 0.8 Large effect (mean difference around 0.8 standard deviation)

26 percentage of Variance accounted for by the Treatment
Percentage of Variance Explained r²=  Small Effect r²=  Medium Effect r²=  Large Effect

27 Cohn’s d=Effect Size for Single Sample t Use S instead of σ for t-test
d = (M - µ) S S= (M - µ) d M= (d . s) + µ µ= (M – d) s

28 Percentage of Variance Accounted for by the Treatment (similar to Cohen’s d) Also known as ω² Omega Squared (power of a test)

29 Problem 1 A supervisor has prepared an “Optimism Test” that is administered yearly to factory employees. The test measures how each employee feels about its future. The higher the score, the more optimistic the employee. Last year’s employees had a mean score of μ=15. A sample of n=9 employees from this year was selected and tested..

30 Problem 1 The scores for these employees are 7, 12, 11, 15, 7, 8, 15, 9, and 6, which produced a sample mean of M=10 with SS=94. On the basis of this sample, can the supervisor conclude that this year’s employees has a different level of optimism? Alpha =0.05, two tailed Note that this hypothesis test will use a t-statistic because the population variance σ² is not known (S²). USE SPSS Set the level of significance at α=.05 for two tails

31 Null Hypothesis t-Statistic: If the Population mean or µ and the sigma are unknown the statistic of choice will be t-Static 1. Single (one) Sample t-statistic (test) Step 1 H0 : µ optimism = 15 H1 : µ optimism ≠ 15

32 Step 2 Locate the Critical regions

33 Calculations for t-test Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics M-μ t= s Sm Sm= or √n df=n-1 s² = SS/df Sm= estimated standard error of the mean

34 Step 4 Make a Decision Step 2

35

36

37

38

39 Bootstrap Bootstrapping is a method for deriving robust estimates of standard errors and confidence intervals for estimates such as the mean, median, proportion, odds ratio, correlation coefficient or regression coefficient.

40 Problem 2 Infants, even newborns prefer to look at attractive faces (Slater, et al., 1998). In the study, infants from 1 to 6 days old were shown two photographs of women’s face. Previously, a group of adults had rated one of the faces as significantly more attractive than the other. The babies were positioned in front of a screen on which the photographs were presented. The pair of faces remained on the screen until the baby accumulated a total of 20 seconds of looking at one or the other. The number of seconds looking at the attractive face was recorded for each infant.

41 Problem 2 Attractive M=13 S=3

42 Problem 2 Suppose that the study used a sample of n=9 infants and the data produced an average of M=13 seconds for attractive face with S=3. Set the level of significance at α=0.01 and then 0.05 for two tailed Note that all the available information comes from the sample. Specifically, we do not know the population mean μ or the population standard deviation σ. On the basis of this sample, can we conclude that infants prefer to look at attractive faces?

43 Null Hypothesis t-Statistic: If the Population mean or µ and the sigma are unknown the statistic of choice will be t-Static 1. Single (one) Sample t-statistic (test) Step 1 H0 : µ attractive = 10 seconds H1 : µ attractive ≠ 10 seconds

44 STEP 2None-directional Hypothesis Test Critical value of t=2.306

45 Calculations for t-test Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics

46 Hypothesis Testing Step 4: Make a Decision

47

48

49

50

51 t-Stats 1. Single Sample or One Sample t-Test AKA student t-test. 2. Two Independent sample t-Test, AKA Between Subject Designs or Matched subjects Experiment. 3. Related Samples t-test or Repeated Measures Experiment AKA Within Subject Designs or Paired Sample t-Test .

52 2. Two Independent sample t-Test
AKA Between Subject Designs or Matched subjects Experiment

53 t-test ANOVA

54

55 Two Independent Sample t-test
An independent measures study uses a separate group of participants (samples) to represent each of the populations or treatment conditions being compared.

56 Two Independent Sample t-test
Null Hypothesis: If the Population mean or µ is unknown the statistic of choice will be t-Static Two independent sample t-test, Matched-Subject Experiment, or Between Subject Design Step 1 H0 : µ1 -µ2 = 0 H1 : µ1 -µ2 ≠ 0

57 None-directional Hypothesis Test
Step 2

58 STEP 3

59 Estimated Standard Error S(M1-M2)
The estimated standard error measures how much difference is expected, on average, between a sample mean difference and the population mean difference. In a hypothesis test, µ1 - µ2 is set to zero and the standard error measures how much difference is expected between the two sample means.

60 Estimated Standard Error
S(M1-M2)=

61 (1) Pooled Variance

62 (2) Pooled Variance

63 Step 4

64 Measuring d=Effect Size for the independent measures

65 Estimated d

66 Estimated d

67

68 Percentage of Variance Accounted for by the Treatment (similar to Cohen’s d) Also known as ω² Omega Squared

69 Problem 1 Research results suggest a relationship
Between the TV viewing habits of 5-year-old children and their future performance in high school. For example, Anderson, Huston, Wright & Collins (1998) report that high school students who regularly watched Sesame Street as children had better grades in high school than their peers who did not watch Sesame Street.

70 Problem 1 The researcher intends to examine this phenomenon using a sample of 20 high school students. She first surveys the students’ s parents to obtain information on the family’s TV viewing habits during the time that the students were 5 years old. Based on the survey results, the researcher selects a sample of n1=10

71 Use non-directional or two-tailed test
Problem 1 students with a history of watching “Sesame Street“ and a sample of n2=10 students who did not watch the program. The average high school grade is recorded for each student and the data are as follows: Set the level of significance at α=.05 and Use non-directional or two-tailed test

72 Problem 1 Average High School Grade Watched Sesame St (1). Did not Watch Sesame St.(2) n1=10 n2=10 M1=93 M2= 85 SS1=200 SS2=160

73 Two Independent Sample t-test
Null Hypothesis: Two Independent Sample t-test, Matched-Subject Experiment, or Between Subject Design Step 1. H0 : µ1 -µ2 = 0 H1 : µ1 -µ2 ≠ 0

74 Two Independent Sample t-test
Null Hypothesis: Two independent sample t-test, Matched-Subject Experiment, or Between Subject Design  directional or one-tailed test Step 1. H0 : µ Sesame St . ≤ µ No Sesame St. H1 : µ Sesame St. > µ No Sesame St.

75 Step 2

76 STEP 3

77 Estimated Standard Error
S(M1-M2)=

78 (1) Pooled Variance s² P

79 Estimated Standard Error
S(M1-M2)=

80 Step 4

81

82

83

84

85 Measuring d=Effect Size for the independent measures

86 FYI We use the Point-Biserial Correlation (r) when one of our variable is dichotomous, in this case (1) watched Sesame St. and (2) didn’t watch Sesame St.

87 Problem 2 In recent years, psychologists have demonstrated repeatedly that using mental images can greatly improve memory. Here we present a hypothetical experiment designed to examine this phenomenon. The psychologist first prepares a list of 40 pairs of nouns (for example, dog/bicycle, grass/door, lamp/piano). Next, two groups of participants are obtained (two separate samples). Participants in one group are given the list for 5 minutes and instructed to memorize the 40 noun pairs.

88 Problem 2 Participants in another group receive the same list of words, but in addition to the regular instruction, they are told to form a mental image for each pair of nouns (imagine a dog riding a bicycle, for example). Later each group is given a memory test in which they are given the first word from each pair and asked to recall the second word. The psychologist records the number of words correctly recalled for each individual. The data from this experiment are as follows: Set the level of significance at α=.01 for two tailed test.

89 Problem 2 Data (Number of words recalled) Group 1 (Images) Group 2 (No Images) n1=12 n2=12 M1=26 M2= 18 SS1=200 SS2=160

90 Two Independent Sample t-test
Null Hypothesis: Step 1 H0 : µ1 -µ2 = 0 H1 : µ1 -µ2 ≠ 0

91 Step 2

92 STEP 3

93 (1) Pooled Variance s² P

94 Estimated Standard Error
S(M1-M2)=

95 Step 4

96

97

98


Download ppt "Pp # 5 CHAPT 7 Hypothesis Testing Applied to Means"

Similar presentations


Ads by Google