Lecture 4 Chapter 11 wrap-up

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

1 Chapter 12 Inference About One Population Introduction In this chapter we utilize the approach developed before to describe a population.In.
STATISTICAL INFERENCE PART V
Discrete (Categorical) Data Analysis
Ch 12 實習.
Lecture 3 Miscellaneous details about hypothesis testing Type II error
Introduction to Hypothesis Testing
Chapter 9 Chapter 10 Chapter 11 Chapter 12
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Announcements Homework 2 will be posted on the web by tonight.
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 12 Inference About A Population.
1 Chapter 12 Inference About a Population 2 Introduction In this chapter we utilize the approach developed before to describe a population.In this chapter.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
T-Tests Lecture: Nov. 6, 2002.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses Statistics.
Inferences About Process Quality
1 Inference About a Population Variance Sometimes we are interested in making inference about the variability of processes. Examples: –Investors use variance.
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
BCOR 1020 Business Statistics
5-3 Inference on the Means of Two Populations, Variances Unknown
Statistical Inference for Two Samples
Hypothesis Testing:.
Confidence Intervals and Hypothesis Testing - II
Statistics for Managers Using Microsoft Excel
Chapter 20: Testing Hypotheses about Proportions
Statistics for Managers Using Microsoft® Excel 7th Edition
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson 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.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
6 - 1 © 2000 Prentice-Hall, Inc. A First Course in Business Statistics Inferences Based on a Single Sample: Tests of Hypothesis Chapter 6.
More About Significance Tests
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
Lecture 3: Review Review of Point and Interval Estimators
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
STATISTICAL INFERENCE PART VII
QBM117 Business Statistics Estimating the population mean , when the population variance  2, is known.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Economics 173 Business Statistics Lecture 6 Fall, 2001 Professor J. Petry
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 12 Inference About A Population.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Large sample CI for μ Small sample CI for μ Large sample CI for p
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
© Copyright McGraw-Hill 2004
Ch 12 實習. Jia-Ying Chen2 We shall develop techniques to estimate and test three population parameters. Population mean  Population variance  2 Population.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Chapter 12 Inference About One Population. We shall develop techniques to estimate and test three population parameters.  Population mean   Population.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Economics 173 Business Statistics
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses
Hypothesis Testing: One-Sample Inference
Interval Estimation and Hypothesis Testing
CHAPTER 12 More About Regression
Presentation transcript:

Lecture 4 Chapter 11 wrap-up Chapter 12.2 - Inference about the mean when the s.d. is unknown Chapter 12.3 – Inference about a population proportion

Hypothesis Testing – Basic Steps Set up alternative and null hypotheses Calculate test statistic, e.g. z-score Find critical values and compare the test statistic to critical value (rejection region method) or find p-value (p-value method) Make substantive conclusions.

Right-, Left, Two-Sided Tests Right-sided: Left-sided: 2-sided:

