Inferences About Differences Between Means Edpsy 580

Size: px
Start display at page:

Download "Inferences About Differences Between Means Edpsy 580"

Transcription

1 Inferences About Differences Between Means Edpsy 580 Carolyn J. Anderson Department of Educational Psychology University of Illinois at Urbana-Champaign Inferences About Differences Between Means Slide 1 of 63

2 Outline General template Two Independent populations Large sample Any size sample Normality Homogeneity of variance Independence of observations SAS and s Power of. Inferences About Differences Between Means Slide 2 of 63

3 Statistical Hypotheses: null & alternative Statistical Hypotheses Test Statistic Select α level: before you look at data. Assumptions: think critically Test statistic: choose appropriate one Sampling distribution of test statistic: needed for p-values, CI, power Decision: reject, retain or uncertain Interpretation: in context of research question(s) Inferences About Differences Between Means Slide 3 of 63

4 Statistical Hypotheses Statistical Hypotheses Test Statistic Hypotheses of the form or equivalently, H o : µ 1 = µ 2 H o : µ 1 µ 2 = 0 means are the same no difference between means Different cases: Sample size. Assumptions about the population distribution. Inferences About Differences Between Means Slide 4 of 63

5 Test Statistic Statistical Hypotheses Test Statistic General form of (many) test statistics: test statistic = (sample statistic) (null hypothesis value) standard deviation of sample statistic t ratio t statistic Inferences About Differences Between Means Slide 5 of 63

6 Independent or Dependent? Independent vs Dependent Are the mean reading scores of high school seniors attending public schools the same as those students attending private schools? A group of patients suffering from high blood pressure are randomly assigned to either a treatment group or control group. Those assigned to the treatment group get a new drug while those assigned to the control receive the standard drug. Is the mean blood pressure lower with the new drug? Inferences About Differences Between Means Slide 6 of 63

7 Independent vs Dependent Independent or Dependent? Independent vs Dependent A sample of students are given a pre-test and then receive instruction on using SAS. To assess whether the instruction was effective, after completing the class, students take a second test. Are the test scores after the class better than those before the class. Students are randomly assigned to one of 2 instructional methods (eg, book & exercises or computer/multi-media presentation & practice problems). We want to assess whether the methods differ in terms of how much students learn. All students are given a pre-test and a pos and are interested in whether the mean change scores are different for the two instructional methods. Inferences About Differences Between Means Slide 7 of 63

8 For both large and small sample cases... Independent vs Dependent Statistical Hypotheses: H o : population 1 mean = population 2 mean H o : µ 1 = µ 2 Or equivalently, H o : there s no difference between means H o : µ 1 µ 2 = 0 Also need to specify the alterative hypotheses. Inferences About Differences Between Means Slide 8 of 63

9 Assumptions for : Independent vs Dependent Observations are independent Between populations, i.e., Y i1 and Y i2. Within populations, i.e. Y ij and Y kj for i k and both j = 1, 2. Since sizes n 1 and n 2 are both large, by the CLT The sampling distribution of Ȳ 1 N(µ 1, σ 2 1/n 1 ) The sampling distribution of Ȳ 2 N(µ 2, σ 2 2/n 2 ) Inferences About Differences Between Means Slide 9 of 63

10 Test Statistic: Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic The parameters of interest: (µ 1 µ 2 ). Sample statistic (Ȳ 1 Ȳ 2 ) is an estimate of (µ 1 µ 2 ). If H o is true, then (Ȳ 1 Ȳ 2 ) should be close to 0. Test statistic, t = (Ȳ 1 Ȳ 2 ) 0 s (Ȳ1 Ȳ 2 ) = (Ȳ 1 Ȳ 2 ) s (Ȳ1 Ȳ 2 ) Inferences About Differences Between Means Slide 10 of 63

11 Test Statistic : What does s (Ȳ1 Ȳ 2 ) equal? Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic FACT: If Ȳ1 and Ȳ2 are independent, then variance of a sum = sum of variances var(ȳ1 Ȳ2) = σ 2 (Ȳ1 Ȳ2) = σ 2 Ȳ 1 + σ 2 Ȳ 2 Unbiased estimators of σ1 2 and σ2, 2 s 2 1 = 1 n 1 1 n 1 i=1 (Y i1 Ȳ1) 2 s 2 2 = 1 n 2 1 n 2 i=1 (Y i2 Ȳ2) 2 Inferences About Differences Between Means Slide 11 of 63

12 Estimating s (Ȳ1 Ȳ 2 ) : Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic var(ȳ 1 Ȳ 2 ) = σ 2 (Ȳ1 Ȳ2) = σ2 Ȳ 1 + σ 2 Ȳ 2 s 2 1/n 1 is an unbiased estimator of σ 2 1/n 1 = σ 2 Ȳ 1 s 2 2/n 2 is an unbiased estimator of σ 2 2/n 2 = σ 2 Ȳ 2 Unbiased Estimator of σ 2 (Ȳ1 Ȳ2) ( ) s s2 2 = s 2 Ȳ n 1 n. 1 Ȳ2 2 Inferences About Differences Between Means Slide 12 of 63

13 Test Statistic : Estimator of σ (Ȳ1 Ȳ 2 ) Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic Test statistic s Ȳ1 Ȳ 2 = t = (Ȳ 1 Ȳ 2 ) 0 s Ȳ1 Ȳ 2 = ( ) s s2 2 n 1 n 2 Ȳ 1 Ȳ 2 ( ) s 2 1 n 1 + s2 2 n 2 Inferences About Differences Between Means Slide 13 of 63

14 Sampling Distribution of Test Statistic : Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic When H o is true, n 1 and n 2 are large, (and our assumptions are valid), then Alternatively by the CLT, Ȳ 1 normal for large n 1 Ȳ 2 normal for large n 2 test statistic: t N(0, 1) (Ȳ 1 Ȳ 2 ) normal for large n 1 and n 2. Inferences About Differences Between Means Slide 14 of 63

15 Example: 2 Independent. Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic HSB data: Test whether mean Math T-scores of High School seniors attending public and private schools are the same. Public Schools n 1 = 506 n 2 = 94 Private Schools Ȳ 1 = Ȳ 2 = s 2 1 = s 2 2 = Inferences About Differences Between Means Slide 15 of 63

16 Example: 2 Independent Test Statistic Statistical Hypotheses: H o : µ 1 µ 2 = 0 versus H 1 : µ 1 µ 2 0 Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic Assumptions: Public: Y 11, Y 21,...,Y n1 1 are independent and come from a population with mean µ 1 and variance σ 2 1. Private: Y 12, Y 22,...,Y n2 2 are independent and come from a population with mean µ 2 and variance σ 2 2. Y i1 and Y i2 are independent between populations. Inferences About Differences Between Means Slide 16 of 63

