Stat 301 – Day 33 t – procedures (cont.). Last Time: Investigation 5.3.2 (p. 438) Can’t compare difference in sample means without knowledge of sample.

Slides:



Advertisements
Similar presentations
Happiness comes not from material wealth but less desire. 1.
Advertisements

Section 9.3 Inferences About Two Means (Independent)
One sample T Interval Example: speeding 90% confidence interval n=23 Check conditions Model: t n-1 Confidence interval: 31.0±1.52 = (29.48, 32.52) STAT.
Confidence Interval and Hypothesis Testing for:
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Significance Tests Chapter 13.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
The Normal Distribution. n = 20,290  =  = Population.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Stat 301- Day 32 More on two-sample t- procedures.
Stat 322 – Day 14 ANOVA and Multiple Comparisons.
6.4 One and Two-Sample Inference for Variances. Example - Problem 26 – Page 435  D. Kim did some crude tensile strength testing on pieces of some nominally.
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
Stat 512 – Lecture 12 Two sample comparisons (Ch. 7) Experiments revisited.
HW: See Web Project proposal due next Thursday. See web for more detail.
Stat 512 – Lecture 13 Chi-Square Analysis (Ch. 8).
A Decision-Making Approach
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
AP Statistics Section 12.1 A. Now that we have looked at the principles of testing claims, we proceed to practice. We begin by dropping the unrealistic.
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
Stat 301 – Day 26 Prediction Intervals Paired t-test.
Two-sample problems for population means BPS chapter 19 © 2006 W.H. Freeman and Company.
Stat 301 – Day 27 Sign Test. Last Time – Prediction Interval When goal is to predict an individual value in the population (for a quantitative variable)
5-3 Inference on the Means of Two Populations, Variances Unknown
Lab 5 Hypothesis testing and Confidence Interval.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
The Quiz Show To review and help prepare you for the final exam...
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
Laws of Logic and Rules of Evidence Larry Knop Hamilton College.
Comparing the Means of Two Dependent Populations The Paired T-test ….
Dependent Samples: Hypothesis Test For Hypothesis tests for dependent samples, we 1.list the pairs of data in 2 columns (or rows), 2.take the difference.
1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework –The two-sample.
Confidence Intervals and Hypothesis Tests for the Difference between Two Population Means µ 1 - µ 2 : Independent Samples Inference for  1  2 1.
Comparing Two Population Means
Chapter 10 Comparing Two Means Target Goal: I can use two-sample t procedures to compare two means. 10.2a h.w: pg. 626: 29 – 32, pg. 652: 35, 37, 57.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 24 Comparing Means.
Testing means, part II The paired t-test. Outline of lecture Options in statistics –sometimes there is more than one option One-sample t-test: review.
1 Chapter 9 Inferences from Two Samples 9.2 Inferences About Two Proportions 9.3 Inferences About Two Means (Independent) 9.4 Inferences About Two Means.
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
AP Statistics Chapter 24 Comparing Means.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
ISMT253a Tutorial 1 By Kris PAN Skewness:  a measure of the asymmetry of the probability distribution of a real-valued random variable 
Confidence Intervals for a Population Mean, Standard Deviation Unknown.
Comparing Sample Means
Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches. We also have a population of adult women.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Comparing Means Chapter 24. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Homework and project proposal due next Thursday. Please read chapter 10 too…
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Difference Between Two Means.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Objectives (PSLS Chapter 18) Comparing two means (σ unknown)  Two-sample situations  t-distribution for two independent samples  Two-sample t test 
The Differences in Ticket Prices for Broadway Shows By Courtney Snow I wanted to find out whether there was a significant difference in the price of musicals,
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapters 22, 24, 25 Inference for Two-Samples. Confidence Intervals for 2 Proportions.
Lecture Notes and Electronic Presentations, © 2013 Dr. Kelly Significance and Sample Size Refresher Harrison W. Kelly III, Ph.D. Lecture # 3.
Inference about Two Means - Independent Samples
Matched Pairs Designs (Ch. 7)
Presentation transcript:

