Student’s t test This test was invented by a statistician working for the brewer Guinness. He was called WS Gosset (1867-1937), but preferred to keep.

Slides:



Advertisements
Similar presentations
The t Test for Two Independent Samples
Advertisements

1/2/2014 (c) 2001, Ron S. Kenett, Ph.D.1 Parametric Statistical Inference Instructor: Ron S. Kenett Course Website:
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Introductory Mathematics & Statistics for Business
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
UNITED NATIONS Shipment Details Report – January 2006.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 5 second questions
Overview of Lecture Partitioning Evaluating the Null Hypothesis ANOVA
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
1 Contact details Colin Gray Room S16 (occasionally) address: Telephone: (27) 2233 Dont hesitate to get in touch.
SADC Course in Statistics Tests for Variances (Session 11)
Chapter 7 Sampling and Sampling Distributions
Hypothesis Test II: t tests
Department of Engineering Management, Information and Systems
Elementary Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
HYPOTHESIS TESTING. Purpose The purpose of hypothesis testing is to help the researcher or administrator in reaching a decision concerning a population.
The t-distribution William Gosset lived from 1876 to 1937 Gosset invented the t -test to handle small samples for quality control in brewing. He wrote.
9.4 t test and u test Hypothesis testing for population mean Example : Hemoglobin of 280 healthy male adults in a region: Question: Whether the population.
6. Statistical Inference: Example: Anorexia study Weight measured before and after period of treatment y i = weight at end – weight at beginning For n=17.
Chapter 16 Goodness-of-Fit Tests and Contingency Tables
Chi-Square and Analysis of Variance (ANOVA)
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 22 Comparing Two Proportions.
VOORBLAD.
Hypothesis Tests: Two Independent Samples
Comparing Two Groups’ Means or Proportions: Independent Samples t-tests.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
“Students” t-test.
© 2012 National Heart Foundation of Australia. Slide 2.
Chapter 15 ANOVA.
Comparing Two Population Parameters
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Module 16: One-sample t-tests and Confidence Intervals
Module 17: Two-Sample t-tests, with equal variances for the two populations This module describes one of the most utilized statistical tests, the.
Statistical tests for Quantitative variables (z-test & t-test) BY Dr.Shaikh Shaffi Ahamed Ph.D., Associate Professor Dept. of Family & Community Medicine.
Chapter 8: Introduction to Hypothesis Testing. 2 Hypothesis Testing An inferential procedure that uses sample data to evaluate the credibility of a hypothesis.
Please enter data on page 477 in your calculator.
25 seconds left…...
1 Using one or more of your senses to gather information.
Chi-square and F Distributions
Week 1.
Statistical Inferences Based on Two Samples
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means and Variances.
We will resume in: 25 Minutes.
© The McGraw-Hill Companies, Inc., Chapter 12 Chi-Square.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Chapter Thirteen The One-Way Analysis of Variance.
Ch 14 實習(2).
Chapter 8 Estimation Understandable Statistics Ninth Edition
ABOUT TWO INDEPENDENT POPULATIONS
PSSA Preparation.
Experimental Design and Analysis of Variance
Essential Cell Biology
Proving a Premise – Student’s T The use of Student’s T ratio to support inferential analysis has long been held as an advantageous mechanism for comparative.
CHP400: Community Health Program - lI Research Methodology. Data analysis Hypothesis testing Statistical Inference test t-test and 22 Test of Significance.
The t-distribution William Gosset lived from 1876 to 1937 Gosset invented the t -test to handle small samples for quality control in brewing. He wrote.
Student’s t test This test was invented by a statistician WS Gosset ( ), but preferred to keep anonymous so wrote under the name “Student”. This.
“Students” t-test Prof Dr Najlaa Fawzi
Presentation transcript:

Student’s t test This test was invented by a statistician working for the brewer Guinness. He was called WS Gosset ( ), but preferred to keep anonymous so wrote under the name “Student”. This test was invented by a statistician working for the brewer Guinness. He was called WS Gosset ( ), but preferred to keep anonymous so wrote under the name “Student”.

The t-distribution William Gosset lived from 1876 to 1937 Gosset invented the t -test to handle small samples for quality control in brewing. He wrote under the name "Student".

t-Statistic When the sampled population is normally distributed, the t statistic is Student t distributed with n-1 degrees of freedom. When the sampled population is normally distributed, the t statistic is Student t distributed with n-1 degrees of freedom.