Summary: Steps in Testing Determine and (right//left//2sided), and decide on a significance level . Rejection region method: calculate and reject if // // P-value method: calculate => P(Z>z) // P(Z<z) // P(|Z|>|z|) from z-tables, or “Prob>z” // ”Prob<z” // “Prob>|z|” from JMP; reject if p-value . Interpret the result and tell a story.

Relationship Between CIs and Hypothesis Tests There is a duality between confidence intervals and hypothesis tests We can construct a level hypothesis test based on a level confidence interval by rejecting if and only if is not in the confidence interval We can construct a level confidence interval based on a level hypothesis test by including in the confidence interval if and only if the test does not reject

Calculation of Type II error State alternative for which you want to find P(Type II error). Find rejection region in terms of unstandardized statistic (sample mean) Find the probability of the sample mean falling outside the rejection region if the alternative under consideration is true (use standardization relative to the alternative hypothesis mean to calculate this probability).

Summary: Power Calculations Works only for the rejection region method, and we don’t do it for 2-sided tests. Calculate for level- test. Right-sided: P(Z<z) from z-table; =P(Z<z) Left-sided: P(Z>z) from z-table; =P(Z>z)

Frequent -values 0.10 0.05 0.025 0.01 0.005 1.28 1.64 1.96 2.33 2.58

Practice Problems 11.68,11.84,12.40,12.46

Chapter 12 In this chapter we utilize the approach developed before to describe a population. Identify the parameter to be estimated or tested. Specify the parameter’s estimator and its sampling distribution. Construct a confidence interval estimator or perform a hypothesis test.

12.2 Inference About a Population Mean When the Population Standard Deviation Is Unknown Recall that when s is known we use the following statistic to estimate and test a population mean When s is unknown, we use its point estimator s, and the z-statistic is replaced then by the t-statistic

t-Statistic When the sampled population is normally distributed, the t statistic is Student t distributed with n-1 degrees of freedom. Confidence Interval: where is the quantile of the Student t-distribution with n-1 degrees of freedom.

t-Statistic When the sampled population is normally distributed, the t statistic is Student t distributed with n-1 degrees of freedom. Confidence Interval: where is the quantile of the Student t-distribution with n-1 degrees of freedom.

The t - Statistic t s The “degrees of freedom”, (a function of the sample size) determine how spread the distribution is (compared to the normal distribution) The t distribution is mound-shaped, and symmetrical around zero. d.f. = v2 d.f. = v1 v1 < v2

A = .05 tA t.100 t.05 t.025 t.01 t.005

Testing m when s is unknown Example 12.1 In order to determine the number of workers required to meet demand, the productivity of newly hired trainees is studied. It is believed that trainees can process and distribute more than 450 packages per hour within one week of hiring. Fifty trainees were observed for one hour. In this sample of 50 trainees, the mean number of packages processed is 460.38 and s=38.82. Can we conclude that the belief is correct, based on the productivity observation of 50 trainees?

Checking the required conditions In deriving the test and confidence interval, we have made two assumptions: (i) the sample is a random sample from the population; (ii) the distribution of the population is normal. The t test is robust – the results are still approximately valid as long as the population is not extremely nonnormal. Also if the sample size is large, the results are approximately valid. A rough graphical approach to examining normality is to look at the sample histogram.

JMP Example Problem 12.45: Companies that sell groceries over the Internet are called e-grocers. Customers enter their orders, pay by credit card, and receive delivery by truck. A potential e-grocer analyzed the market and determined that to be profitable the average order would have to exceed $85. To determine whether an e-grocer would be profitable in one large city, she offered the service and recorded the size of the order for a random sample of customers. Can we infer from the data that e-grocery will be profitable in this city at significance level 0.05?

12.3 Inference About a Population Variance Sometimes we are interested in making inference about the variability of processes. Examples: The consistency of a production process for quality control purposes. Investors use variance as a measure of risk. To draw inference about variability, the parameter of interest is s2.

12.3 Inference About a Population Variance The sample variance s2 is an unbiased, consistent and efficient point estimator for s2. The statistic has a distribution called Chi-squared, if the population is normally distributed. d.f. = 5 d.f. = 10

Confidence Interval for Population Variance From the following probability statement P(c21-a/2 < c2 < c2a/2) = 1-a we have (by substituting c2 = [(n - 1)s2]/s2.)

Testing the Population Variance Example 12.3 (operation management application) A container-filling machine is believed to fill 1 liter containers so consistently, that the variance of the filling will be less than 1 cc (.001 liter). To test this belief a random sample of 25 1-liter fills was taken, and the results recorded (Xm12-03). s2=0.8659. Do these data support the belief that the variance is less than 1cc at 5% significance level? Find a 99% confidence interval for the variance of fills.

JMP implementation of two-sided test

12.4 Inference About a Population Proportion When the population consists of nominal data (e.g., does the customer prefer Pepsi or Coke), the only inference we can make is about the proportion of occurrence of a certain value. When there are two categories (success and failure), the parameter p describes the proportion of successes in the population. The probability of obtaining X successes in a random sample of size n from a large population can be calculated using the binomial distribution.

12.4 Inference About a Population Proportion Statistic and sampling distribution the statistic used when making inference about p is: Under certain conditions, [np > 5 and n(1-p) > 5], is approximately normally distributed, with m = p and s2 = p(1 - p)/n.

Testing and Estimating the Proportion Test statistic for p Interval estimator for p (1-a confidence level)

Testing the Proportion Example 12.5 (Predicting the winner in election day) Voters are asked by a certain network to participate in an exit poll in order to predict the winner on election day. The exit poll consists of 765 voters. 407 say that they voted for the Republican network. The polls close at 8:00. Should the network announce at 8:01 that the Republican candidate will win?

Selecting the Sample Size to Estimate the Proportion Recall: The confidence interval for the proportion is Thus, to estimate the proportion to within W, we can write The required sample size is:

Sample Size to Estimate the Proportion Example Suppose we want to estimate the proportion of customers who prefer our company’s brand to within .03 with 95% confidence. Find the sample size needed. Solution W = .03; 1 - a = .95, therefore a/2 = .025, so z.025 = 1.96 Since the sample has not yet been taken, the sample proportion is still unknown. We proceed using either one of the following two methods:

Sample Size to Estimate the Proportion Method 1: There is no knowledge about the value of Let . This results in the largest possible n needed for a 1-a confidence interval of the form . If the sample proportion does not equal .5, the actual W will be narrower than .03 with the n obtained by the formula below. Method 2: There is some idea about what will turn out to be. Use a probable value of to calculate the sample size

Practice Problems 12.40, 12.46, 12.58, 12.77, 12.98