Stat 301 – Day 33 t – procedures (cont.)

Last Time: Investigation (p. 438) Can’t compare difference in sample means without knowledge of sample size and sample variability  More within group variability  less significant  Large sample sizes  more significant In this example, any reasonable SD, sample size choice is highly significant Still is not a cause and effect conclusion!

Last Time 95% confident that the population of right- handers lives XX to XX longer, on average, than the population of left handers Though one reason for the lower percentages of left-handers in their 80s is a historical discouragement of left-handedness Would be difficult to randomly assign a person’s handedness

Last Time: Investigation Randomized experiment, treatment effect   = unrestricted “population” mean – deprived mean  H 0 :  = 0  H a :  > 0 If sample sizes are large or populations are normal, can use two-sample t test rather than methods of Ch. 2  Adds confidence interval  May want to consider transforming the data first  Randomization simulation allows other statistics

To pool or not to pool Could calculate the “pooled t test”  Uses a different standard error T-Test of difference = 0 (vs <): T-Value = P-Value = DF = 19 95% CI for difference: (-28.21, -3.63) Both use Pooled StDev = Often doesn’t change results much T-Test of difference = 0 (vs <): T-Value = P-Value = DF = 17 95% CI for difference: (-28.43, -3.41) But would been slightly more powerful IF that assumption is true

Power Pooling With df = 19, rejection region = 1.73 Unpooled Need to approximate df, conservative df = 9, rejection region = 1.83 GMACRO ToPoolorNotToPool DO k1=1:1000 random 21 c2 c3 unstack c1 c4 c5; subs c3. let c4=c4+2 #unpooled let c3(k1)=(mean(c1)-mean(c2))/sqrt(std(c1)**2/11 + std(c2)**2/10) let c7(k1)=(c3(k1)>1.83) #pooled let k2=((10*std(c1)**2+9*std(c2)**2)/(19)) let c6(k1)=(mean(c1)-mean(c2))/sqrt(k2*(1/10+1/11)) let c8(k1)=(c6(k1)>1.73) ENDDO ENDMACRO If use df = 17, t > 1.74 Unpooled pooled

Investigation (p. 360) Recall Investigation 4.4.4: Scolari’s vs. Lucky’s Excedrin, coffee Avg = 2.41 Avg = 2.59 Gold Medal Flour Milk 1/2G, 1G

Comparison Shopping One-sample t-procedure on the differences (shopping99CLEANED.mtw)  = mean price difference between the two stores (Lucky’s – Scolari’s ) H 0 :  = 0 (no tendency for one store to be more expensive) H a :  < 0 (on average, higher prices at Scolaris) Test of mu = 0 vs < 0 95% Upper Variable N Mean StDev SE Mean Bound T P diffs Variable N Mean StDev SE Mean 90% CI diffs ( , )

What if? Two-sample t (shopping99CLEANED.mtw)  (unstacked data)

The Moral By pairing items, we take out a source of random variation (e.g., different items) to help us better focus on the comparison (between stores) that we are interested in…

Power Two-sample comparison Paired comparison

Example Is there a difference in the melting times of semisweet chips and butterscotch chips? Coin toss  Heads = semi-sweet  Tails = butterscotch Hold the chip on your tongue, touch it to the roof of your mouth, and hold it there, no “encouragement,” time how long before the chip is completely melted Stopwatch

Quiz 26 Each individual needs to submit their two times  Semi-sweet time  Butterscotch time  In Seconds! Can view summary of responses but will make an Excel file (ChipMelting.xls) available to you in Studio-folder > bchance > stat301  Or ChocMelting.mtw

Example Carry out a two-sample t-test and then a paired t-test and compare the results  Are either of these procedures valid? Did pairing appear to be helpful in this study? What source of variation is being accounted for in the pairing? What if skewed data?

For Tuesday PP Preview Investigation (p. 420)