T-test 1.Test for single mean Whether the sample mean is equal to the predefined population mean ?. Test for difference in means 2. Test for difference in means Whether the CD4 level of patients taking treatment A is equal to CD4 level of patients taking treatment B ? Test for paired observation 3. Test for paired observation Whether the treatment conferred any significant benefit ?

T- test for single mean The following are the weight (mg) of each of 20 rats drawn at random from a large stock. Is it likely that the mean weight for the whole stock could be 24 mg, a value observed in some previous work?

Steps for test for single mean 1.Questioned to be answered Is the Mean weight of the sample of 20 rats is 24 mg? N=20, =21.0 mg, sd=5.91, =24.0 mg 2. Null Hypothesis The mean weight of rats is 24 mg. That is, The sample mean is equal to population mean. 3. Test statistics --- t (n-1) df 4. Comparison with theoretical value if tab t (n-1) < cal t (n-1) reject Ho, if tab t (n-1) > cal t (n-1) accept Ho, 5. Inference

t –test for single mean Test statistics Test statistics n=20, =21.0 mg, sd=5.91, =24.0 mg n=20, =21.0 mg, sd=5.91, =24.0 mg t  = t.05, 19 = Accept H 0 if t = Inference : There is no evidence that the sample is taken from the population with mean weight of 24 gm There is no evidence that the sample is taken from the population with mean weight of 24 gm

Area =.025 Area =.005 Z Area =.025 Area = Determining the p-Value

.9 5 t 0 f(t)  red area = rejection region for 2-sided test

Given below are the 24 hrs total energy expenditure (MJ/day) in groups of lean and obese women. Examine whether the obese women’s mean energy expenditure is significantly higher ?. Lean Lean T-test for difference in means Obese Obese

Two sample t-test Difference between means Sample size Variability of data t-test t t t t + +

T-test for difference in means Null Hypothesis Null Hypothesis Obese women’s mean energy expenditure is equal to the lean women’s energy expenditure. Obese women’s mean energy expenditure is equal to the lean women’s energy expenditure. Test statistics : 1, 2 - means of sample 1 and sample 2 1, 2 – sd of sample 1 and sample 2 n1, n2 – number of study subjects in sample 1 and sample 2 t(n1+n2-2)

T-test for difference in means Data Summary lean Obese lean Obese N S Inference : The cal t (3.82) is higher than tab t at 0.05, 20. ie This implies that there is a evidence that the mean energy expenditure in obese group is significantly (p<0.05) higher than that of lean group tab t =20 df = t 0.05,20 =2.086

Example Suppose we want to test the effectiveness of a program designed to increase scores on the quantitative section of the Graduate Record Exam (GRE). We test the program on a group of 8 students. Prior to entering the program, each student takes a practice quantitative GRE; after completing the program, each student takes another practice exam. Based on their performance, was the program effective?

Each subject contributes 2 scores: repeated measures design Each subject contributes 2 scores: repeated measures design StudentBefore ProgramAfter Program

Can represent each student with a single score: the difference (D) between the scores Can represent each student with a single score: the difference (D) between the scores Student Before ProgramAfter Program D

Approach: test the effectiveness of program by testing significance of D Approach: test the effectiveness of program by testing significance of D Alternative hypothesis: program is effective → scores after program will be higher than scores before program → average D will be greater than zero Alternative hypothesis: program is effective → scores after program will be higher than scores before program → average D will be greater than zero H 0 : µ D ≤ 0 H 1 : µ D > 0

Student Before Program After ProgramDD2D ∑D = 180∑D 2 = 7900 So, need to know ∑D and ∑D 2 :

Recall that for single samples: For related samples: where: and

Standard deviation of D: Mean of D: Standard error:

Under H 0, µ D = 0, so: From Table B.2: for α = 0.05, one-tailed, with df = 7, t crit = > → reject H 0 The program is effective.

t-Value t is a measure of: How difficult is it to believe the null hypothesis? High t Difficult to believe the null hypothesis - accept that there is a real difference. Low t Easy to believe the null hypothesis - have not proved any difference.

In Conclusion ! Student ‘s t-test will be used: Student ‘s t-test will be used: --- When Sample size is small --- When Sample size is small and for the following situations: and for the following situations: (1) to compare the single sample mean (1) to compare the single sample mean with the population mean with the population mean (2) to compare the sample means of (2) to compare the sample means of two indpendent samples two indpendent samples (3) to compare the sample means of paired samples (3) to compare the sample means of paired samples