7.1 - 7.4: Inference tests for means

7.1 - 7.4: Inference tests for means

Chapter 25 PAIRED T-TEST Objective: To test claims about inferences for two sample means from matched-pair tests or blocked samples, under specific conditions PAIRED DATA Data are paired when the observations are collected in pairs or the observations in one group are naturally related to observations in the other group. Paired data arise in a number of ways. Perhaps the

most common is to compare subjects with themselves before and after a treatment. When pairs arise from an experiment, the pairing is a type of blocking. When they arise from an observational study, it PAIRED DATA (CONT.) If you know the data are paired, you can (and must!) take advantage of it. To decide if the data are paired, consider how they were collected and what they mean. There is no test to determine whether the data are paired.

Once we know the data are paired, we can examine the pairwise differences. Because it is the differences we care about, we treat them as if they were the data and ignore the original two sets of data. PAIRED DATA (CONT.) Now that we have only one set of data (the differences) to consider, we can return to the simple one-sample t-test. Mechanically, a paired t-test is just a one-sample ttest for the means of the pairwise differences. The sample size is the number of pairs.

PAIRED T-TEST ASSUMPTIONS & CONDITIONS Independence Assumption Independence Assumption: The differences must be independent of each other. Randomization Condition: Were the data collected with suitable randomization (representative random samples or a randomized experiment)? 10% Condition: We dont usually check this condition for differences of means. We will check it for means only if we have a very small population

or an extremely large sample. PAIRED T-TEST ASSUMPTIONS & CONDITIONS (CONT.) Normal Population Assumption: We need to assume that the population of differences follows a Normal model. Nearly Normal Condition: Check this with a histogram or Normal probability plot of the differences. Paired Data Assumption: The data must be paired.

THE PAIRED T-TEST When the conditions are met, we are ready to test whether the paired differences differ significantly from zero. We test the hypothesis H 0: d = 0, where the ds are the pairwise differences and 0 is almost always 0. THE PAIRED T-TEST (CONT.) d 0 tn 1 We use the statistic

SE d where n is the number of pairs. sd the SE d n is the ordinary standard error for mean applied to the differences. When the conditions are met and the null hypothesis is true, this statistic follows a Students t-model on n 1 degrees of freedom, so we can use that model to obtain a P-value.

STEPS FOR PAIRED T-TEST 1. Check Conditions and show that you have checked these! Independence Assumption: The differences must be independent of each other. Randomization Condition: Were the data collected with suitable randomization (representative random samples or a randomized experiment)? 10% Condition: We dont usually check this condition for differences of means. We will check it for means only if we have a very small population or

an extremely large sample. Nearly Normal Condition: Check this with a STEPS FOR PAIRED T-TEST (CONT.) 2. State the test you are about to conduct Ex) Paired t-Test 3. Set up your hypotheses H0 : HA : 4. Calculate your test statistic 5. Draw a picture of your desired area under the tmodel, and calculate your P-value.

PAIRED T-TEST (CONT.) 6. Make your conclusion. P-Value Action Conclusion Low Reject H0 The sample

mean is sufficient evidence to conclude HA in context. High Fail to reject The sample H0 mean does not provide us with sufficient

evidence to conclude HA PAIRED T-TEST EXAMPLE We hear that listening to Mozart improves students performances on tests. To test this idea, 21 subjects worked a paper-and-pencil maze while wearing a mask. The mask was either unscented or carried a floral scent. The response variable is their average time on three trials. Each subject worked the maze with both masks, in a random order. The randomization is important because subjects tend to improve their times as they work a make repeatedly. The table below gives the subjects average times with both masks.

PAIRED T-TEST EXAMPLE (CONT.) PAIRED T-INTERVAL When the conditions are met, we are ready to find the confidence interval for the mean of the paired differences. The confidence interval is d t n 1

SE d where the standard error of the mean difference is sd SE d n The critical value t* depends on the particular confidence level, C, that you specify and on the degrees of freedom, n 1, which is based on the number of pairs, n.

STEPS FOR PAIRED TINTERVAL 1. Check Conditions and show that you have checked these! Independence Assumption: The differences must be independent of each other. Randomization Condition: Were the data collected with suitable randomization (representative random samples or a randomized experiment)? 10% Condition: We dont usually check this condition for differences of means. We will check it for means only if we have a very small population or