17 Example: 2 Independent Test statistic: t = (91.74/506) + (67.16/94) = = Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic Sampling distribution: If H o is true and since n 1 and n 2 are both large, the test statistic is approximately distributed as a standard normal random variable. Decision: Since z = is the critical value for a two-tailed test with α =.05 (or p-value <.05 or p-value =.007), reject H o. Inferences About Differences Between Means Slide 17 of 63

18 Example: 2 Independent Test Statistic Estimating s ( Ȳ 1 Ȳ2 ) Test Statistic Sampling Distribution of Test Statistic Interpretation/conclusion: The data support the hypothesis that students attending public and private schools differ in terms of mean Math achievement test scores. The 95% confidence interval for the difference, (Ȳ1 Ȳ2) ± z α/2ˆσ (Ȳ1 Ȳ 2 ) 2.56 ± 1.96(.95) ( 4.42,.70) Do public or private schools have higher means on math achievement test scores? Inferences About Differences Between Means Slide 18 of 63

19 Hypotheses: H o : µ 1 = µ 2 or µ 1 µ 2 = 0 H a : µ 1 µ 2 or µ 1 µ 2 0 (< or >) Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample Assumptions: or Independent observations between and within populations. Population distributions of variables are Normal. Equal variances or homogeneous variances. Y i1 N(µ 1, σ 2 ) i.i.d. Y i2 N(µ 2, σ 2 ) i.i.d. Inferences About Differences Between Means Slide 19 of 63

20 Two Independent Population Statistical Hypotheses: Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample H o : µ 1 = µ 2 or µ 1 µ 2 = 0 H a : µ 1 µ 2 or µ 1 µ 2 0 (< or >) Assumptions: Independence between and within populations. Population distributions of variables are Normal. Equal variances or homogeneous variances, i.e., Y i1 N(µ 1, σ 2 ) i.i.d. Y i2 N(µ 2, σ 2 ) i.i.d. Inferences About Differences Between Means Slide 20 of 63

21 Test Statistic: t = Ȳ1 Ȳ 2 s Ȳ1 Ȳ 2 Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample What does s Ȳ1 Ȳ 2 equal? Variance of sum = sum of variances σ 2 Ȳ 1 Ȳ2 = σ2 1 n 1 + σ2 2 n 2 = σ2 n 1 + σ2 n 2 s 2 1 and s 2 2 are both estimators of σ 2 Pool information to get a better estimate. Inferences About Differences Between Means Slide 21 of 63

22 Pooled (Within) Variance s 2 pool = n1 i=1 (Y i1 Ȳ1) 2 + n 2 i=1 (Y i2 Ȳ2) 2 n 1 + n 2 2 Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample = (n 1 1)s (n 2 1)s 2 2 n 1 + n 2 2 = s 2 w within groups Expected value of s 2 pool : E(s2 pool ) = E(s2 w) = σ 2 The estimator of σ 2 Ȳ 1 Ȳ2, s 2 Ȳ 1 Ȳ 2 = s2 w n 1 + s2 w n 2 = s 2 w ( 1 n n 2 ) Inferences About Differences Between Means Slide 22 of 63

23 So s Ȳ1 Ȳ 2 = ( s 2 w + s2 w 1 = s w + 1 ) n 1 n 2 n 1 n 2 Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample The test statistic, t = Ȳ 1 Ȳ2 ( ) 1 s w n n 2 If H o is true and assumptions are valid, then the Sampling Distribution of the test statistic Student s t with degrees of freedom ν = (n 1 1) + (n 2 1) = n 1 + n 2 2 Inferences About Differences Between Means Slide 23 of 63

24 A random sample of n 1 = 10 students from private schools and n 2 = 10 from public schools from HSB data. Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample Public Schools Private Schools n 1 = 10 n 2 = 10 Ȳ 1 = Ȳ 2 = s 2 1 = s 2 2 = Inferences About Differences Between Means Slide 24 of 63

25 Example: Small Sample Statistical hypotheses: H o : µ 1 µ 2 = 0 versus H a : µ 1 µ 2 0 Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample Assumptions: Observations from public & private schools are independent within school type and between types. Observations come from populations that are normal. The variance of math test scores at public schools equals the variance of scores at private schools. Inferences About Differences Between Means Slide 25 of 63

26 Example: Small Sample Test statistic: s 2 w = (10 1)(119.15) + (10 1)( ) ( ) = Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample t = (1/10 + 1/10) = =.321 Sampling Distribution of t is Students t distribution with degrees of freedom ν = = 18. Decision: Critical t-value for α =.05 and ν = 18 is (or p-value =.75); retain H o. Conclusion: The data do not support the conclusion that math scores for students attending public and private schools differ. Inferences About Differences Between Means Slide 26 of 63

27 Example: Small Sample Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample Inferences About Differences Between Means Slide 27 of 63

28 Large vs Test Assumptions: There are fewer assumptions for large sample test. Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample Large Sample Any size (small) sample 1 Independence between and Independence between and within groups within groups 2 Sampling distribution of means Population distributions of variable is approximately normal (by are normal C.L.T.) 3 homogeneous variance (σ1 2 = σ2) 2 Inferences About Differences Between Means Slide 28 of 63

29 Large vs Test Sampling distribution of the test statistic differs. Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample For large sample = standard normal. For any size sample = Students s t distribution. Our example... Inferences About Differences Between Means Slide 29 of 63

30 Any Size using Large Sample Any size sample size method with the full sample (i.e, n = 600), s 2 w = s 2 pool = 505( ) + 93( ) = Two Independent Pooled (Within) Variance Large vs Test Large vs Test Any Size using Large Sample s Ȳ1 Ȳ 2 = t = ( ) 94 = = with ν = = 598 Large sample method s Ȳ1 Ȳ 2 =.95 and t = Inferences About Differences Between Means Slide 30 of 63

31 SAS/ASSIST: Input data into working memory. SAS/ANALYST SAS COMMANDS One the main toolbar: Solutions ASSIST Data Analysis ANOVA s Compare two group means: Active Data Set (select one). Dependent Variable. Classification (the group or population). RUN Inferences About Differences Between Means Slide 31 of 63

32 SAS/ANALYST Input data into working memory. SAS/ANALYST SAS COMMANDS One the main toolbar Solutions Analysis Analyst File Open by SAS name & select your data set On (Analyst) toolbar Statistics Hypothesis tests Two-sample for means fill in boxes OK Inferences About Differences Between Means Slide 32 of 63

