# Two-sample hypothesis testing, II /16/2004

Size: px
Start display at page:

Transcription

1 Two-sample hypothesis testing, II /16/004

2 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, because there are several cases. Case 1: The sample size is small, and the standard deviations of the populations are equal. Case : The sample size is small, and the standard deviations of the populations are not equal.

3 Inhomogeneity of variance Last time, we talked about Case 1, which assumed that the variances for sample 1 and sample were equal. Sometimes, either theoretically, or from the data, it may be clear that this is not a good assumption. Note: the equal-variance t-test is actually pretty robust to reasonable differences in the variances, if the sample sizes, n 1 and n are (nearly) equal. When in doubt about the variances of your two samples, use samples of (nearly) the same size.

4 Case : Variances not equal Sometimes, however, it either isn t possible to have an equal number in each sample, or the variances are very different. In which case, we move on to Case, the t- test for difference in means when the variances are not equal.

5 Case : Variances not equal Basically, one can deal with unequal variances by making a correction in the value for degrees of freedom. Equal variances: d.f. = n 1 + n Unequal variances: 1 ) / ( 1 ) / ( ) / / ( d.f = n n n n n n σ σ σ σ

6 Note on corrected degrees of freedom There are several equations out there for correcting the number of degrees of freedom. This equation is a bit on the conservative side it will lead to an overestimate of the p-value. An even easier conservative correction: d.f. = min(n 1-1, n -1) You will NOT be required to memorize any of these equations for an exam. Use the one on the previous slide for your homework.

7 Case : Variances not equal Once we make this correction, we proceed as with a usual t-test, using the equation for SE from last time, for unequal variances. SE(difference in means) = sqrt(σ 1 /n 1 + σ /n ) t obt = (observed expected)/se Compare with t crit from a t-table, for d.f. degrees of freedom, from the previous slide.

8 Example The math test scores of 16 students from one high school showed a mean of 107, with a standard deviation of students from another high school had a mean score of 98, and a standard deviation of 15. Is there a significant difference between the scores for the two groups, at the α=0.05 level?

9 Set up the null and alternative hypotheses, and find t crit H 0 : µ 1 µ = 0 H a : µ 1 µ 0 s 1 = 10 ; s = 15 ; n 1 = 16; n = 11 d.f. = (100/16+5/11) / [(100/16) /15 + (5/11) /10] 16 1 ) / ( 1 ) / ( ) / / ( d.f = n n n n n n σ σ σ σ

10 Determining t crit d.f. = 16, α=0.05 Two-tailed test (H a : µ 1 µ 0) t crit =.1

11 Compute t obt, and compare to t crit m 1 = 107; m = 98, s 1 = 10; s = 15; n 1 = 16; n = 11 t obt = (observed expected)/se Observed difference in means = = 9 SE = sqrt(σ 1 /n 1 + σ /n ) = sqrt(10 / /11) = 5.17 t obt = 9/5.17 = 1.74 t obt < t crit, so the difference between the two schools is not significant.

12 Two-sample hypothesis testing for a difference in mean So, we ve covered the following cases: Large sample size, independent samples Small sample size, independent samples, equal variance Small sample size, independent samples, unequal variance There s essentially one more case to go: related samples.

13 But first, consider the following example An owner of a large taxi fleet wants to compare the gas mileage with gas A and gas B. She randomly picks 100 of her cabs, and randomly divides them into two groups, A and B, each with 50 cabs. Group A gets gas A, group B gets gas B

14 Gas mileage example After a day of driving, she gets the following results: mean mpg std. dev. Group A Group B m 1 m = -1. Is this significant? The samples are large enough that we can use a z-test.

15 Gas mileage example H 0 : µ 1 µ = 0; H a : µ 1 µ 0 z obt = -1/SE SE = sqrt(s 1 /n 1 + s /n ) = sqrt(5/ /50) = z obt = > p=0.7 No significant difference.

16 What could the fleet owner have done better? Though gas B seems to be slightly better than gas A, there was no way this difference was going to be significant, because the variance in each sample was too high. I.E. gas mileages varied widely from one cab to the next. Why? Cars vary greatly in their gas mileage, and drivers vary greatly in how they drive.

17 What could the fleet owner have done better? This kind of variability (variability in cars and drivers) is basically irrelevant to what the fleet owner wants to find out. Is there some way she could do the experiment so that she can essentially separate out this irrelevant variability from the variability she s interested in (due to the change in gasoline)? Yes: use a matched-sample or repeated-measures experimental design.

18 Matched samples: Weight-loss example Suppose you want to compare weight-loss diet A with diet B. How well the two diets work may well depend upon factors such as: How overweight is the dieter to begin with? How much exercise do they get per week? You would like to make sure that the subjects in group A (trying diet A) are approximately the same according to these factors as the subjects in group B.

19 Matched-samples experimental design One way to try, as much as possible, to match relevant characteristics of the people in group A to the characteristics of the people in group B: Match each participant in group A as nearly as possible to a participant in group B who is similarly overweight, and gets a similar amount of exercise per week. This is called a matched samples design. If group A does better than group B, this cannot be due to differences in amt. overweight, or amt. of exercise, because these are the same in the two groups.

20 What you re essentially trying to do, here, is to remove a source of variability in your data, i.e. from some participants being more likely to respond to a diet than others. Lowering the variability will lower the standard error, and make the test more powerful.

21 Matched-samples design Another example: You want to compare a standard tennis racket to a new tennis racket. In particular, does one of them lead to more good serves? Test racket A with a number of tennis players in group A, racket B with group B. Each member of group A is matched with a member of group B, according to their serving ability. Any difference in serves between group A and group B cannot be due to difference in ability, because the same abilities are present in both samples.

22 Matched-samples design Study effects of economic well-being on marital happiness in men, vs. on marital happiness in women. A natural comparison is to compare the happiness of each husband in the study with that of his wife. Another common natural comparison is to look at twins.

23 Repeated-measures experimental design Match each participant with him/her/itself. Each participant is tested under all conditions. Test each person with tennis racket A and tennis racket B. Do they serve better with A than B? Test each car with gasoline A and gasoline B does one of them lead to better mileage? Does each student study better while listening to classical music, or while listening to rock?

24 Related samples hypothesis testing In related samples designs, the matched samples, or repeated measures, mean that there is a dependence within the resulting pairs. Recall: A, B independent the occurrence of A has no effect on the probability of occurrence of B.

25 Related samples hypothesis testing Dependence of pairs in related samples designs: If subject A i does well on diet A, it s more likely subject B i does well on diet B, because they are matched for factors that influence dieting success. If player A i does well with racket A, this is likely in part due to player A i having good tennis skill. Since player B i is matched for skill with A i, it s likely that if A i is doing well, then B i is also doing well.

26 Related samples hypothesis testing Dependence of pairs in related samples designs: If a husband reports high marital happiness, this increases the chances that we ll find his wife reports high marital happiness. If a subject does well on condition A of a reaction time experiment, this increase the chances that he will do well on condition B of the experiment, since his performance is likely due in part to the fact that he s good at reaction time experiments.

27 Why does dependence of the two samples mean we have to do a different test? For independent samples, var(m 1 m ) = σ 1 /n 1 + σ /n For dependent samples, var(m 1 m ) = σ 1 /n 1 + σ /n cov(m 1, m )

28 Why does dependence of the two samples mean we have to do a different test? cov? Covariance(x,y) = E(xy) E(x)E(y) If x & y are independent, = 0. We ll talk more about this later, when we discuss regression and correlation. For a typical repeated-measures or matchedsamples experiment, cov(m 1, m ) > 0. If a tennis player does well at serving with racket A, they will tend to also do well with racket B. Negative covariance would happen if doing well with racket A tended to go with doing poorly with racket B.

29 Why does dependence of the two samples mean we have to do a different test? So, if cov(m 1, m ) > 0, var(m 1 m ) = σ 1 /n 1 + σ /n cov(m 1, m ) < σ 1 /n 1 + σ /n This is just the reduction in variance you were aiming for, in using a matchedsamples or repeated-measures design.

30 Why does dependence of the two samples mean we have to do a different test? If cov(m 1, m ) > 0, var(m 1 m ) = σ 1 /n 1 + σ /n cov(m 1, m ) < σ 1 /n 1 + σ /n The standard t-test will tend to overestimate the variance, and thus the SE, if the samples are dependent. The standard t-test will be too conservative, in this situation, i.e. it will overestimate p.

31 So, how do we do a related samples t-test? Let x i be the ith observation in sample 1. Let y i be the ith observation in sample. x i and y i are a pair in the experimental design The scores of a matched pair of participants, or The scores of a particular participant, on the two conditions of the experiment (repeated measures) Create a new random variable, D, where D i = (x i y i ) Do a standard one-sample z- or t-test on this new random variable.

32 Back to the taxi cab example Instead of having two different groups of cars try the two types of gas, a better design is to have the same cars (and drivers) try the two kinds of gasoline on two different days. Typically, randomize which cars try gas A on day 1, and which try it on day, in case order matters. The fleet owner does this experiment with only 10 cabs (before it was 100!), and gets the following results:

33 Results of experiment Cab Gas A Gas B Difference Mean Std. dev Means and std. dev s of gas A and B about the same -- they have the same source of variability as before.

34 Results of experiment Cab Gas A Gas B Difference Mean Std. dev But the std. dev. of the difference is very small. Comparing the two gasolines within a single car eliminates variability between taxis.

35 t-test for related samples H 0 : µ D = 0; H a : µ D 0 t obt = (m D 0)/SE(D) = -0.60/(0.61/sqrt(10)) = cabs, 10 differences To look up p in a t-table, use d.f.=n-1=9 -> p = Gas B gives significantly better mileage than gas A.

36 Note Because we switched to a repeated measures design, and thus reduced irrelevant variability in the data, we were able to find a significant difference with a sample size of only 10. Previously, we had found no significant difference with 50 cars trying each gasoline.

37 Summary of two-sample tests for a significant difference in mean When to do this test Standard error Degrees of freedom Large sample size not applicable Small sample, σ 1 =σ n 1 + n Small sample, σ 1 σ Related samples n n s n s n n s pool 1 ) / ( 1 ) / ( ) / / ( n n n n n n σ σ σ σ 1 1 n s n s + n s D /

38 Confidence intervals Of course, in all of these cases you could also look at confidence intervals (µ 1 µ ) falls within (m 1 m ) ± t crit SE, with a confidence corresponding to t crit.

39 Taking a step back What happens to the significance of a t-test, if the difference between the two group means gets larger? (What happens to p?) What happens to the significance of a t-test, if the standard deviation of the groups gets larger? This is inherent to the problem of distinguishing whether there is a systematic effect or if the results are just due to chance. It is not just due to our choosing a t-test.

40 Is the difference in mean of these groups systematic, or just due to chance?

42 A difference in the means of two groups will be significant if it is sufficiently large, compared to the variability within each group.

43 Put another way: The essential idea of statistics is to compare some measure of the variability between means of groups with some measure of the variability within those groups.

44 Yet another way: Essentially, we are comparing the signal (the difference between groups that we are interested in) to the noise (the irrelevant variation within each group).

45 Variability and effect size If the variability between groups (the signal ) is large when compared to the variability within groups (the noise ) then the size of the effect is large. A measure of effect size is useful both in: Helping to understand the importance of the result Meta-analysis comparing results across studies

46 Measures of effect size There are a number of possible measures of effect size that you can use. Can p (from your statistical test) be a measure of effect size? No, it s not a good measure, since p depends upon the sample size. If we want to compare across experiments, we don t want experiments with larger N to appear to have larger effects. This doesn t make any sense.

47 Measures of effect size Difference in mean for the two groups, m 1 -m Independent of sample size Nice that it s in the same units as the variable you re measuring (the dependent variable, e.g. RT, percent correct, gas mileage) However, could be large and yet we wouldn t reject the null hypothesis We may not know a big effect when we see one Is a difference in RT of 100 ms large? 50 ms?

48 Measures of effect size Standardized effect size d = (m 1 m )/σ, where σ is a measure of variance within each of the groups, e.g. s i or s pool Cohen s rule of thumb for this measure of effect size: d=0.0 d=0.50 d=0.80 low medium high

49 Measures of effect size What proportion of the total variance in the data is accounted for by the effect? This concept will come up again when we talk about correlation analysis and ANOVA, so it s worth discussing in more detail.

50 Recall dependent vs. independent variables An experimenter tests two groups under two conditions, looking for evidence of a statistical relation. E.G. test group A on tennis racket A, group B on tennis racket B. Does the racket affect proportion of good serves? The manipulation under control of the experimenter (racket type) is the independent variable. X The resulting performance, not under the experimenter s control, is the dependent variable (proportion of good serves). Y

51 Predicting the value of Y If X has a significant effect, then the situation might look like this: X = A X = B

52 It would be hard to guess! The best you could probably hope for is to guess the mean of all the Y values (at least your error would be 0 on average) Predicting the value of Y Suppose I pick a random individual from one of these two groups (you don t know which), and ask you to estimate Y for that individual.

53 How far off would your guess be? The variance about the mean Y score, σ Y, gives a measure of your uncertainty about the Y scores.

54 Predicting the value of Y when you know X Now suppose that I told you the value of X (which racket a player used), and again asked you to predict Y (the proportion of good serves). This would be somewhat easier.

55 Predicting the value of Y when you know X Your best guess is again a mean, but this time it s the mean Y for the given value of X. X = A X = B

56 How far off would your guess be, now? The variance about the mean score for that value of X, σ Y X gives a measure of your uncertainty. X = A X = B

57 The strength of the relationship between X and Y is reflected in the extent to which knowing X reduces your uncertainty about Y. Reduction in uncertainty = σ Y σ Y X Relative reduction in uncertainty: ω = (σ Y σ Y X )/ σ Y This is the proportion of variance in Y accounted for by X. (total variation variation left over)/(total variation) = (variation accounted for)/(total variation)

58 Back to effect size This proportion of the variance accounted for by the effect of the independent variable can also serve as a measure of effect size. Version that s easy to calculate once you ve done your statistical test (see extra reading on the MIT Server): r pb = t obt t obt + d. f. t obt value from t-test degrees of freedom from t-test

59 Summary of one- and two-sample hypothesis testing for a difference in mean We ve talked about z- and t-tests, for both independent and related samples We talked about power of a test And how to find it, at least for a z-test. It s more complicated for other kinds of tests. We talked about estimating the sample size(s) you need to show that an effect of a given size is significant. One can do a similar thing with finding the sample size such that your test has a certain power. We talked about measures of effect size

60 Steps for hypothesis testing (in general), revisited Steps from before: 1. Formulate hypotheses H 0 and H a. Select desired significance level, α 3. Collect and summarize the data, using the test statistic that will assess the evidence against the null hypothesis 4. If the null hypothesis were true, what is the probability of observing a test statistic at least as extreme as the one we observed? (Get the p-value) 5. Check the significance by comparing p with α. 6. Report the results

61 Steps for hypothesis testing: the long version Steps: 1. Formulate hypotheses H 0 and H a. Select desired significance level, α 3. Specify the effect size of interest ( an effect of 1% would be important, or large ) 4. Specify the desired level of power for an effect of this size 5. Determine the proper size of the sample(s) 6. Collect and summarize the data, using the test statistic that will assess the evidence against the null hypothesis

62 Steps for hypothesis testing: the long version 7. If the null hypothesis were true, what is the probability of observing a test statistic at least as extreme as the one we observed? (Get the p- value) 8. Check the significance by comparing p with α. 9. Report the results A. Means, std. deviations, type of test, degrees of freedom, value of test statistic, p-value B. Post-hoc measure of the size of effect C. Possibly post-hoc measure of the power of the test

### 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

### 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

### 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

### Post-hoc comparisons & two-way analysis of variance. Two-way ANOVA, II. Post-hoc testing for main effects. Post-hoc testing 9.

Two-way ANOVA, II Post-hoc comparisons & two-way analysis of variance 9.7 4/9/4 Post-hoc testing As before, you can perform post-hoc tests whenever there s a significant F But don t bother if it s a main

### " Y. Notation and Equations for Regression Lecture 11/4. Notation:

Notation: Notation and Equations for Regression Lecture 11/4 m: The number of predictor variables in a regression Xi: One of multiple predictor variables. The subscript i represents any number from 1 through

### 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

### 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

### 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

### 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

### 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

### 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

### 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

### Practice problems for Homework 12 - confidence intervals and hypothesis testing. Open the Homework Assignment 12 and solve the problems.

Practice problems for Homework 1 - confidence intervals and hypothesis testing. Read sections 10..3 and 10.3 of the text. Solve the practice problems below. Open the Homework Assignment 1 and solve the

### Two Related Samples t Test

Two Related Samples t Test In this example 1 students saw five pictures of attractive people and five pictures of unattractive people. For each picture, the students rated the friendliness of the person

### 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

### CONTENTS OF DAY 2. II. Why Random Sampling is Important 9 A myth, an urban legend, and the real reason NOTES FOR SUMMER STATISTICS INSTITUTE COURSE

1 2 CONTENTS OF DAY 2 I. More Precise Definition of Simple Random Sample 3 Connection with independent random variables 3 Problems with small populations 8 II. Why Random Sampling is Important 9 A myth,

### 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

### 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

### 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

### Descriptive Statistics

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

### 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)

### 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

### BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420 1. Which of the following will increase the value of the power in a statistical test

### 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

### 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.

### ANOVA ANOVA. Two-Way ANOVA. One-Way ANOVA. When to use ANOVA ANOVA. Analysis of Variance. Chapter 16. A procedure for comparing more than two groups

ANOVA ANOVA Analysis of Variance Chapter 6 A procedure for comparing more than two groups independent variable: smoking status non-smoking one pack a day > two packs a day dependent variable: number of

### 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

### 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

### Chapter 26: Tests of Significance

Chapter 26: Tests of Significance Procedure: 1. State the null and alternative in words and in terms of a box model. 2. Find the test statistic: z = observed EV. SE 3. Calculate the P-value: The area under

### statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals

Summary sheet from last time: Confidence intervals Confidence intervals take on the usual form: parameter = statistic ± t crit SE(statistic) parameter SE a s e sqrt(1/n + m x 2 /ss xx ) b s e /sqrt(ss

### Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

Experimental Design Power and Sample Size Determination Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison November 3 8, 2011 To this point in the semester, we have largely

### 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

### 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

### 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

### 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

### CHAPTER 14 NONPARAMETRIC TESTS

CHAPTER 14 NONPARAMETRIC TESTS Everything that we have done up until now in statistics has relied heavily on one major fact: that our data is normally distributed. We have been able to make inferences

### 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

### 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

### 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

### 12.5: CHI-SQUARE GOODNESS OF FIT TESTS

125: Chi-Square Goodness of Fit Tests CD12-1 125: CHI-SQUARE GOODNESS OF FIT TESTS In this section, the χ 2 distribution is used for testing the goodness of fit of a set of data to a specific probability

### 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

### In the past, the increase in the price of gasoline could be attributed to major national or global

Chapter 7 Testing Hypotheses Chapter Learning Objectives Understanding the assumptions of statistical hypothesis testing Defining and applying the components in hypothesis testing: the research and null

### Chicago Booth BUSINESS STATISTICS 41000 Final Exam Fall 2011

Chicago Booth BUSINESS STATISTICS 41000 Final Exam Fall 2011 Name: Section: I pledge my honor that I have not violated the Honor Code Signature: This exam has 34 pages. You have 3 hours to complete this

### 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.

### Simple Linear Regression Inference

Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation

### 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

### 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

### 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

### Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Introduction to Hypothesis Testing 1 Hypothesis Testing A hypothesis test is a statistical procedure that uses sample data to evaluate a hypothesis about a population Hypothesis is stated in terms of the

### 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

### 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

### Confidence intervals

Confidence intervals Today, we re going to start talking about confidence intervals. We use confidence intervals as a tool in inferential statistics. What this means is that given some sample statistics,

### Part 2: Analysis of Relationship Between Two Variables

Part 2: Analysis of Relationship Between Two Variables Linear Regression Linear correlation Significance Tests Multiple regression Linear Regression Y = a X + b Dependent Variable Independent Variable

### One-Way Analysis of Variance

One-Way Analysis of Variance Note: Much of the math here is tedious but straightforward. We ll skim over it in class but you should be sure to ask questions if you don t understand it. I. Overview A. We

### Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

Introduction to Hypothesis Testing CHAPTER 8 LEARNING OBJECTIVES After reading this chapter, you should be able to: 1 Identify the four steps of hypothesis testing. 2 Define null hypothesis, alternative

### Math 108 Exam 3 Solutions Spring 00

Math 108 Exam 3 Solutions Spring 00 1. An ecologist studying acid rain takes measurements of the ph in 12 randomly selected Adirondack lakes. The results are as follows: 3.0 6.5 5.0 4.2 5.5 4.7 3.4 6.8

### 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

### Hypothesis Testing: Two Means, Paired Data, Two Proportions

Chapter 10 Hypothesis Testing: Two Means, Paired Data, Two Proportions 10.1 Hypothesis Testing: Two Population Means and Two Population Proportions 1 10.1.1 Student Learning Objectives By the end of this

### Consider a study in which. How many subjects? The importance of sample size calculations. An insignificant effect: two possibilities.

Consider a study in which How many subjects? The importance of sample size calculations Office of Research Protections Brown Bag Series KB Boomer, Ph.D. Director, boomer@stat.psu.edu A researcher conducts

### 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

### HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1 PREVIOUSLY used confidence intervals to answer questions such as... You know that 0.25% of women have red/green color blindness. You conduct a study of men

### 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

### 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

### Hypothesis Testing --- One Mean

Hypothesis Testing --- One Mean A hypothesis is simply a statement that something is true. Typically, there are two hypotheses in a hypothesis test: the null, and the alternative. Null Hypothesis The hypothesis

### MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Sample Practice problems - chapter 12-1 and 2 proportions for inference - Z Distributions Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Provide

### Experimental Designs (revisited)

Introduction to ANOVA Copyright 2000, 2011, J. Toby Mordkoff Probably, the best way to start thinking about ANOVA is in terms of factors with levels. (I say this because this is how they are described

### STAT 350 Practice Final Exam Solution (Spring 2015)

PART 1: Multiple Choice Questions: 1) A study was conducted to compare five different training programs for improving endurance. Forty subjects were randomly divided into five groups of eight subjects

### 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

### DIRECTIONS. Exercises (SE) file posted on the Stats website, not the textbook itself. See How To Succeed With Stats Homework on Notebook page 7!

Stats for Strategy HOMEWORK 3 (Topics 4 and 5) (revised spring 2015) DIRECTIONS Data files are available from the main Stats website for many exercises. (Smaller data sets for other exercises can be typed

### 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

### Simple Regression Theory II 2010 Samuel L. Baker

SIMPLE REGRESSION THEORY II 1 Simple Regression Theory II 2010 Samuel L. Baker Assessing how good the regression equation is likely to be Assignment 1A gets into drawing inferences about how close the

### BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp. 380-394

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp. 380-394 1. Does vigorous exercise affect concentration? In general, the time needed for people to complete

### 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

### 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

### Opgaven Onderzoeksmethoden, Onderdeel Statistiek

Opgaven Onderzoeksmethoden, Onderdeel Statistiek 1. What is the measurement scale of the following variables? a Shoe size b Religion c Car brand d Score in a tennis game e Number of work hours per week

### 1. The parameters to be estimated in the simple linear regression model Y=α+βx+ε ε~n(0,σ) are: a) α, β, σ b) α, β, ε c) a, b, s d) ε, 0, σ

STA 3024 Practice Problems Exam 2 NOTE: These are just Practice Problems. This is NOT meant to look just like the test, and it is NOT the only thing that you should study. Make sure you know all the material

### 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

### 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:

### Math 251, Review Questions for Test 3 Rough Answers

Math 251, Review Questions for Test 3 Rough Answers 1. (Review of some terminology from Section 7.1) In a state with 459,341 voters, a poll of 2300 voters finds that 45 percent support the Republican candidate,

### An analysis method for a quantitative outcome and two categorical explanatory variables.

Chapter 11 Two-Way ANOVA An analysis method for a quantitative outcome and two categorical explanatory variables. If an experiment has a quantitative outcome and two categorical explanatory variables that

### Correlational Research

Correlational Research Chapter Fifteen Correlational Research Chapter Fifteen Bring folder of readings The Nature of Correlational Research Correlational Research is also known as Associational Research.

### Final Exam Practice Problem Answers

Final Exam Practice Problem Answers The following data set consists of data gathered from 77 popular breakfast cereals. The variables in the data set are as follows: Brand: The brand name of the cereal

### HYPOTHESIS TESTING: POWER OF THE TEST

HYPOTHESIS TESTING: POWER OF THE TEST The first 6 steps of the 9-step test of hypothesis are called "the test". These steps are not dependent on the observed data values. When planning a research project,

### Syntax Menu Description Options Remarks and examples Stored results Methods and formulas References Also see. level(#) , options2

Title stata.com ttest t tests (mean-comparison tests) Syntax Syntax Menu Description Options Remarks and examples Stored results Methods and formulas References Also see One-sample t test ttest varname

### Introduction. Statistics Toolbox

Introduction A hypothesis test is a procedure for determining if an assertion about a characteristic of a population is reasonable. For example, suppose that someone says that the average price of a gallon

### 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

### MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

STT315 Practice Ch 5-7 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Solve the problem. 1) The length of time a traffic signal stays green (nicknamed

### Statistiek I. Proportions aka Sign Tests. John Nerbonne. CLCG, Rijksuniversiteit Groningen. http://www.let.rug.nl/nerbonne/teach/statistiek-i/

Statistiek I Proportions aka Sign Tests John Nerbonne CLCG, Rijksuniversiteit Groningen http://www.let.rug.nl/nerbonne/teach/statistiek-i/ John Nerbonne 1/34 Proportions aka Sign Test The relative frequency

### A) 0.1554 B) 0.0557 C) 0.0750 D) 0.0777

Math 210 - Exam 4 - Sample Exam 1) What is the p-value for testing H1: µ < 90 if the test statistic is t=-1.592 and n=8? A) 0.1554 B) 0.0557 C) 0.0750 D) 0.0777 2) The owner of a football team claims that

