Comparing Two Populations or Treatments with Significance Testing

Slides:



Advertisements
Similar presentations
Request Dispatching for Cheap Energy Prices in Cloud Data Centers
Advertisements

SpringerLink Training Kit
Luminosity measurements at Hadron Colliders
From Word Embeddings To Document Distances
Choosing a Dental Plan Student Name
Virtual Environments and Computer Graphics
Chương 1: CÁC PHƯƠNG THỨC GIAO DỊCH TRÊN THỊ TRƯỜNG THẾ GIỚI
THỰC TIỄN KINH DOANH TRONG CỘNG ĐỒNG KINH TẾ ASEAN –
D. Phát triển thương hiệu
NHỮNG VẤN ĐỀ NỔI BẬT CỦA NỀN KINH TẾ VIỆT NAM GIAI ĐOẠN
Điều trị chống huyết khối trong tai biến mạch máu não
BÖnh Parkinson PGS.TS.BS NGUYỄN TRỌNG HƯNG BỆNH VIỆN LÃO KHOA TRUNG ƯƠNG TRƯỜNG ĐẠI HỌC Y HÀ NỘI Bác Ninh 2013.
Nasal Cannula X particulate mask
Evolving Architecture for Beyond the Standard Model
HF NOISE FILTERS PERFORMANCE
Electronics for Pedestrians – Passive Components –
Parameterization of Tabulated BRDFs Ian Mallett (me), Cem Yuksel
L-Systems and Affine Transformations
CMSC423: Bioinformatic Algorithms, Databases and Tools
Some aspect concerning the LMDZ dynamical core and its use
Bayesian Confidence Limits and Intervals
实习总结 (Internship Summary)
Current State of Japanese Economy under Negative Interest Rate and Proposed Remedies Naoyuki Yoshino Dean Asian Development Bank Institute Professor Emeritus,
Front End Electronics for SOI Monolithic Pixel Sensor
Face Recognition Monday, February 1, 2016.
Solving Rubik's Cube By: Etai Nativ.
CS284 Paper Presentation Arpad Kovacs
انتقال حرارت 2 خانم خسرویار.
Summer Student Program First results
Theoretical Results on Neutrinos
HERMESでのHard Exclusive生成過程による 核子内クォーク全角運動量についての研究
Wavelet Coherence & Cross-Wavelet Transform
yaSpMV: Yet Another SpMV Framework on GPUs
Creating Synthetic Microdata for Higher Educational Use in Japan: Reproduction of Distribution Type based on the Descriptive Statistics Kiyomi Shirakawa.
MOCLA02 Design of a Compact L-­band Transverse Deflecting Cavity with Arbitrary Polarizations for the SACLA Injector Sep. 14th, 2015 H. Maesaka, T. Asaka,
Hui Wang†*, Canturk Isci‡, Lavanya Subramanian*,
Fuel cell development program for electric vehicle
Overview of TST-2 Experiment
Optomechanics with atoms
داده کاوی سئوالات نمونه
Inter-system biases estimation in multi-GNSS relative positioning with GPS and Galileo Cecile Deprez and Rene Warnant University of Liege, Belgium  
ლექცია 4 - ფული და ინფლაცია
10. predavanje Novac i financijski sustav
Wissenschaftliche Aussprache zur Dissertation
FLUORECENCE MICROSCOPY SUPERRESOLUTION BLINK MICROSCOPY ON THE BASIS OF ENGINEERED DARK STATES* *Christian Steinhauer, Carsten Forthmann, Jan Vogelsang,
Particle acceleration during the gamma-ray flares of the Crab Nebular
Interpretations of the Derivative Gottfried Wilhelm Leibniz
Advisor: Chiuyuan Chen Student: Shao-Chun Lin
Widow Rockfish Assessment
SiW-ECAL Beam Test 2015 Kick-Off meeting
On Robust Neighbor Discovery in Mobile Wireless Networks
Chapter 6 并发:死锁和饥饿 Operating Systems: Internals and Design Principles
You NEED your book!!! Frequency Distribution
Y V =0 a V =V0 x b b V =0 z
Fairness-oriented Scheduling Support for Multicore Systems
Climate-Energy-Policy Interaction
Hui Wang†*, Canturk Isci‡, Lavanya Subramanian*,
Ch48 Statistics by Chtan FYHSKulai
The ABCD matrix for parabolic reflectors and its application to astigmatism free four-mirror cavities.
Measure Twice and Cut Once: Robust Dynamic Voltage Scaling for FPGAs
Online Learning: An Introduction
Factor Based Index of Systemic Stress (FISS)
What is Chemistry? Chemistry is: the study of matter & the changes it undergoes Composition Structure Properties Energy changes.
THE BERRY PHASE OF A BOGOLIUBOV QUASIPARTICLE IN AN ABRIKOSOV VORTEX*
Quantum-classical transition in optical twin beams and experimental applications to quantum metrology Ivano Ruo-Berchera Frascati.
The Toroidal Sporadic Source: Understanding Temporal Variations
FW 3.4: More Circle Practice
ارائه یک روش حل مبتنی بر استراتژی های تکاملی گروه بندی برای حل مسئله بسته بندی اقلام در ظروف
Decision Procedures Christoph M. Wintersteiger 9/11/2017 3:14 PM
Limits on Anomalous WWγ and WWZ Couplings from DØ
Presentation transcript:

Comparing Two Populations or Treatments with Significance Testing 10.2B Comparing Two Populations or Treatments with Significance Testing AP $20 due 29th!