33 SAS COMMANDS PROC TTEST data =HSB; CLASS sctyp; VAR math ; RUN; SAS/ANALYST SAS COMMANDS Inferences About Differences Between Means Slide 33 of 63

34 Mostly a concern with small samples (any size sample method). Effects and how to deal with it. Violations of Normality Homogeneity of Variance Homogeneity of Variance Quasi or Welch s Quasi or Welch s Violation of Independence Assumption The assumptions we ll discuss: Normality of sampling distribution of means Homogeneity of variance Independence within and between groups. Inferences About Differences Between Means Slide 34 of 63

35 Violations of Normality Effects: Violations of Normality Homogeneity of Variance Homogeneity of Variance Quasi or Welch s Quasi or Welch s Violation of Independence Assumption is robust. The stated or nominal α-level is very similar to the actual α-level, so long as n 1 and n 2 are moderately large. Departure from normality can have more of an effect with 1-tailed test than a 2-tailed test. Remedies: Get larger samples (so you can use any size test). Perform non-parametric test where you don t make the normality assumptions (i.e., Mann-Whitney). Inferences About Differences Between Means Slide 35 of 63

36 Homogeneity of Variance Effects for three cases where σ 2 1 σ 2 2: When n 1 = n 2 and σ 2 1 > σ 2 2, the is robust. Violations of Normality Homogeneity of Variance Homogeneity of Variance Quasi or Welch s Quasi or Welch s Violation of Independence Assumption When n 1 > n 2 and σ 2 1 > σ 2 2, the is conservative with respect to type I errors. (i.e., you make fewer type I errors than you would expect). When n 1 < n 2 and σ 2 1 > σ 2 2, the is liberal with respect to type I errors. (i.e., you make more type I errors than you would expect). When σ 2 1 σ 2 2: The greater the difference between σ 2 1 and σ 2 2, the further off the α-levels. The greater the difference between n 1 and n 2, the further off the α-levels. Inferences About Differences Between Means Slide 36 of 63

37 Homogeneity of Variance Remedies Take larger samples (& do large sample test). Violations of Normality Homogeneity of Variance Homogeneity of Variance Quasi or Welch s Quasi or Welch s Violation of Independence Assumption Use a non-parameteric test (i.e, Mann-Whitney). Perform a Quasi or Welch s t test. In SAS, it s called approximate t statistic for unequal variances Inferences About Differences Between Means Slide 37 of 63

38 Quasi or Welch s Violations of Normality Homogeneity of Variance Homogeneity of Variance Quasi or Welch s Quasi or Welch s Violation of Independence Assumption is same as the (for any size), except When computing the test statistic, use s = Ȳ1 s 2 Ȳ2 Ȳ 1 + s 2 s 2 1 Ȳ 2 = + s2 2 n 1 n 2 Adjust the degrees of freedom ν = s2 Ȳ 1 + s 2 Ȳ 2 (s 2 Ȳ 1 ) 2 ν 1 + (s2 Ȳ 2 ) 2 ν 2 to nearest integer. Inferences About Differences Between Means Slide 38 of 63

39 Quasi or Welch s In SAS/PROC TTEST, this corresponds to df for Satterthwaite or df and p-value for unequal variances. The test statistic is compared to Student s t distribution with the degrees of freedom give above. Violations of Normality Homogeneity of Variance Homogeneity of Variance Quasi or Welch s Quasi or Welch s Violation of Independence Assumption SAS commands: PROC TTEST data =HSB cochran; CLASS sctyp; VAR math ;... look at output. Inferences About Differences Between Means Slide 39 of 63

40 Violation of Independence Assumption Within groups = big problem; beyond scope of this course. Between groups = Violations of Normality Homogeneity of Variance Homogeneity of Variance Quasi or Welch s Quasi or Welch s Violation of Independence Assumption Paired comparison or dependent (if appropriate) If paired comparison test not applicable/appropriate, Big problem. Inferences About Differences Between Means Slide 40 of 63

41 Paired Comparisons Situation: Have pairs of individuals (experimental units, subjects, etc) and you measure a variable on each member of the pair. =1 Population t Test Inferences About Differences Between Means Slide 41 of 63 Husband & wife and measure of marital satisfaction (are they the same?) Mother s & father s scores on a measure of authoritarian parenting style. Pre- and pos scores to assess effectiveness of instruction or an intervention. Twins raised apart and a measure of cognitive ability.

42 Paired Comparisons Note: by design n 1 = n 2 = n. Statistical Hypotheses: Three equivalent Null hypotheses: H o : µ diff = 0 where µ diff = E(D i ) and D i = Y i1 Y i2 =1 Population t Test Inferences About Differences Between Means Slide 42 of 63 or H o : µ 1 = µ 2 or H o : µ 1 µ 2 = 0 H a can be 1 or 2 tailed. i.e., H a : µ 1 < µ 2 or µ 1 µ 2 < 0 H a : µ 1 > µ 2 or µ 1 µ 2 > 0 H a : µ 1 µ 2 or µ 1 µ 2 0

43 Paired Comparisons Assumptions: Independence of observations across pairs (within groups). Observations between groups (maybe) dependent. =1 Population t Test Inferences About Differences Between Means Slide 43 of 63 The variable is normally distributed in each population. ie. i = 1, 2,...,n. Y i1 N(µ 1, σ 2 1) i.i.d Y i2 N(µ 2, σ 2 2) i.i.d.

44 Paired Comparisons Notes regarding the assumptions: σ 2 1 does not have to equal σ 2 2. The correlation between Y i1 and Y i2 is not necessarily 0. =1 Population t Test Inferences About Differences Between Means Slide 44 of 63

45 Paired Comparisons Test Statistic: The t statistic: t = Ȳ1 Ȳ 2 s Ȳ1 Ȳ 2 = ȲD s ȲD The t statistic on the far right is the same as the one population t ratio/statistic. =1 Population t Test Inferences About Differences Between Means Slide 45 of 63 The standard error of the mean difference is the square root of s 2 Ȳ D = s 2 Ȳ 1 + s 2 Ȳ 2 2cov(Ȳ 1, Ȳ 2 ) = s 2 Ȳ 1 + s 2 Ȳ 2 2r 12 s Ȳ1 s Ȳ2 where r 12 is the correlation between Y 1 and Y 2.

46 Paired Comparisons Sampling Distribution of test statistic is Student s t distribution with ν = n 1. Decision & Conclusion:... same as other tests. =1 Population t Test Inferences About Differences Between Means Slide 46 of 63