### Elementary Statistics Sample Exam #3

Elementary Statistics Sample Exam #3 Instructions. No books or telephones. Only the supplied calculators are allowed. The exam is worth 100 points. 1. A chi square goodness of fit test is considered to

### SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Ch. 10 Chi SquareTests and the F-Distribution 10.1 Goodness of Fit 1 Find Expected Frequencies Provide an appropriate response. 1) The frequency distribution shows the ages for a sample of 100 employees.

### Chapter 23 Inferences About Means

Chapter 23 Inferences About Means Chapter 23 - Inferences About Means 391 Chapter 23 Solutions to Class Examples 1. See Class Example 1. 2. We want to know if the mean battery lifespan exceeds the 300-minute

### Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Section 7.1 Introduction to Hypothesis Testing Schrodinger s cat quantum mechanics thought experiment (1935) Statistical Hypotheses A statistical hypothesis is a claim about a population. Null hypothesis

### Reporting Statistics in Psychology

This document contains general guidelines for the reporting of statistics in psychology research. The details of statistical reporting vary slightly among different areas of science and also among different

### 1. How different is the t distribution from the normal?

Statistics 101 106 Lecture 7 (20 October 98) c David Pollard Page 1 Read M&M 7.1 and 7.2, ignoring starred parts. Reread M&M 3.2. The effects of estimated variances on normal approximations. t-distributions.

### KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

KSTAT MINI-MANUAL Decision Sciences 434 Kellogg Graduate School of Management Kstat is a set of macros added to Excel and it will enable you to do the statistics required for this course very easily. To