Chapter 7 and Chapter 8.

Slides:



Advertisements
Similar presentations
Lecture 6 Outline – Thur. Jan. 29
Advertisements

AP STATISTICS LESSON 11 – 1 (DAY 3) Matched Pairs t Procedures.
Confidence Intervals Chapter 10. Rate your confidence Name my age within 10 years? 0 within 5 years? 0 within 1 year? 0 Shooting a basketball.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
AP Statistics Section 10.2 A CI for Population Mean When is Unknown.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
Chapter 11: Inference for Distributions
CHAPTER 19: Two-Sample Problems
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Inference for Distributions
Chapter 19: Two-Sample Problems STAT Connecting Chapter 18 to our Current Knowledge of Statistics ▸ Remember that these formulas are only valid.
+ DO NOW What conditions do you need to check before constructing a confidence interval for the population proportion? (hint: there are three)
Estimating a Population Mean
Chapter 8: Estimating with Confidence
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
AP STATISTICS LESSON 11 – 2 (DAY 1) Comparing Two Means.
More About Significance Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
10.2 Estimating a Population Mean when σ is Unknown When we don’t know σ, we substitute the standard error of for its standard deviation. This is the standard.
Dan Piett STAT West Virginia University
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
Chapter 11 Inference for Distributions AP Statistics 11.1 – Inference for the Mean of a Population.
Section 8.3 Estimating a Population Mean. Section 8.3 Estimating a Population Mean After this section, you should be able to… CONSTRUCT and INTERPRET.
CHAPTER 18: Inference about a Population Mean
T statistic The t-statistic, t, is used for inference of the mean of a population, when  is unknown. –This test statistic has a t distribution with n.
For 95 out of 100 (large) samples, the interval will contain the true population mean. But we don’t know  ?!
AP Exam Prep: Essential Notes. Chapter 11: Inference for Distributions 11.1Inference for Means of a Population 11.2Comparing Two Means.
More Inferences About Means Student’s t distribution and sample standard deviation, s.
10.1: Confidence Intervals – The Basics. Introduction Is caffeine dependence real? What proportion of college students engage in binge drinking? How do.
Section 8.3 Estimating a Population Mean. Section 8.3 Estimating a Population Mean After this section, you should be able to… CONSTRUCT and INTERPRET.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.3 Estimating a Population Mean.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.4 Analyzing Dependent Samples.
Nonparametric Tests IPS Chapter 15 © 2009 W.H. Freeman and Company.
BPS - 3rd Ed. Chapter 161 Inference about a Population Mean.
Essential Statistics Chapter 161 Inference about a Population Mean.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Estimating with Confidence Section 11.1 Estimating a Population Mean.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.3 Estimating a Population Mean.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
Comparing Two Means Ch. 13. Two-Sample t Interval for a Difference Between Two Means.
Essential Statistics Chapter 171 Two-Sample Problems.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Inference for distributions: - Comparing two means.
T T Population Hypothesis Tests Purpose Allows the analyst to analyze the results of hypothesis testing of the difference of 2 population.
+ Unit 5: Estimating with Confidence Section 8.3 Estimating a Population Mean.
+ Z-Interval for µ So, the formula for a Confidence Interval for a population mean is To be honest, σ is never known. So, this formula isn’t used very.
Inference about the mean of a population of measurements (  ) is based on the standardized value of the sample mean (Xbar). The standardization involves.
Lecture 22 Dustin Lueker.  Similar to testing one proportion  Hypotheses are set up like two sample mean test ◦ H 0 :p 1 -p 2 =0  Same as H 0 : p 1.
+ Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population Mean.
AP Statistics Chapter 11 Section 2. TestConfidence IntervalFormulasAssumptions 1-sample z-test mean SRS Normal pop. Or large n (n>40) Know 1-sample t-test.
In your groups, go through all four steps of a confidence interval: The “Country Taste” bread making company wants to estimate the actual weight of their.
Statistics 24 Comparing Means. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Inference about the mean of a population of measurements (  ) is based on the standardized value of the sample mean (Xbar). The standardization involves.
Chapter 11 Inference for Distributions AP Statistics 11.2 – Inference for comparing TWO Means.
Class Six Turn In: Chapter 15: 30, 32, 38, 44, 48, 50 Chapter 17: 28, 38, 44 For Class Seven: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 Read.
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Warmup To check the accuracy of a scale, a weight is weighed repeatedly. The scale readings are normally distributed with a standard deviation of
Estimating with Confidence
Chapter 8: Estimating with Confidence
Basic Practice of Statistics - 3rd Edition Two-Sample Problems
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
2/5/ Estimating a Population Mean.
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Presentation transcript:

Chapter 7 and Chapter 8

Inference for the Mean of a Population – Part 1 Chapter 7.1 (omit sign test pp 469 – 470)

The situation where  is not known If  is known then the std deviation of the sample mean is given by /sqrt(n) We now consider the more realistic situation where  is not known. In effect, we estimate  using, s, the sample standard deviation.

