CH. 7 The t test 2009. 12. 5 (Sat.) Jin-ju Yang Talk outline 1.Application of the t distribution 2.Confidence interval for the mean from a small sample.

Slides:



Advertisements
Similar presentations
PTP 560 Research Methods Week 9 Thomas Ruediger, PT.
Advertisements

Lecture 6 Outline – Thur. Jan. 29
Statistics and Quantitative Analysis U4320
Hypothesis Testing IV Chi Square.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
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.
PSY 307 – Statistics for the Behavioral Sciences
The Normal Distribution. n = 20,290  =  = Population.
Lecture 5 Outline – Tues., Jan. 27 Miscellanea from Lecture 4 Case Study Chapter 2.2 –Probability model for random sampling (see also chapter 1.4.1)
Lecture 6 Outline: Tue, Sept 23 Review chapter 2.2 –Confidence Intervals Chapter 2.3 –Case Study –Two sample t-test –Confidence Intervals Testing.
BCOR 1020 Business Statistics
Analysis of Differential Expression T-test ANOVA Non-parametric methods Correlation Regression.
Lecture 9: One Way ANOVA Between Subjects
Statistics 101 Class 9. Overview Last class Last class Our FAVORATE 3 distributions Our FAVORATE 3 distributions The one sample Z-test The one sample.
T-Tests Lecture: Nov. 6, 2002.
Two Population Means Hypothesis Testing and Confidence Intervals With Unknown Standard Deviations.
Chapter 11: Inference for Distributions
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
Quantitative Business Methods for Decision Making Estimation and Testing of Hypotheses.
The t-test Inferences about Population Means when population SD is unknown.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Section #4 October 30 th Old: Review the Midterm & old concepts 1.New: Case II t-Tests (Chapter 11)
T-test Mechanics. Z-score If we know the population mean and standard deviation, for any value of X we can compute a z-score Z-score tells us how far.
Education 793 Class Notes T-tests 29 October 2003.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
Ch7 Inference concerning means II Dr. Deshi Ye
More About Significance Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Today’s lesson Confidence intervals for the expected value of a random variable. Determining the sample size needed to have a specified probability of.
Confidence Intervals for Means. point estimate – using a single value (or point) to approximate a population parameter. –the sample mean is the best point.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
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.
RDPStatistical Methods in Scientific Research - Lecture 11 Lecture 1 Interpretation of data 1.1 A study in anorexia nervosa 1.2 Testing the difference.
For 95 out of 100 (large) samples, the interval will contain the true population mean. But we don’t know  ?!
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.4 Estimation of a Population Mean  is unknown  This section presents.
Statistical estimation, confidence intervals
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Confidence intervals and hypothesis testing Petter Mostad
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
© Copyright McGraw-Hill 2000
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Essential Statistics Chapter 161 Inference about a Population Mean.
Psych 230 Psychological Measurement and Statistics
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 6 Hypothesis Tests with Means.
Chapter 10 The t Test for Two Independent Samples
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Statistics for Political Science Levin and Fox Chapter Seven
Copyright © Cengage Learning. All rights reserved. 9 Inferences Based on Two Samples.
Statistics: Unlocking the Power of Data Lock 5 Section 6.4 Distribution of a Sample Mean.
ESTIMATION OF THE MEAN. 2 INTRO :: ESTIMATION Definition The assignment of plausible value(s) to a population parameter based on a value of a sample statistic.
Inference for distributions: - Comparing two means.
Introduction to the t statistic. Steps to calculate the denominator for the t-test 1. Calculate variance or SD s 2 = SS/n-1 2. Calculate the standard.
Chapter 7 Inference Concerning Populations (Numeric Responses)
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Chapter 10: The t Test For Two Independent Samples.
Part 1: Chapters 7 to 9. 95% within 2 standard deviations 68% within 1 standard deviations 99.7% within 3 standard deviations.
Two-Sample Hypothesis Testing
Math 4030 – 10a Tests for Population Mean(s)
WARM - UP 1. How do you interpret a Confidence Interval?
IE 355: Quality and Applied Statistics I Confidence Intervals
Statistical Inference for the Mean: t-test
Inference for Distributions
Presentation transcript:

CH. 7 The t test (Sat.) Jin-ju Yang Talk outline 1.Application of the t distribution 2.Confidence interval for the mean from a small sample 3.Difference of sample mean from population mean (one sample t test) 4.Difference between means of two samples 5.Difference between means of paired samples (paired t test)