47 Comments Regarding The paired comparison is equivalent to computing difference scores for each pair and doing a one sample on mean difference scores.... =1 Population t Test Inferences About Differences Between Means Slide 47 of 63 Sample statistics, D = 1 n n (Y i1 Y i2 ) = 1 n i=1 s D = s 2 D n = n i=1 D i n i=1 (D i D) 2 /(n 1) n

48 = 1 Population t Test Hypotheses: H o : µ D = 0 vs H a : µ D 0. Test statistic, t = D 0 s D = D s D =1 Population t Test Inferences About Differences Between Means Slide 48 of 63 Sampling distribution of test statistic is Student s t distribution with ν = n 1

49 Example: Paired Comparison The girls in the HSB data set and suppose we re interested in whether the girls mean science score is the same as their math score. There are n = 327 girls and =1 Population t Test Inferences About Differences Between Means Slide 49 of 63 Science Math Difference Scores Ȳ 1 = Ȳ 2 = D = s 1 = s 2 = s D = s Ȳ1 =.5097 s Ȳ2 =.5015 s D =.4221 r =.6516

50 Example: Paired Comparison For girls, H o : µ sci = µ math vs H a : µ sci µ math Assumptions are... =1 Population t Test Inferences About Differences Between Means Slide 50 of 63 α =.05 Using the writing and math statistics: s 2 Ȳ 1 Ȳ2 = s 2 Ȳ 1 + s 2 Ȳ 2 2r (Y1,Y 2 )s Ȳ1 s Ȳ2 = (.5097) 2 + (.5015) 2 2(.6516)(.5097)(.5015) =.1782 This is the same as s D =.1782 =.4221 given on previous slide.

51 Example: Paired Comparison Test Statistic using sample statistics for the science and math scores, t = = = 2.12 =1 Population t Test Inferences About Differences Between Means Slide 51 of 63 Test statistic using the difference score sample statistics, t = Ȳ1 Ȳ 2 s Ȳ1 Ȳ 2 = = 2.12 With ν = = 326, p-value P( t 2.12) =.03, or t (326,.975) = 1.97 (Note: z.975 = 1.96).

52 Example: Paired Comparison Reject H o. 95% confidence interval of plausible differences, =1 Population t Test Inferences About Differences Between Means Slide 52 of 63 Ȳ sci Ȳmath ± t (326,.975) s (Ȳsci Ȳ math ).8957 ± (.4221) ( 1.73,.07) The girls mean math scores are significantly (at the.05 level) from their science. The girls mean math scores are larger than their science scores... but is this important? SAS/ANALYST, ASSIST and commands.

53 Comments Regarding Under what circumstances can we relax the assumption that Y i1 and Y i2 come from normal distributions? =1 Population t Test Inferences About Differences Between Means Slide 53 of 63 If Y 1 and Y 2 are positively correlated, then the standard error (deviation) of (Ȳ 1 Ȳ 2 ) is smaller, which leads to a larger t statistic (more power) relative to the two independent group test. In the dependent groups test, the some variability is removed by the matching variable. Question: What if the correlation is negative?

54 Comments Regarding If the matching variable is not related to what you re measuring, then the dependent group test is bad... it has less power than independent group test & half the degrees of freedom. =1 Population t Test Inferences About Differences Between Means Slide 54 of 63 e.g. You randomly assign 20 students to one of two study methods. Your measure is a test score on material learned. Match students in pairs based on their height? Match students in pairs based on ability/iq measure?

55 For large samples (i.e., when use N(0, 1)). Example For any size samples (i.e., when use Student s t distribution). Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Inferences About Differences Between Means Slide 55 of 63

56 Power of z Test: Null Hypothesis For large samples when use N(01, ) Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Inferences About Differences Between Means Slide 56 of 63

57 Power of z Test: Alternative For large samples when use N(01, ) Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Inferences About Differences Between Means Slide 57 of 63

58 Power of z Test For large samples when use N(01, ). Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Basically, like what we did for 1 sample tests.... for a 2-tailed alternative. Find the rejection region in terms of the original scale. The Critical mean differences D crit = (Ȳ 1 Ȳ 2 ) crit = µ o ± z α/2 s diff = 0 ± z α/2 s diff Find the z-scores of ± D crit using the true mean difference, and find the area. z alternative = ± D crit µ true s differ Inferences About Differences Between Means Slide 58 of 63

59 Example: Power of z Test Dependent group using female seniors from the HSB data set. Since n girls = 327, we have a large sample so we ll use the standard normal distribution. When performing the test, Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Inferences About Differences Between Means Slide 59 of 63

60 Example: Power of z Test Under the alternative hypothesis (µ =.8957) Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Inferences About Differences Between Means Slide 60 of 63

61 Example: Power of z Test Under the alternative and null together Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Inferences About Differences Between Means Slide 61 of 63

62 Example: The Algebra What does D crit equal? D crit = µ o ± 1.96s d = 0 ± 1.96(.4221) = ±.8273 Assume that the true difference (in the population) equals.8957 (ie, µ diff =.8957). Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples z =.8273 (.8957).4221 =.1620 z = Power = Prob(z.1620) + Prob(z ) Prob(z.1620) =.56 Prob(z ) = Inferences About Differences Between Means Slide 62 of 63

63 Power for Small Samples The logic is the same. Use Student s t-distribution. Power of z Test: Null Hypothesis Power of z Test: Alternative Power of z Test Example: Power of z Test Example: Power of z Test Example: Power of z Test Example: The Algebra Power for Small Samples Possibilities: SAS/Analyst The cumulative density calculator at p value program from course web-site. SAS program functions. Inferences About Differences Between Means Slide 63 of 63

Descriptive Statistics

Descriptive Statistics Descriptive Statistics Primer Descriptive statistics Central tendency Variation Relative position Relationships Calculating descriptive statistics Descriptive Statistics Purpose to describe or summarize

More information

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means Lesson : Comparison of Population Means Part c: Comparison of Two- Means Welcome to lesson c. This third lesson of lesson will discuss hypothesis testing for two independent means. Steps in Hypothesis

More information

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING In this lab you will explore the concept of a confidence interval and hypothesis testing through a simulation problem in engineering setting.

More information

Chapter 9. Two-Sample Tests. Effect Sizes and Power Paired t Test Calculation

Chapter 9. Two-Sample Tests. Effect Sizes and Power Paired t Test Calculation Chapter 9 Two-Sample Tests Paired t Test (Correlated Groups t Test) Effect Sizes and Power Paired t Test Calculation Summary Independent t Test Chapter 9 Homework Power and Two-Sample Tests: Paired Versus