t-table (Table D)

Using the t-table

Example: The following data are the amounts of vitamin C, measured in mg. per 100 grams of blend (dry basis) for a random sample of size 8 from a production run: 26,31,23,22,11,22,14,31 We want a 95% c.i. for µ, the mean vitamin C content produced during this run.

Example: A random sample of 10 one-bedroom apartment rental ads from your local newspaper has these monthly rents (dollars): 500,650,600,505,450,550,515,495,650,395. Do these data give good reason to believe that the mean rent of all advertised one apartments is greater than $500 per month?

Matched Pairs Here are some sales before and after a motivational course. Does the course appear to be effective in increasing sales?

Robustness of the t procedures A statistical procedure is said to be robust if the probability calculations required are insensitive to violations of the assumptions made: For t: n < 15: use t if data is clearly close to normal. If clearly non-normal or outliers are present do not use t. 40>= n ≥ 15: can use t except in presence of outliers or strong skewness. Large samples: can use t procedures even for clearly skewed data when sample size is large, roughly n ≥ 40.

Inference for the Mean of a Population – Part 2: Comparing Two Means Chapter 7.2 (omit pp 498- 503)

Overview Want to compare means of two populations Can use c.i. or hypothesis tests. Many specialized procedures -- depending on data and underlying distributions. We’ll look at some of the most important ones.

The idealized situation We assume variances are known and normal population. Doesn’t happen often in practice Can do hypothesis tests and compute p-values as in Ch 6. Example: sigma1 =20, sigma 2 =30, n1 = 120, n2 = 150, x1bar = 67.3, x2 bar = 72.0 H0: mu1- mu2 = 0. Ha: mu1-mu2 ≠0 (a) Compute the z statistic and p-value. (b) Get a 95% c.i for mu1- mu2

Two sample t-procedures The most common situation. We use sample standard deviations to estimate sigma1 and sigma2.

Example The purchasing department has suggested that all new computer monitors for your company should have flat screens. You want to be sure employees like them. The next 20 employees needing screens are randomly divided into two groups, with 10 in each group. 10 get flat screens, the other 10 get conventional monitors. One month after receiving the monitors, the employees rate their satisfaction with their monitors on a scale from 1 to 5 by responding to the question “I like my new monitor ( 1= strongly disagree, 5 = strongly agree). Flat screen employees have an average satisfaction of 4.6 with std dev of 0.7. The employees with the standard monitors have an average 3.2 with a standard deviation of 1.6. (a) Give a 95% c.i for the difference in mean satisfaction scores for all employees. What about a hypothesis test for comparing the two means?

Robustness of the two sample procedures Generally procedures are quite robust If sample sizes are equal and distributions of the two populations have similar shapes, p-values from t table are quite accurate even when n1 and n2 are as small as 5. If sample sizes are unequal can use the following (same as for one sample t-tests and conf.ints., but replace n by n1+n2): n1+n2 < 15: use t if data is clearly close to normal. If clearly non-normal or outliers are present do not use t. n1+n2 ≥ 15: can use t except in presence of outliers or strong skewness. Large samples: can use t procedures even for clearly skewed data when sample size is large, roughly n1+n2 ≥ 40.

Specialized procedures Small samples Have to be very careful. Substantial uncertainty in estimates, but if differences in means is large, can often detect this Specialized procedures If we can assume that two populations have equal variances then can use pooled estimator. Can test for equal variances (F test) Numerical procedures (optional) appear in text.

Excel Data analysis tool pack can do two-sample t-tests that we have discussed + optional material: Most important for us are the two sample t test that does not assume equal variances Excel also does the calculation for a specialized test that assumes the two populations have equal variance All are very easy to use. We Should alway plot data, do normal quantile plots, etc.

Excel example Example– Do piano lessons improve spatial-temporal reasoning? Excel output appears below.

Chapter 8 Inferences for Proportions (Section 8.1)

How do sample proportions behave? Chapter 5 tells us …

Example A SRS of 1600 BC residents found that 954 favored construction of a new highway to Whistler. Give a 95% c.i for the true proportion of BC residents who favor a new highway to Whistler.

A variation that works better for small samples

Using the plus 4 estimator for small samples 9 of 15 people in a SRS of 15 Buec 232 students felt that the course workload was too heavy. Compute an approximate 90% c.i. for the proportion of students who felt the course workload was too heavy.

Hypothesis tests for proportions – we use sample proportion rather than plus 4 estimate.

Example We found that 11 customers in a sample of 40 would be willing to buy a software upgrade that costs $100. If the upgrade is to be profitable, you will need to sell it to more than 20% of your customers. Do the sample data give good evidence that more than 20% are willing to buy?

A poll (March 2, 2004) estimated that support for the BC Liberal party was 39%. Using this estimate as a “guessed value” for a follow up study, how large a sample would I need to estimate Liberal support to within +/- 3%? I want a 95% level of confidence in my estimate.