The CLT is very powerful, but it has two limitations: 1) it depends on a large sample size, and 2) to use it, we need to know the standard deviation of the population(σ). In reality, we usually don’t know the standard deviation of the population(σ) so we use the standard deviation of our sample (denoted as ‘s’) as an estim ate. Since we are estimating the standard deviation using our sample, the sampl ing distribution will not be normal (even though it appears bell-shaped). It is a little shorter and wider than a normal distribution, and it’s called a t-distribution. The t-distribution is actually a family of distributions – there is a different distribution for ea ch sample value of n-1 (degrees of freedom). The shape of t depends on the size of t he sample…the larger the sample size, the more confident we can be that ‘s’ is near ‘ σ’, and the closer t gets to Z.

1. Application of the t distribution The application of the t distribution to the following four types of problem will now be considered. 1.The calculation of a confidence interval for a sample mean. 2.The mean and standard deviation of a sample are calculated and a value i s postulated for the mean of the population. How significantly does the sa mple mean differ from the postulated population mean? 3.The means and standard deviations of two samples are calculated. Could both samples have been taken from the same population? 4.Paired observations are made on two samples (or in succession on one s ample). What is the significance of the difference between the means of th e two sets of observations?

2. CI for the mean from a small sample To find the number by which we must multiply the standard error to g ive the 95% confidence interval we enter table B at 17 in the left han d column and read across to the column headed 0.05 to discover th e number table B The 95% confidence intervals of the mean are now set as follows: Mean SE to Mean SE Likewise from table B the 99% confidence interval of the mean is as follows:table B Mean SE to Mean SE

3. One Sample t test To test a sample of normal continuous data, we need: An expected value = the population or true mean (μ) An observed mean = the average of your sample A measure of spread: standard error Degrees of freedom (df) = n-1 (number of values used to calculate SD or SE ) Then, we can calculate a test statistic to be compared to a known di stribution. In the case of continuous, normal data, it’s the t-statistic a nd the t-distribution.

4. Two Samples t test We can use the t-test to compare two different groups of continuous data as the outc ome and compare test statistic to appropriate distribution to get p-value. Under the null hypothesis, we propose that this difference equals 0. We can calculate an estimate of the SE of this difference from our data. H 0 : σ ₁ = σ ₂ = σ (Equal standard deviations) Obtain the standard deviation in sample 1: S ₁ Obtain the standard deviation in sample 2: S ₂ Multiply the square of the standard deviation of sample 1 by the degrees of freedom, which is the number of subjects minus one: repeated for sample 2 Add the two together and divide by the total degrees of freedom

The standard error of the difference between the means is When the difference between the means is divided by this standard error th e result is t. Thus, The table of the t distribution Table B (appendix) which gives two sided P val ues is entered at degrees of freedom.Table B (appendix) A 95% confidence interval is given by

H ₁ : σ ₁ ≠ σ ₂ (Unequal standard deviations) Rather than use the pooled estimate of variance, compute This is analogous to calculating the standard error of the difference in two proportio ns under the alternative hypothesis as described in Chapter 6Chapter 6 We now compute We then test this using a t statistic, in which the degrees of freedom are: There is a slight modification to allow for unequal variances – this modification adjusts the d.f for the test, using slightly different SE computation.

5. Paired t test Sometimes data are paired. In this case, the “before” and “after” are not ind ependent – they are taken from the same person. What you are testing is the change in the same individual. When your data are paired, you basically create one set of data by calculating each person’s change, then doing a one-sample t-test. Find the mean of the differences, Find the standard deviation of the differences, SD. Calculate the standard error of the mean To calculate t, divide the mean of the differences by the standard error of th e mean A 95% confidence interval for the mean difference is given by

Exercises 7.1 In 22 patients with an unusual liver disease the plasma alkaline phosphatase was found by a certain laboratory to have a mean value of 39 King-Armstrong units, standard deviation 3.4 units. What is the 95% confidence interval within which the mean of the population of su ch cases whose specimens come to the same laboratory may be expected to lie? 7.2 In the 18 patients with Everley's syndrome the mean level of plasma phosphate was 1.7 mmol/l, standard deviation 0.8. If the mean level in the general population is taken as 1.2 m mol/l, what is the significance of the difference between that mean and the mean of these 18 patients?