More information

Two-sample hypothesis testing, II 9.07 3/16/2004

Two-sample hypothesis testing, II 9.07 3/16/2004 Two-sample hypothesis testing, II 9.07 3/16/004 Small sample tests for the difference between two independent means For two-sample tests of the difference in mean, things get a little confusing, here,

More information

SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES

SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES SCHOOL OF HEALTH AND HUMAN SCIENCES Using SPSS Topics addressed today: 1. Differences between groups 2. Graphing Use the s4data.sav file for the first part of this session. DON T FORGET TO RECODE YOUR

More information

Comparing Means in Two Populations

Comparing Means in Two Populations Comparing Means in Two Populations Overview The previous section discussed hypothesis testing when sampling from a single population (either a single mean or two means from the same population). Now we

More information

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1. General Method: Difference of Means 1. Calculate x 1, x 2, SE 1, SE 2. 2. Combined SE = SE1 2 + SE2 2. ASSUMES INDEPENDENT SAMPLES. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n

More information

Chapter 7 Section 7.1: Inference for the Mean of a Population

Chapter 7 Section 7.1: Inference for the Mean of a Population Chapter 7 Section 7.1: Inference for the Mean of a Population Now let s look at a similar situation Take an SRS of size n Normal Population : N(, ). Both and are unknown parameters. Unlike what we used

More information

1.5 Oneway Analysis of Variance

1.5 Oneway Analysis of Variance Statistics: Rosie Cornish. 200. 1.5 Oneway Analysis of Variance 1 Introduction Oneway analysis of variance (ANOVA) is used to compare several means. This method is often used in scientific or medical experiments

More information

Statistics Review PSY379

Statistics Review PSY379 Statistics Review PSY379 Basic concepts Measurement scales Populations vs. samples Continuous vs. discrete variable Independent vs. dependent variable Descriptive vs. inferential stats Common analyses

More information

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference) Chapter 45 Two-Sample T-Tests Allowing Unequal Variance (Enter Difference) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when no assumption

More information

Nonparametric Two-Sample Tests. Nonparametric Tests. Sign Test

Nonparametric Two-Sample Tests. Nonparametric Tests. Sign Test Nonparametric Two-Sample Tests Sign test Mann-Whitney U-test (a.k.a. Wilcoxon two-sample test) Kolmogorov-Smirnov Test Wilcoxon Signed-Rank Test Tukey-Duckworth Test 1 Nonparametric Tests Recall, nonparametric

More information

THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7. THERE ARE TWO WAYS TO DO HYPOTHESIS TESTING WITH STATCRUNCH: WITH SUMMARY DATA (AS IN EXAMPLE 7.17, PAGE 236, IN ROSNER); WITH THE ORIGINAL DATA (AS IN EXAMPLE 8.5, PAGE 301 IN ROSNER THAT USES DATA FROM

More information

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test Introduction to Analysis of Variance (ANOVA) The Structural Model, The Summary Table, and the One- Way ANOVA Limitations of the t-test Although the t-test is commonly used, it has limitations Can only

More information

Non-Parametric Tests (I)

Non-Parametric Tests (I) Lecture 5: Non-Parametric Tests (I) KimHuat LIM lim@stats.ox.ac.uk http://www.stats.ox.ac.uk/~lim/teaching.html Slide 1 5.1 Outline (i) Overview of Distribution-Free Tests (ii) Median Test for Two Independent

More information

One-Way Analysis of Variance (ANOVA) Example Problem

One-Way Analysis of Variance (ANOVA) Example Problem One-Way Analysis of Variance (ANOVA) Example Problem Introduction Analysis of Variance (ANOVA) is a hypothesis-testing technique used to test the equality of two or more population (or treatment) means

More information

Section 13, Part 1 ANOVA. Analysis Of Variance

Section 13, Part 1 ANOVA. Analysis Of Variance Section 13, Part 1 ANOVA Analysis Of Variance Course Overview So far in this course we ve covered: Descriptive statistics Summary statistics Tables and Graphs Probability Probability Rules Probability

More information

Outline. Definitions Descriptive vs. Inferential Statistics The t-test - One-sample t-test

Outline. Definitions Descriptive vs. Inferential Statistics The t-test - One-sample t-test The t-test Outline Definitions Descriptive vs. Inferential Statistics The t-test - One-sample t-test - Dependent (related) groups t-test - Independent (unrelated) groups t-test Comparing means Correlation

More information

How To Compare Birds To Other Birds

How To Compare Birds To Other Birds STT 430/630/ES 760 Lecture Notes: Chapter 7: Two-Sample Inference 1 February 27, 2009 Chapter 7: Two Sample Inference Chapter 6 introduced hypothesis testing in the one-sample setting: one sample is obtained

More information

2 Sample t-test (unequal sample sizes and unequal variances)

2 Sample t-test (unequal sample sizes and unequal variances) Variations of the t-test: Sample tail Sample t-test (unequal sample sizes and unequal variances) Like the last example, below we have ceramic sherd thickness measurements (in cm) of two samples representing

More information

UNDERSTANDING THE INDEPENDENT-SAMPLES t TEST

UNDERSTANDING THE INDEPENDENT-SAMPLES t TEST UNDERSTANDING The independent-samples t test evaluates the difference between the means of two independent or unrelated groups. That is, we evaluate whether the means for two independent groups are significantly

More information

Linear Models in STATA and ANOVA

Linear Models in STATA and ANOVA Session 4 Linear Models in STATA and ANOVA Page Strengths of Linear Relationships 4-2 A Note on Non-Linear Relationships 4-4 Multiple Linear Regression 4-5 Removal of Variables 4-8 Independent Samples

More information

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing Introduction Hypothesis Testing Mark Lunt Arthritis Research UK Centre for Ecellence in Epidemiology University of Manchester 13/10/2015 We saw last week that we can never know the population parameters

More information

Chapter 2 Probability Topics SPSS T tests

Chapter 2 Probability Topics SPSS T tests Chapter 2 Probability Topics SPSS T tests Data file used: gss.sav In the lecture about chapter 2, only the One-Sample T test has been explained. In this handout, we also give the SPSS methods to perform

More information

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1) Spring 204 Class 9: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.) Big Picture: More than Two Samples In Chapter 7: We looked at quantitative variables and compared the

More information

Inference for two Population Means

Inference for two Population Means Inference for two Population Means Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison October 27 November 1, 2011 Two Population Means 1 / 65 Case Study Case Study Example

More information

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA) INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA) As with other parametric statistics, we begin the one-way ANOVA with a test of the underlying assumptions. Our first assumption is the assumption of

