Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.

Slides:



Advertisements
Similar presentations
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
Advertisements

Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Inference Sampling distributions Hypothesis testing.
Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.
STAT 135 LAB 14 TA: Dongmei Li. Hypothesis Testing Are the results of experimental data due to just random chance? Significance tests try to discover.
AP Statistics – Chapter 9 Test Review
Confidence Interval and Hypothesis Testing for:
Stat 301 – Day 17 Tests of Significance. Last Time – Sampling cont. Different types of sampling and nonsampling errors  Can only judge sampling bias.
1 Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.
Stat Day 16 Observations (Topic 16 and Topic 14)
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.
Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
Statistics 201 – Lecture 23. Confidence Intervals Re-cap 1.Estimate the population mean with sample mean Know sample mean is unbiased estimator for 
Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.
Today’s Agenda Review of ANOVA Module 9 Review for Exam 2 Please log in with your UMID and your participation will be graded by the number of questions.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Chapter 2 Simple Comparative Experiments
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Stat 217 – Day 15 Statistical Inference (Topics 17 and 18)
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
5-3 Inference on the Means of Two Populations, Variances Unknown
Inference about Population Parameters: Hypothesis Testing
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Introduction to Statistical Inference Probability & Statistics April 2014.
Hypothesis Testing for Proportions
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Two-Sample Inference Procedures with Means. Of the following situations, decide which should be analyzed using one-sample matched pair procedure and which.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 12 Inference About A Population.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Chapter 23 Inference for One- Sample Means. Steps for doing a confidence interval: 1)State the parameter 2)Conditions 1) The sample should be chosen randomly.
Confidence intervals and hypothesis testing Petter Mostad
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 10 Hypothesis Testing:
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
Hypothesis Testing An understanding of the method of hypothesis testing is essential for understanding how both the natural and social sciences advance.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
AP Statistics Section 11.1 B More on Significance Tests.
9.3/9.4 Hypothesis tests concerning a population mean when  is known- Goals Be able to state the test statistic. Be able to define, interpret and calculate.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Introduction to Hypothesis Testing
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
1 Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.
Inference ConceptsSlide #1 1-sample Z-test H o :  =  o (where  o = specific value) Statistic: Test Statistic: Assume: –  is known – n is “large” (so.
Copyright© 1998, Triola, Elementary Statistics by Addison Wesley Longman 1 Testing a Claim about a Mean: Large Samples Section 7-3 M A R I O F. T R I O.
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter 9: Hypothesis Tests for One Population Mean 9.5 P-Values.
Hypothesis Testing for Proportions
Two-Sample Inference Procedures with Means
Estimation & Hypothesis Testing for Two Population Parameters
Hypothesis Tests for 1-Sample Proportion
Inference Concepts 1-Sample Z-Tests.
Presentation transcript:

Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B

Today’s Agenda 5 Steps for Hypothesis Testing Review Module 6 Activity 1 One Sampe Test Procedures Module 7 Activity 1 Paired t Procedures In-Lab Review: confidence intervals Today’s Qwizdom is no longer anonymous. Please use your UMID to log in.

1. Set up the null and alternative hypotheses Hypothesis is about the population parameters (p, μ) H 0 represents statement of no effect H a represents what the experimenter would like to support Equal sign always goes to the H 0 The direction in H a is very important in calculating p-value The significant level is also set at this step (most of the time by the problem) 5 Steps for Hypothesis Testing

2.Check assumptions for performing the test and calculate the test statistic For 1-sample testing of population proportion, check (1) random sample (2) If np 0 >=10 and n(1-p 0 )>=10 Help the computation of p-value. What to do when (2) does not hold? (very rare case) For 1-sample testing of population mean, check (1) random sample (2) Normality of population Not crucial when n>=30, because of CLT 5 Steps for Hypothesis Testing

2.Check assumptions for performing the test and calculate the test statistic How to check random sample? Information from the problem Time plot if data is collected in time How to check normality? QQ plot Which statistic to use? Under normality assumption use z-statistic when σ is known (population proportion) use t-statistic when σ is unknown (population mean for most of the time) 5 Steps for Hypothesis Testing

3. Assuming H 0 is true, find the p-value p-value is, assuming H 0 is true, the probability of getting the same or more extreme test statistic in the direction of H a. It’s a conditional probability. p-value = P (t.s. type direction t.s. value) e.g. p-value = P (t <= -2) Test statistic type is decided according to the problem Test statistic value is then calculated Direction is equal and the direction in H a 5 Steps for Hypothesis Testing

4. Determine if the result is statistically significant p-value <= significance level: Reject H 0 (the test is statistically significant) p-value > significance level: Fail to reject H 0 5. Report a conclusion in the context of the problem There is sufficient evidence to say… H a There is no sufficient evidence to say… H a. 5 Steps for Hypothesis Testing

1.Set up the null and alternative hypotheses 2.Check assumptions for performing the test and calculate the test statistic 3.Assuming H 0 is true, find the p-value 4.Determine if the result is statistically significant 5.Report a conclusion in the context of the problem

Module 6 Activity 1 One sample t test procedures Ctools salmonella.sav We will start step by step with Qwizdom questions…

Order the steps for conducting a hypothesis test... 1)Assumptions and test statistic 2)State the hypotheses 3)Find the p-value 4)Conclusion 5)Decision

What is the response? A)Individual salmonella levels B)Average salmonella level

What type of variable is the response? A)Discrete B)Continuous

What type of parameter would be useful for summarizing this variable? A)Proportion B)Mean

What is the specific parameter of interest? p μ μ d μ 1 – μ 2 p 1 – p 2

Select the appropriate alternative hypothesis Ha: μ > 0.3 Ha: μ ≥ 0.3 Ha: μ < 0.3 Ha: μ ≤ 0.3 Ha: μ ≠ 0.3

What graph could be used to check the random sample assumption? Histogram Boxplot Time-series plot QQ-plot

What graph would be used to check the normal distribution assumption? Histogram Boxplot Time-series plot QQ-plot

What is the distribution of the test statistics if Ho is true? N(0,1) N(μ,σ) t(n) t(n-1)

Yes or No Are the results statistically significant at the 5% level?

Interpretations Test statistic: the observed sample mean was average distances (i.e standard errors) above the hypothesized mean of 0.3. P-value: the p-value of (0.059/2) = indicates that if the mean level is really 0.3 MPH/g, and if repeated random samples of the same size were drawn from the population of Salmonella enteritidis levels, the probability of observing a test statistic value as large as or larger is only

Paired t Procedures Similar to one sample t procedures (Module 6 Activity 1) μ D taking place of μ Paired difference vs. Difference of parameter of two populations (μ D vs. μ 1 - μ 2 )

Paired vs. Independent Difference Problem: are the books from Amazon.com cheaper than those from Borders? Scenario 1: pick 100 books randomly, record the price differences of two sellers and analyze. Scenario 2: pick 100 books randomly from Amazon.com and 100 books randomly from Borders, calculate the mean price of each group and calculate the difference and analyze. Which scenario is better for this problem?

Module 7 Activity 1 Ctools books.sav

Interpretation of p-Value If the null hypothesis is true and this procedure (experiment) was repeated many times, we would expect to see a T- test statistic value of or larger in 86.15% of the repetitions. Thus our data are not at all unusual under the null hypothesis theory.

In-Lab Review minutes Ctools\Lab info\in lab review on CI

Before We Finish … Questions and comments?