an extremely large sample. Nearly Normal Condition: Check this with a STEPS FOR PAIRED TINTERVAL (CONT.) 2. State the test you are about to conduct Ex) Paired t-Interval 4. Calculate your t-interval 5. State your conclusion IN CONTEXT. I am 95% confident that 6 weeks of this exercise program can produce a mean decrease in resting pulse rate of between 1 and 4.6 beats per minute.

PAIRED T-INTERVAL EXAMPLE A study is conducted on 11 people diagnosed as being dependent on caffeine. Each subject was barred from coffee, colas, and other substances containing caffeine. During a different time period, they took placebo capsules. The order in which subjects took caffeine and the placebo was randomized. The table below contains data on two of several tests given to the subjects. Depression is the score on the Beck Depression Inventory. Higher scores show more symptoms of depression. Beats is the beats per minute the subject achieved when asked to press a button 200 times as quickly as possible. We are interested in whether being deprived of caffeine affects these outcomes. Conduct a 90% confidence interval for the mean change in depression score.

PAIRED T-INTERVAL EXAMPLE (CONT.) RECAP In 8.1-8.2, the data came from two different and independent groups, so we used a two-sample t-test. Now the data are two different measurements for the same group or two groups in which individuals were paired, so we will use a paired t-test.

ASSIGNMENTS Day 1: pp. 602-608 # 1, 20, 22, 24 Day 2: pp. 602-608 # 5, 6, 16, 25, 26

Recently Viewed Presentations

  • DMADV Review Checkpoints

    DMADV Review Checkpoints

    Title: DMADV Review Checkpoints Author: PROMAX Last modified by: Robert Ricker Created Date: 3/19/2001 2:19:36 PM Document presentation format: On-screen Show
  • Species Diversity in Communities Photo from Wikimedia Commons

    Species Diversity in Communities Photo from Wikimedia Commons

    "reefs with (closed symbols) and without (open symbols) cleaner fish at Casuarina Beach (circles) and Lagoon (squares) sites" Please do not use the images in these PowerPoint slides without permission. Wikipedia "Bluestreak cleaner wrasse" page; accessed 10-III-2015 ["Cleaner wrasse with...
  • In The Name of Allah The Most Beneficent The Most Merciful

    In The Name of Allah The Most Beneficent The Most Merciful

    of a process, then the next issue is the ability to affect, or actuate, the system in order to move the process from the current state to a desired state <<<1.5.4>>> A typical industrial control problem will usually involve many...
  • Confronting Data Related Barriers in Youth Homelessness Initiatives

    Confronting Data Related Barriers in Youth Homelessness Initiatives

    HomeBase. Jo Zimmer, Rural Oregon Continuum of Care. Learning Objectives. Attendees will leave this session with an understanding of: The 100-Day Challenge model and how it uses data to track progress on ending youth homelessness;
  • Monday February 1, 2016  Do Now: Make corrections

    Monday February 1, 2016 Do Now: Make corrections

    Animal Farm . Test Results. Rhetorical Devices Power Point and Practice. Do Now Sheet Turn in is WEDNESDAY! Have one full page filled out. NO EMPTY SPACES! Tuesday February 23, 2016. Do Now: Fix the sentence below so that it...
  • PTS Demolition & Dismantling Ltd. PTS Environmental Services

    PTS Demolition & Dismantling Ltd. PTS Environmental Services

    Lifting Operations, Lifting Equipment Regulations 1998 (LOLER) Provision & Use of Work Equipment Regulations 1998 (PUWER) Management of Health and Safety at work Regulations 1999. Control of Lead at Work Regulations 2002.
  • Lolita - Mr. Sieker&#x27;s English Page

    Lolita - Mr. Sieker's English Page

    Unfortunately, it becomes apparent "That Lolita slowly does learn the clear distinction between her early experiences with others her age and her experience with Humbert is made painfully evident by her fits of crying, which Humbert keeps in the background...
  • Configurable Processors: A New Age of (Not So Hard)ware and ...

    Configurable Processors: A New Age of (Not So Hard)ware and ...

    Run-Time Configuration (R)evolution of Processors (R)evolution of Processors (R)evolution of Processors (R)evolution of Processors (R)evolution of Processors Ice Hard Contains ASIC (Application Specific IC) designs Increases time-to-market Takes time to reconfigure Software Hotspots In DSP 80% of the processing load...