More information

Recall this chart that showed how most of our course would be organized:

Recall this chart that showed how most of our course would be organized: Chapter 4 One-Way ANOVA Recall this chart that showed how most of our course would be organized: Explanatory Variable(s) Response Variable Methods Categorical Categorical Contingency Tables Categorical

More information

Analysis of Data. Organizing Data Files in SPSS. Descriptive Statistics

Analysis of Data. Organizing Data Files in SPSS. Descriptive Statistics Analysis of Data Claudia J. Stanny PSY 67 Research Design Organizing Data Files in SPSS All data for one subject entered on the same line Identification data Between-subjects manipulations: variable to

More information

Data Analysis Tools. Tools for Summarizing Data

Data Analysis Tools. Tools for Summarizing Data Data Analysis Tools This section of the notes is meant to introduce you to many of the tools that are provided by Excel under the Tools/Data Analysis menu item. If your computer does not have that tool

More information

Non-Inferiority Tests for Two Means using Differences

Non-Inferiority Tests for Two Means using Differences Chapter 450 on-inferiority Tests for Two Means using Differences Introduction This procedure computes power and sample size for non-inferiority tests in two-sample designs in which the outcome is a continuous

More information

EXCEL Analysis TookPak [Statistical Analysis] 1. First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it:

EXCEL Analysis TookPak [Statistical Analysis] 1. First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it: EXCEL Analysis TookPak [Statistical Analysis] 1 First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it: a. From the Tools menu, choose Add-Ins b. Make sure Analysis

More information

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST UNDERSTANDING THE DEPENDENT-SAMPLES t TEST A dependent-samples t test (a.k.a. matched or paired-samples, matched-pairs, samples, or subjects, simple repeated-measures or within-groups, or correlated groups)

More information

Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Two-Sample T-Tests Assuming Equal Variance (Enter Means) Chapter 4 Two-Sample T-Tests Assuming Equal Variance (Enter Means) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when the variances of

More information

Multivariate Analysis of Variance. The general purpose of multivariate analysis of variance (MANOVA) is to determine

Multivariate Analysis of Variance. The general purpose of multivariate analysis of variance (MANOVA) is to determine 2 - Manova 4.3.05 25 Multivariate Analysis of Variance What Multivariate Analysis of Variance is The general purpose of multivariate analysis of variance (MANOVA) is to determine whether multiple levels

More information

Rank-Based Non-Parametric Tests

Rank-Based Non-Parametric Tests Rank-Based Non-Parametric Tests Reminder: Student Instructional Rating Surveys You have until May 8 th to fill out the student instructional rating surveys at https://sakai.rutgers.edu/portal/site/sirs

More information

Statistiek II. John Nerbonne. October 1, 2010. Dept of Information Science j.nerbonne@rug.nl

Statistiek II. John Nerbonne. October 1, 2010. Dept of Information Science j.nerbonne@rug.nl Dept of Information Science j.nerbonne@rug.nl October 1, 2010 Course outline 1 One-way ANOVA. 2 Factorial ANOVA. 3 Repeated measures ANOVA. 4 Correlation and regression. 5 Multiple regression. 6 Logistic

More information

12: Analysis of Variance. Introduction

12: Analysis of Variance. Introduction 1: Analysis of Variance Introduction EDA Hypothesis Test Introduction In Chapter 8 and again in Chapter 11 we compared means from two independent groups. In this chapter we extend the procedure to consider

More information

Nonparametric Statistics

Nonparametric Statistics Nonparametric Statistics J. Lozano University of Goettingen Department of Genetic Epidemiology Interdisciplinary PhD Program in Applied Statistics & Empirical Methods Graduate Seminar in Applied Statistics

More information

Tutorial 5: Hypothesis Testing

Tutorial 5: Hypothesis Testing Tutorial 5: Hypothesis Testing Rob Nicholls nicholls@mrc-lmb.cam.ac.uk MRC LMB Statistics Course 2014 Contents 1 Introduction................................ 1 2 Testing distributional assumptions....................

More information

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS The Islamic University of Gaza Faculty of Commerce Department of Economics and Political Sciences An Introduction to Statistics Course (ECOE 130) Spring Semester 011 Chapter 10- TWO-SAMPLE TESTS Practice

More information

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

More information

Part 3. Comparing Groups. Chapter 7 Comparing Paired Groups 189. Chapter 8 Comparing Two Independent Groups 217

Part 3. Comparing Groups. Chapter 7 Comparing Paired Groups 189. Chapter 8 Comparing Two Independent Groups 217 Part 3 Comparing Groups Chapter 7 Comparing Paired Groups 189 Chapter 8 Comparing Two Independent Groups 217 Chapter 9 Comparing More Than Two Groups 257 188 Elementary Statistics Using SAS Chapter 7 Comparing

More information

Mind on Statistics. Chapter 13

Mind on Statistics. Chapter 13 Mind on Statistics Chapter 13 Sections 13.1-13.2 1. Which statement is not true about hypothesis tests? A. Hypothesis tests are only valid when the sample is representative of the population for the question

More information

Testing Group Differences using T-tests, ANOVA, and Nonparametric Measures

Testing Group Differences using T-tests, ANOVA, and Nonparametric Measures Testing Group Differences using T-tests, ANOVA, and Nonparametric Measures Jamie DeCoster Department of Psychology University of Alabama 348 Gordon Palmer Hall Box 870348 Tuscaloosa, AL 35487-0348 Phone:

More information

3.4 Statistical inference for 2 populations based on two samples

3.4 Statistical inference for 2 populations based on two samples 3.4 Statistical inference for 2 populations based on two samples Tests for a difference between two population means The first sample will be denoted as X 1, X 2,..., X m. The second sample will be denoted

More information

Analysis of Variance ANOVA

Analysis of Variance ANOVA Analysis of Variance ANOVA Overview We ve used the t -test to compare the means from two independent groups. Now we ve come to the final topic of the course: how to compare means from more than two populations.

More information

II. DISTRIBUTIONS distribution normal distribution. standard scores

II. DISTRIBUTIONS distribution normal distribution. standard scores Appendix D Basic Measurement And Statistics The following information was developed by Steven Rothke, PhD, Department of Psychology, Rehabilitation Institute of Chicago (RIC) and expanded by Mary F. Schmidt,

More information

Sample Size and Power in Clinical Trials

Sample Size and Power in Clinical Trials Sample Size and Power in Clinical Trials Version 1.0 May 011 1. Power of a Test. Factors affecting Power 3. Required Sample Size RELATED ISSUES 1. Effect Size. Test Statistics 3. Variation 4. Significance

