Inferences from sample data Confidence Intervals Hypothesis Testing Regression Model.

Slides:



Advertisements
Similar presentations
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Advertisements

Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Chapter 12: Testing hypotheses about single means (z and t) Example: Suppose you have the hypothesis that UW undergrads have higher than the average IQ.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Type I and Type II Errors One-Tailed Tests About a Population Mean: Large-Sample.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Chapter 9 Hypothesis Testing
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Review of normal distribution. Exercise Solution.
AM Recitation 2/10/11.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
Go to Index Analysis of Means Farrokh Alemi, Ph.D. Kashif Haqqi M.D.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Mid-Term Review Final Review Statistical for Business (1)(2)
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2003 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
QMS 6351 Statistics and Research Methods Regression Analysis: Testing for Significance Chapter 14 ( ) Chapter 15 (15.5) Prof. Vera Adamchik.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Large sample CI for μ Small sample CI for μ Large sample CI for p
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Week 8 October Three Mini-Lectures QMM 510 Fall 2014.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Confidence Interval Estimation For statistical inference in decision making:
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
A.P. STATISTICS EXAM REVIEW TOPIC #2 Tests of Significance and Confidence Intervals for Means and Proportions Chapters
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Christopher, Anna, and Casey
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Statistical Inference about Regression
Interval Estimation and Hypothesis Testing
How Confident Are You?.
Presentation transcript:

Inferences from sample data Confidence Intervals Hypothesis Testing Regression Model

Confidence Intervals How well does the xbar represent the true population mean µ ? Can use CIs to determine “how close” we are to the true mean General form of a confidence interval –sample statistic ± (multiplier based on confidence level) x (standard error of statistic) –sampling distribution based on central limit theorem

Confidence Interval for Mean General expression: xbar ± t (alpha/2, df) x s/(square root of n) student t distribution standard error (n = sample size) margin of error -- how close we are likely (based on confidence level) to be to population parameter confidence level -- how confident we are that population parameter will be in our interval % means alpha is.05.

A Confidence Interval Example: Suppose xbar = 100, s = 5 and n = 25. Construct a 95% confidence interval and interpret the interval. 100 ± t (.025,24) x 5 / (square root of 25) 100 ± x 1 (97.94, ) We are 95% confident that the true mean is in our interval of (about) 98 to 103.

t df

Confidence Interval Questions : 1. If we took another sample, would we get the same confidence interval ? 2. How does the confidence level relate to the margin of error ? 3. What can be done to reduce the margin of error ?

Conceptual view of confidence intervals:

CONFIDENCE(alpha,standard_dev,size) Alpha is the significance level used to compute the confidence level. The confidence level equals 100*(1 - alpha)%, or in other words, an alpha of 0.05 indicates a 95 percent confidence level. Standard_dev is the population standard deviation for the data range and is assumed to be known. Size is the sample size. If we assume alpha equals 0.05, we need to calculate the area under the standard normal curve that equals (1 - alpha), or 95 percent. This value is ± The confidence interval is therefore:

Example Suppose we observe that, in our sample of 50 commuters, the average length of travel to work is 30 minutes with a population standard deviation of 2.5. With alpha =.05, CONFIDENCE(.05, 2.5, 50) returns The corresponding confidence interval is then 30 ± = approximately [29.3, 30.7]. For any population mean, μ0, in this interval, the probability of obtaining a sample mean further from μ0 than 30 is more than Likewise, for any population mean, μ0, outside this interval, the probability of obtaining a sample mean further from μ0 than 30 is less than 0.05.

Hypothesis Testing A study and assessment of data to examine two hypotheses: null and alternative. Six step process 1. state hypotheses, decision making alternatives and consequences of wrong decisions 2. select the appropriate test statistic 3. sketch sampling distribution and identify rejection region 4. collect data, compute statistics 5. test the null hypothesis and state conclusions 6. state managerial decision

Hypothesis test example: Our engineering staff claims we will obtain an average catapult launch of more than 110 inches. We will not market the catapult unless this is true. 1. state hypotheses Ho = ‘statement of no effect’ Ho = mean of launch is less than or equal to 110 inches Null action = don’t market. Ha = ‘there is an effect or difference’ Ha = mean launch is greater than 110 inches Alternative action = market catapult; ‘launch’ marketing campaign.

Type 1 and Type 2 Errors

With sample data, always a chance to make incorrect decisions setting significance level. For type 1 error, the alpha is the maximum risk we are willing to take for this type of error. Rules of thumb from Harvey Brightman: 1. Type 1 error costly and type 2 is not -- set alpha low or less 2. Type 2 error costly and type 1 is not -- set alpha higher -- perhaps.25 or above 3. Both errors costly -- set alpha low and increase sample size We are going to set alpha =.01

2. Select test statistic For large samples, use Z and for small samples use t Z = xbar - mu sigma / (square root of n) -- for the t test statistic, substitute s for sigma

3. Sketch sampling distribution and rejection region t = ,19 =TINV(2*0.01,19)

TINV TINV(probability,degrees_freedom) Probability is the probability associated with the two-tailed Student's t- distribution. Degrees_freedom is the number of degrees of freedom with which to characterize the distribution. Remarks A one-tailed t-value can be returned by replacing probability with 2*probability. For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns The one-tailed value for the same probability and degrees of freedom can be calculated with TINV(2*0.05,10), which returns EXCEL

4. Collect data and compute statistics Let x bar = 115, s = 8 and n = t* = / (square root of 20) t* = Statistical decision Since t * is in the rejection region, we reject the null and accept the alternative hypothesis.

Observations from Two Populations

Summary Statistics for the Two Groups

Using the t test statistic to test for a difference in the two means: Hypothesis test: Test statistic for hypothesis test on difference in two means

In our case: n1 = 20 s 1 = 6.15 n2 = 20 s 2 = 6.98 s = 9.56 t* = 17.9 / 3.02 = 5.93 Comparing to a t  at.05,18 = Would conclude statistically different the Numbers

EXCEL Example

Tools | Data Analysis | =TINV(0.05,16) =TINV(0.05*2,16)

24 Linear Regression Model Linear regression form: systematic variation in time series regression function (linear function of time) error term represents unsystematic or random variation

25 Tools | Data Analysis | Regression

26 = *C3 note: column C is time period Our regression model