1. Do Text Exercise 6.6-6. The 95% confidence interval for  is given by <  < X – z 0.025  /  nX + z 0.025  /  n We want Section 6.6 z 0.025  / 

Slides:



Advertisements
Similar presentations
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 1Advanced Formatting Techniques.
Advertisements

Section Find the outcome space for each of the following experiments: (a) (b) (c) (d) (e) A teenager is selected at random from a street corner.
Click here to start the game! 20 Points 30 Points 40 Points 50 Points 10 Points 20 Points 30 Points 40 Points 50 Points 30 Points 40 Points 50 Points.
Statistical Estimation and Sampling Distributions
Chap 8-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 8 Estimation: Single Population Statistics for Business and Economics.
Section 4.4 Sampling Distribution Models and the Central Limit Theorem Transition from Data Analysis and Probability to Statistics.
Section 2.1 Important definitions in the text: The definition of random variable and space of a random variable Definition The definition of probability.
6.5: Estimating a Population Proportion
Chapter 8 Estimating Single Population Parameters
Confidence Intervals and Sample Size
Section 6.2 Suppose X 1, X 2, …, X n are observations in a random sample from a N( ,  2 ) distribution. Then,
Section 6.3 Suppose that X 1, X 2, …, X n are a random sample from a N(  X,  X 2 ) distribution, that Y 1, Y 2, …, Y m are a random sample from a N(
Section 6.4 Suppose X 1, X 2, …, X n are observations in a random sample from a N( ,  2 ) distribution. Then, (n – 1)S 2 ———— has a distribution.  2.
Today Today: Chapter 9 Assignment: Recommended Questions: 9.1, 9.8, 9.20, 9.23, 9.25.
Section 2.3 Suppose X is a discrete-type random variable with outcome space S and p.m.f f(x). The mean of X is The variance of X is The standard deviation.
Section 5.7 Suppose X 1, X 2, …, X n is a random sample from a Bernoulli distribution with success probability p. Then Y = X 1 + X 2 + … + X n has a distribution.
Section 6.1 Let X 1, X 2, …, X n be a random sample from a distribution described by p.m.f./p.d.f. f(x ;  ) where the value of  is unknown; then  is.
Two Population Means Hypothesis Testing and Confidence Intervals With Known Standard Deviations.
Section 5.3 Suppose X 1, X 2, …, X n are independent random variables (which may be either of the discrete type or of the continuous type) each from the.
Sections 4.1, 4.2, 4.3 Important Definitions in the Text:
Text Exercise 1.22 (a) (b) (c) (d) (This part is asking you whether the data looks reasonably bell-shaped.) The distribution looks somewhat close to bell-shaped.
Chapter 8 Estimation: Single Population
Additional HW Exercise 9.1 (a) A state government official is interested in the prevalence of color blindness among drivers in the state. In a random sample.
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai Descriptive Statistics PowerPoint Prepared by Alfred.
Section 6.7 Suppose Y is the number of successes in n independent Bernoulli trials where the success probability on each trial is p. With a sufficiently.
6.1 Confidence Intervals for the Mean (Large Samples)
DATA Exploration: Statistics (One Variable) 1.Basic EXCELL/MATLAB functions for data exploration 2.Measures of central tendency, Distributions 1.Mean 2.Median.
Prediction concerning Y variable. Three different research questions What is the mean response, E(Y h ), for a given level, X h, of the predictor variable?
Working with Numbers in Alice - Converting to integers and to strings - Rounding numbers. - Truncating Numbers Samantha Huerta under the direction of Professor.
How confident can we be in our analysis?. Unit Plan – 10 lessons  Recap on CLT and Normal Distribution  Confidence intervals for the mean  Confidence.
Estimation Basic Concepts & Estimation of Proportions
Estimation Using a Single Sample
Aim: How do we find an appropriate sample size? HW#10: Complete question on last slide Quiz Friday.
5.5 Distributions for Counts  Binomial Distributions for Sample Counts  Finding Binomial Probabilities  Binomial Mean and Standard Deviation  Binomial.
Confidence Intervals 1 Chapter 6. Chapter Outline Confidence Intervals for the Mean (Large Samples) 6.2 Confidence Intervals for the Mean (Small.
Confidence Intervals for the Mean (σ known) (Large Samples)
Confidence Interval Proportions.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #5 Jose M. Cruz Assistant Professor.
Confidence Intervals with Proportions Chapter 9 Notes: Page 165.
9.9 Single Sample: Estimating of a Proportion:.p = Population proportion of successes (elements of Type A) in the population.n = sample size X = no. of.
Ch 12 – Inference for Proportions YMS 12.1
Uniform Distributions and Random Variables Lecture 23 Sections 6.3.2, Mon, Oct 25, 2004.
Confidence Interval & Unbiased Estimator Review and Foreword.
Section 6.3: How to See the Future Goal: To understand how sample means vary in repeated samples.
Excel Part 2 Beth McKelvey. AutoSum The function in Excel that calculates the sum of a group of numbers.
Chap 8 Heteroskedasticity
8.1 Estimating µ with large samples Large sample: n > 30 Error of estimate – the magnitude of the difference between the point estimate and the true parameter.
Confidence Intervals for a Population Proportion Excel.
Statistics Sampling Distributions and Point Estimation of Parameters Contents, figures, and exercises come from the textbook: Applied Statistics and Probability.
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai One-Sample t-Test PowerPoint Prepared by Alfred P.
Chapter 22 Comparing Two Proportions. Comparing 2 Proportions How do the two groups differ? Did a treatment work better than the placebo control? Are.
Chapter 7: Sampling Distributions Section 7.2 Sample Proportions.
Cell Column Drawing Toolbar Formatting Toolbar Formula Bar Help Box Menu Bar Name Box Rows Standard Toolbar Title Bar Worksheet.
An urn contains 1 green, 2 red, and 3 blue marbles. Draw two without replacement. 1/6 2/6 3/6 2/5 3/5 1/5 3/5 1/5 2/5 2/30 3/30 2/30 6/30 3/30 6/30.
Exporting & Formatting Budgets from FlexGen, NextGen & Zortec into Excel.
Chapter 8: Estimating with Confidence
Chapter Confidence Intervals 1 of 31 6  2012 Pearson Education, Inc. All rights reserved.
Chapter 6 Confidence Intervals 1 Larson/Farber 4th ed.
Sampling: Distribution of the Sample Mean (Sigma Known) o If a population follows the normal distribution o Population is represented by X 1,X 2,…,X N.
Confidence Intervals for Proportions
CHAPTER 8 Estimating with Confidence
STATISTICAL INFERENCE
Section 4.4 Sampling Distribution Models and the Central Limit Theorem
CONCEPTS OF ESTIMATION
The least squares line is derived in Section 4.2 by minimizing
Sampling Distributions
Confidence Intervals with Proportions
Hypothesis Testing and Confidence Intervals
Inference for Proportions
Friday, September 21st, 2018 Excel Worksheets On Create Page
Presentation transcript:

1. Do Text Exercise The 95% confidence interval for  is given by <  < X – z  /  nX + z  /  n We want Section 6.6 z  /  n  5 z  / 5   n (z  / 5) 2  n [(1.960)(33.7) / 5] 2  n  n The sample size must be at least 175. Note that formula in the textbook is the general formula for finding the necessary sample size in this situation; if we are not certain about the value for , we must use the largest value that we think is possible.

2. Do Text Exercise The 90% confidence interval for p is given by < p < Y/n – z  /2  (Y/n)(1 – Y/n) / nY/n + z  /2  (Y/n)(1 – Y/n) / n We want z 0.05  p (1 – p) / n  0.03 z 0.05  p (1 – p) /  n  0.03 z 0.05  p (1 – p) / 0.03   n z p (1 – p) / (0.03) 2  n (1.645) 2 p(1 – p) /  n < p < p – z 0.05  p (1 – p) / np + z 0.05  p (1 – p) / n The largest possible value for p(1 – p) is when p = 0.5. If we have no information at all about p, then we can use p = 0.5, and this gives us the sample size for the “worst case.” Otherwise we can use a value for p which is as close to 0.5 as seems reasonable. 2.-continued

(1.645) 2 p(1 – p) /  n Suppose we make no assumption about p, and use p = 0.5 to get the sample size for this “worst case.” Suppose we believe that p is much closer to p = 0.8 than to 0.5. (1.645) 2 (0.25) /  n  n The sample size must be at least 752. (1.645) 2 (0.8)(0.2) /  n  n The sample size must be at least 482. Note that formulas and in the textbook are the general formulas for finding the necessary sample size in a situation of either one of these types.

3. (a) An urn contains 1500 marbles, each of which is either green or blue. Let M represent the number of blue marbles, and let p represent the proportion of blue marbles, that is, p = M / For n < 1500, we define following random variables: X = Y = the number of blue marbles when n marbles are selected with replacement from the urn, the number of blue marbles when n marbles are selected without replacement from the urn. Name the type of distribution X has, and find the mean and variance of X. X has a distribution.b(n, p) E(X) =Var(X) = M 1500 – M np(1 – p) = n —— ———— M np = n—— 1500

3.-continued (b) (c) Name the type of distribution Y has, and find the mean and variance of Y. Y has a distributionhypergeometricwith N =, N 1 =1500M.M. E(Y) =Var(Y) = M n —— = np 1500 M 1500 – M 1500 – n n —— ———— ———— = – – n np(1 – p) ———— 1499 Let p X = X / n, and let p Y = Y / n. Find the mean and variance for each of p X and p Y, explain why each is an unbiased estimator of p = M / 1500, and decide which estimator is better. 1 — E(X) = n 1 — np = p n E(p X ) = E(X / n) =

1 — E(X) = n 1 — np = p n E(p X ) = E(X / n) = 1 — E(Y) = n 1 — np = p n E(p Y ) = E(Y / n) = Consequently, both estimators of p are unbiased. 1 — Var(X) = n 2 1 p (1 – p) — np (1 – p) = ——— n 2 n Var(p X ) = Var(X / n) = 1 — Var(Y) = n 2 Var(p Y ) = Var(Y / n) = – n — np (1 – p) ———— = n p (1 – p) 1500 – n ———— n 1499 p Y is the better estimator, since its variance is smaller.

3.-continued (d) Suppose a 99% confidence interval for p is to be obtained from a random sample of n observations of X. Find the sample size required if we want the maximum error of estimate to be The 99% confidence interval for p is given by < p < p – z  p (1 – p) / np + z  p (1 – p) / n We want z  p (1 – p) / n  z p (1 – p) / (0.015) 2  n (2.576) 2 p(1 – p) /  n Since we make no assumption about p, we use p = 0.5 to get the sample size for this “worst case.” (2.576) 2 (0.25) /  n  n The sample size must be at least 7374.

3.-continued (e) Suppose a 99% confidence interval for p is to be obtained from a random sample of n observations of Y by using the confidence interval discussed just before Example in the text. Find the sample size required if we want the maximum error of estimate to be The 99% confidence interval for p is given on page 319 of the text. We wantm ————————  n 1 + (m – 1) / 1500 where m = z p (1 – p) / (0.015) 2 Since we make no assumption about p, we use p = 0.5 to get the sample size for this “worst case.” m = (2.576) 2 (0.25) / =  n The sample size must be at least 1247.

Add a worksheet to the Excel file Confidence_Intervals (created previously) which displays the minimum sample size required to estimate a mean  or a proportion p. 4. (a) Create a worksheet named Sample Size in the Excel file named Confidence_Intervals as follows:

Insert a new worksheet by right clicking on the last worksheet name at the bottom left of the screen and selecting the option Insert, and name the worksheet Sample Size. (2) Enter the labels displayed in columns A and B, and enter the value 0.5 in cell A13 as displayed. (3) (4) (5) Color the cells A2, A3, A4, A12, A13, A14, and A19 with a light color such as yellow. (1) Center the display in cells A2:A5, A7, A12:A15, A17, A19, and A21. Enter the following formulas respectively in cells A5 and A15: =IF(ISBLANK(A4),"-",NORMINV(1-0.5*(1-A4),0,1)) =IF(ISBLANK(A14),"-",NORMINV(1-0.5*(1-A14),0,1)) (6) In the Formulas tab, use the Define Name option to assign the name em to cell A2, the name sb to cell A3, the name zm to cell A5, the name ep to cell A12, the name pb to cell A13, the name zp to cell A15, the name m to cell A17, the name Np to cell A19.

4.-continued (7) Enter the following formulas respectively in cells A7 and A17: =IF(OR(ISBLANK(A2),ISBLANK(A3),ISBLANK(A4)),"-",ROUNDUP((zm*sb/em)^2,0)) =IF(OR(ISBLANK(A12),ISBLANK(A13),ISBLANK(A14)), "-",ROUNDUP(zp^2*pb*(1-pb)/ep^2,0)) Enter the following formula in cell A21: (8) =IF(OR(ISBLANK(A12),ISBLANK(A13),ISBLANK(A14),ISBLANK(A19)), "-",ROUNDUP(m/(1+(m-1)/Np),0)) (9) Save the file as Confidence_Intervals (in your personal folder on the college network).

(b) (c) (d) (e) Use the Excel file Confidence_Intervals to obtain the sample size in Class Exercise #1 of this section (Text Exercise 6.6-6). Use the Excel file Confidence_Intervals to obtain the sample size in Class Exercise #2 of this section (Text Exercise ). Use the Excel file Confidence_Intervals to obtain the sample size in Class Exercise #3(d). Use the Excel file Confidence_Intervals to obtain the sample size in Class Exercise #3(e).