More information

DDBA 8438: The t Test for Independent Samples Video Podcast Transcript

DDBA 8438: The t Test for Independent Samples Video Podcast Transcript DDBA 8438: The t Test for Independent Samples Video Podcast Transcript JENNIFER ANN MORROW: Welcome to The t Test for Independent Samples. My name is Dr. Jennifer Ann Morrow. In today's demonstration,

More information

research/scientific includes the following: statistical hypotheses: you have a null and alternative you accept one and reject the other

research/scientific includes the following: statistical hypotheses: you have a null and alternative you accept one and reject the other 1 Hypothesis Testing Richard S. Balkin, Ph.D., LPC-S, NCC 2 Overview When we have questions about the effect of a treatment or intervention or wish to compare groups, we use hypothesis testing Parametric

More information

Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption

Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption Last time, we used the mean of one sample to test against the hypothesis that the true mean was a particular

More information

Chapter 7. One-way ANOVA

Chapter 7. One-way ANOVA Chapter 7 One-way ANOVA One-way ANOVA examines equality of population means for a quantitative outcome and a single categorical explanatory variable with any number of levels. The t-test of Chapter 6 looks

More information

Chi-square test Fisher s Exact test

Chi-square test Fisher s Exact test Lesson 1 Chi-square test Fisher s Exact test McNemar s Test Lesson 1 Overview Lesson 11 covered two inference methods for categorical data from groups Confidence Intervals for the difference of two proportions

More information

Independent t- Test (Comparing Two Means)

Independent t- Test (Comparing Two Means) Independent t- Test (Comparing Two Means) The objectives of this lesson are to learn: the definition/purpose of independent t-test when to use the independent t-test the use of SPSS to complete an independent

More information

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8 Hypothesis Testing 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim About a Proportion 8-5 Testing a Claim About a Mean: s Not Known 8-6 Testing

More information

Confidence Intervals for the Difference Between Two Means

Confidence Intervals for the Difference Between Two Means Chapter 47 Confidence Intervals for the Difference Between Two Means Introduction This procedure calculates the sample size necessary to achieve a specified distance from the difference in sample means

More information

Chapter 5 Analysis of variance SPSS Analysis of variance

Chapter 5 Analysis of variance SPSS Analysis of variance Chapter 5 Analysis of variance SPSS Analysis of variance Data file used: gss.sav How to get there: Analyze Compare Means One-way ANOVA To test the null hypothesis that several population means are equal,

More information

individualdifferences

individualdifferences 1 Simple ANalysis Of Variance (ANOVA) Oftentimes we have more than two groups that we want to compare. The purpose of ANOVA is to allow us to compare group means from several independent samples. In general,

More information

Chapter 8. Comparing Two Groups

Chapter 8. Comparing Two Groups Chapter 8 Comparing Two Groups 1 Tests comparing two groups Two independent samples Two-sample t-test(normal populations) Wilcoxon rank-sum test (non-parametric) Two related samples Paired t-test (normal

More information

7. Comparing Means Using t-tests.

7. Comparing Means Using t-tests. 7. Comparing Means Using t-tests. Objectives Calculate one sample t-tests Calculate paired samples t-tests Calculate independent samples t-tests Graphically represent mean differences In this chapter,

More information

Name: Date: Use the following to answer questions 3-4:

Name: Date: Use the following to answer questions 3-4: Name: Date: 1. Determine whether each of the following statements is true or false. A) The margin of error for a 95% confidence interval for the mean increases as the sample size increases. B) The margin

More information

Study Guide for the Final Exam

Study Guide for the Final Exam Study Guide for the Final Exam When studying, remember that the computational portion of the exam will only involve new material (covered after the second midterm), that material from Exam 1 will make

More information

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples Comparing Two Groups Chapter 7 describes two ways to compare two populations on the basis of independent samples: a confidence interval for the difference in population means and a hypothesis test. The

More information

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96 1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years

More information

Permutation Tests for Comparing Two Populations

Permutation Tests for Comparing Two Populations Permutation Tests for Comparing Two Populations Ferry Butar Butar, Ph.D. Jae-Wan Park Abstract Permutation tests for comparing two populations could be widely used in practice because of flexibility of

More information

Unit 26: Small Sample Inference for One Mean

Unit 26: Small Sample Inference for One Mean Unit 26: Small Sample Inference for One Mean Prerequisites Students need the background on confidence intervals and significance tests covered in Units 24 and 25. Additional Topic Coverage Additional coverage

More information

Examining Differences (Comparing Groups) using SPSS Inferential statistics (Part I) Dwayne Devonish

Examining Differences (Comparing Groups) using SPSS Inferential statistics (Part I) Dwayne Devonish Examining Differences (Comparing Groups) using SPSS Inferential statistics (Part I) Dwayne Devonish Statistics Statistics are quantitative methods of describing, analysing, and drawing inferences (conclusions)

More information

Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct 16 2015

Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct 16 2015 Stat 411/511 THE RANDOMIZATION TEST Oct 16 2015 Charlotte Wickham stat511.cwick.co.nz Today Review randomization model Conduct randomization test What about CIs? Using a t-distribution as an approximation

More information

Permutation & Non-Parametric Tests

Permutation & Non-Parametric Tests Permutation & Non-Parametric Tests Statistical tests Gather data to assess some hypothesis (e.g., does this treatment have an effect on this outcome?) Form a test statistic for which large values indicate

More information

SPSS 3: COMPARING MEANS

SPSS 3: COMPARING MEANS SPSS 3: COMPARING MEANS UNIVERSITY OF GUELPH LUCIA COSTANZO lcostanz@uoguelph.ca REVISED SEPTEMBER 2012 CONTENTS SPSS availability... 2 Goals of the workshop... 2 Data for SPSS Sessions... 3 Statistical

More information

An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA

An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA ABSTRACT An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA Often SAS Programmers find themselves in situations where performing

More information

NCSS Statistical Software

NCSS Statistical Software Chapter 06 Introduction This procedure provides several reports for the comparison of two distributions, including confidence intervals for the difference in means, two-sample t-tests, the z-test, the

More information

UNDERSTANDING THE TWO-WAY ANOVA

UNDERSTANDING THE TWO-WAY ANOVA UNDERSTANDING THE e have seen how the one-way ANOVA can be used to compare two or more sample means in studies involving a single independent variable. This can be extended to two independent variables

More information

Guide to Microsoft Excel for calculations, statistics, and plotting data