Pooling Guess what? You don’t use it! We have technology that uses the better procedure. Pooling assumes that the two populations have the same variance. This procedure pools the two sample variances to estimate the common population variance. n1+n2-2 degrees of freedom if the two population variance really are equal and the population distributions are exactly Normal.

Objectives Write your hypotheses Check conditions Perform mechanics Make a decision linked in context

Inference about the difference between TWO means You are concerned about one of two things: Comparing two populations Establishing causation How the experiment was designed informs what you are able to conclude!

Hypothesis Test Comparing Two Means Example—Root Beer We would like to compare the mean fill of 16 ounce bottles of root beer from two adjacent filling machines. As a plant owner I want these machines to be the same. But I am worried that they are actually different.

So, I take a sample from each population! A sample of 35 cans from machine A gave a mean of 16.031 oz with a stdev 0.043 oz and a sample of 31 cans from machine B gave a mean of 16.009 oz with stdev 0.052 oz . State, perform and interpret an appropriate hypothesis test using the 0.05 level of significance.

If we meet the RIN conditions for both sets of data, then we can run a two-sample t-test to compare means. with degrees of freedom found by technology or found by table using the smaller of 𝑛 1 −1 or 𝑛 2 −1

Make sure you identify all variables! A sample of 35 cans from machine #1 gave a mean of 16.031 oz with a stdev 0.043 oz and a sample of 31 cans from machine #2 gave a mean of 16.009 oz with stdev 0.052 oz . State, perform and interpret an appropriate hypothesis test using the 0.05 level of significance.

Hypothesis Test – Cold Medicine In an attempt to determine if two competing brands of cold medicine contain, on the average, the same amount of acetaminophen, twelve different tablets from each of the two competing brands were randomly selected and tested for the amount of acetaminophen each contains. The results (in milligrams) follow. Use a significance level of 0.01. Brand A Brand B 517, 495, 503, 491 493, 508, 513, 521 503, 493, 505, 495 541, 533, 500, 515 498, 481, 499, 494 536, 498, 515, 515 State and perform an appropriate hypothesis test.

Hypothesis Test – Cold Medicine Brand A Brand B 517, 495, 503, 491 493, 508, 513, 521 503, 493, 505, 495 541, 533, 500, 515 498, 481, 499, 494 536, 498, 515, 515 State and perform an appropriate hypothesis test.

Hypothesis Test – Example 2 The samples were selected independently and randomly. Since the samples are not large, we need to be able to assume that the populations (of amounts of acetaminophen) are both normally distributed. You MIGHT be given graphs. If so, you MUST refer to those graphs in the check of normality….

You see this graph…. You say, “looks linear” In a NPP, linear is an indication that it’s feasible the data came from a normal population.

You have to say “looks linear” for BOTH sets of data And it’s A-OK to just write on the graph.

Maybe you get boxplots…. No outliers, that’s a good sign. Say so—write on the graphs

Maybe all you get is data Brand A Brand B 517, 495, 503, 491 493, 508, 513, 521 503, 493, 505, 495 541, 533, 500, 515 498, 481, 499, 494 536, 498, 515, 515 Make your own graphs. But do the quick and easy kind. Brand B 49 3 8 50 8 0 51 3 5 5 5 52 1 53 3 6 54 Brand A 48 1 49 8 5 3 9 1 5 4 50 3 3 5 51 7 And don’t forget to say something about them!

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. Suppose you are designing an experiment to determine if students perform better on tests when there are no distractions, such as a teacher talking on the phone. You have access to two classrooms and 30 volunteers who are willing to participate in your experiment Design an experiment so that a two-sample t-test would be the appropriate inference method Design an experiment so that a paired t-test would be the appropriate inference method. Which experimental design is better? Explain. © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. AP $20 due 29th! Measure your pulse rate (beats per minute) Drink your soda After 10 minutes, we will measure your pulse rate again © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. What must be true in order to perform a t-test for the difference between two means? difference between two proportions? © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. How is the power of the test affected by…. changing sample size? changing α? changing β? © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. When you do not have a calculator, how to do calculate degrees of freedom for two samples? © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. For each scenario, determine the proper inference procedure from Chapter 8,9, or 10 you would use. Be specific. © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. Do people smoke less when cigarettes cost more? A random sample of 500 smokers was selected. The number of cigarettes each person smoked per day was recorded over a one-month period before a 30% cigarette tax was imposed and again for one month after the tax was imposed. Paired t test for the mean difference © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. How much greater is the percent of senior citizens who attend a play at least once per year than the percent of people in their twenties who do so? Random samples of 100 senior citizens and 100 people in their twenties were surveyed. Two-sample z interval for the difference in proportions © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. You have data on rainwater collected at 16 locations in the Adirondack Mountains of New York State. One measurement is the acidity of the water, measured by pH on a scale of 0 to 14 (the pH of distilled water is 7.0). Estimate the average acidity of rainwater in the Adirondacks. One sample t interval for the mean © 2008 Brooks/Cole, a division of Thomson Learning, Inc.

© 2008 Brooks/Cole, a division of Thomson Learning, Inc. Consumers Union wants to see which of two brands of calculator is easier to use. They recruit 100 volunteers and randomly assign them to two equal-sized groups. The people in one group use Calculator A and those in the other group use Calculator B. Researchers recorded the time required for each volunteer to carry out the same series of routine calculations(such as figuring discounts and sales tax, totaling a bill) on the assigned calculator. Two-sample t interval for the difference between two means © 2008 Brooks/Cole, a division of Thomson Learning, Inc.