Guide to Microsoft Excel for calculations, statistics, and plotting data Page 1/47 Guide to Microsoft Excel for calculations, statistics, and plotting data Topic Page A. Writing equations and text 2 1. Writing equations with mathematical operations 2 2. Writing equations with

More information

13: Additional ANOVA Topics. Post hoc Comparisons

13: Additional ANOVA Topics. Post hoc Comparisons 13: Additional ANOVA Topics Post hoc Comparisons ANOVA Assumptions Assessing Group Variances When Distributional Assumptions are Severely Violated Kruskal-Wallis Test Post hoc Comparisons In the prior

More information

Unit 27: Comparing Two Means

Unit 27: Comparing Two Means Unit 27: Comparing Two Means Prerequisites Students should have experience with one-sample t-procedures before they begin this unit. That material is covered in Unit 26, Small Sample Inference for One

More information

Parametric and non-parametric statistical methods for the life sciences - Session I

Parametric and non-parametric statistical methods for the life sciences - Session I Why nonparametric methods What test to use? Rank Tests Parametric and non-parametric statistical methods for the life sciences - Session I Liesbeth Bruckers Geert Molenberghs Interuniversity Institute

More information

NCSS Statistical Software

NCSS Statistical Software Chapter 06 Introduction This procedure provides several reports for the comparison of two distributions, including confidence intervals for the difference in means, two-sample t-tests, the z-test, the

More information

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters. Sample Multiple Choice Questions for the material since Midterm 2. Sample questions from Midterms and 2 are also representative of questions that may appear on the final exam.. A randomly selected sample

More information

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon t-tests in Excel By Mark Harmon Copyright 2011 Mark Harmon No part of this publication may be reproduced or distributed without the express permission of the author. mark@excelmasterseries.com www.excelmasterseries.com

More information

Difference of Means and ANOVA Problems

Difference of Means and ANOVA Problems Difference of Means and Problems Dr. Tom Ilvento FREC 408 Accounting Firm Study An accounting firm specializes in auditing the financial records of large firm It is interested in evaluating its fee structure,particularly

More information

University of Chicago Graduate School of Business. Business 41000: Business Statistics

University of Chicago Graduate School of Business. Business 41000: Business Statistics Name: University of Chicago Graduate School of Business Business 41000: Business Statistics Special Notes: 1. This is a closed-book exam. You may use an 8 11 piece of paper for the formulas. 2. Throughout

More information

Chapter 13 Introduction to Linear Regression and Correlation Analysis

Chapter 13 Introduction to Linear Regression and Correlation Analysis Chapter 3 Student Lecture Notes 3- Chapter 3 Introduction to Linear Regression and Correlation Analsis Fall 2006 Fundamentals of Business Statistics Chapter Goals To understand the methods for displaing

More information

SIMPLE LINEAR CORRELATION. r can range from -1 to 1, and is independent of units of measurement. Correlation can be done on two dependent variables.

SIMPLE LINEAR CORRELATION. r can range from -1 to 1, and is independent of units of measurement. Correlation can be done on two dependent variables. SIMPLE LINEAR CORRELATION Simple linear correlation is a measure of the degree to which two variables vary together, or a measure of the intensity of the association between two variables. Correlation

More information

Two-sample inference: Continuous data

Two-sample inference: Continuous data Two-sample inference: Continuous data Patrick Breheny April 5 Patrick Breheny STA 580: Biostatistics I 1/32 Introduction Our next two lectures will deal with two-sample inference for continuous data As

More information

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck!

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck! Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck! Name: 1. The basic idea behind hypothesis testing: A. is important only if you want to compare two populations. B. depends on

More information

Overview of Non-Parametric Statistics PRESENTER: ELAINE EISENBEISZ OWNER AND PRINCIPAL, OMEGA STATISTICS

Overview of Non-Parametric Statistics PRESENTER: ELAINE EISENBEISZ OWNER AND PRINCIPAL, OMEGA STATISTICS Overview of Non-Parametric Statistics PRESENTER: ELAINE EISENBEISZ OWNER AND PRINCIPAL, OMEGA STATISTICS About Omega Statistics Private practice consultancy based in Southern California, Medical and Clinical

More information

COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES.

COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES. 277 CHAPTER VI COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES. This chapter contains a full discussion of customer loyalty comparisons between private and public insurance companies

More information

Introduction to Quantitative Methods

Introduction to Quantitative Methods Introduction to Quantitative Methods October 15, 2009 Contents 1 Definition of Key Terms 2 2 Descriptive Statistics 3 2.1 Frequency Tables......................... 4 2.2 Measures of Central Tendencies.................

More information

Outline. Topic 4 - Analysis of Variance Approach to Regression. Partitioning Sums of Squares. Total Sum of Squares. Partitioning sums of squares

Outline. Topic 4 - Analysis of Variance Approach to Regression. Partitioning Sums of Squares. Total Sum of Squares. Partitioning sums of squares Topic 4 - Analysis of Variance Approach to Regression Outline Partitioning sums of squares Degrees of freedom Expected mean squares General linear test - Fall 2013 R 2 and the coefficient of correlation

More information

Statistics. One-two sided test, Parametric and non-parametric test statistics: one group, two groups, and more than two groups samples

Statistics. One-two sided test, Parametric and non-parametric test statistics: one group, two groups, and more than two groups samples Statistics One-two sided test, Parametric and non-parametric test statistics: one group, two groups, and more than two groups samples February 3, 00 Jobayer Hossain, Ph.D. & Tim Bunnell, Ph.D. Nemours

More information

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so: Chapter 7 Notes - Inference for Single Samples You know already for a large sample, you can invoke the CLT so: X N(µ, ). Also for a large sample, you can replace an unknown σ by s. You know how to do a

More information

Regression Analysis: A Complete Example

Regression Analysis: A Complete Example Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty

More information

Lecture Notes Module 1

Lecture Notes Module 1 Lecture Notes Module 1 Study Populations A study population is a clearly defined collection of people, animals, plants, or objects. In psychological research, a study population usually consists of a specific

More information

NONPARAMETRIC STATISTICS 1. depend on assumptions about the underlying distribution of the data (or on the Central Limit Theorem)

NONPARAMETRIC STATISTICS 1. depend on assumptions about the underlying distribution of the data (or on the Central Limit Theorem) NONPARAMETRIC STATISTICS 1 PREVIOUSLY parametric statistics in estimation and hypothesis testing... construction of confidence intervals computing of p-values classical significance testing depend on assumptions

More information

HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION

HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION HOD 2990 10 November 2010 Lecture Background This is a lightning speed summary of introductory statistical methods for senior undergraduate

More information