statistics 270 -lecture 22 - sfu mathematics and statistics...

20
Statistics 270 - Lecture 22

Upload: truongdien

Post on 25-May-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

St at is t ic s 270 - Lec t ure 22

Page 2: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

• Last Day…completed 5.1

• Today Parts of Section 5.3 and 5.4

Page 3: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Ex am ple

• Government regulations indicate that the total weight of cargo in a certain kind of airplane cannot exceed 330 kg. On a particular day a plane is loaded with 81 boxes of a particular item only. Historically, the weight distribution for the individual boxes of this variety has a mean 3.2 kg and standard deviation 1.0 kg.

• What is the distribution of the sample mean weight for the boxes?

• What is the probability that the observed sample mean is larger than 3.33 kg?

Page 4: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

• Statistical I nference deals with drawing conclusions about population parameters from sample data

• Estimation of parameters:• Estimate a single value for the parameter (point estimate)• Estimate a plausible range of values for the parameter

(confidence intervals)

• Testing hypothesis:• Procedure for testing whether or not the data support a theory

or hypothesis

Page 5: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Point Est im at ion

• Objective: to estimate a population parameter based on the sample data

• Point estimator is a statistic which estimates the population parameter

Page 6: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

• Suppose have a random sample of size n from a normal population

• What is the distribution of the sample mean?

• If the sampling procedure is repeated many times, what proportion of sample means lie in the interval:

• I f the sampling procedure is repeated many times, what proportion of sample means lie in the interval:

Page 7: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

• In general, 100(1- )% of sample means fall in the interval

• Therefore, before sampling the probability of getting a sample mean in this interval is

nz

nz 2/2/ ,

Page 8: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

• Could write this as:

• Or, re-writing…we get:

)1(2/2/ nzX

nzP

)1(2/2/ nzX

nzXP

Page 9: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

• The interval below is called a confidence interval for

• Key features:• Population distribution is assumed to be normal• Population standard deviation, , is known

nzX

nzX 2/2/ ,

Page 10: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Ex am ple

• To assess the accuracy of a laboratory scale, a standard weight known to be 10 grams is weighed 5 times

• The reading are normally distributed with unknown mean and a standard deviation of 0.0002 grams

• Mean result is 10.0023 grams

• Find a 90% confidence interval for the mean

Page 11: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

In t erpret at ion

• What exactly is the confidence interval telling us?

• Consider the interval in the previous example. What is the probability that the population mean is in that particular interval?

• Consider the interval in the previous example. What is the probability that the sample mean is in that particular interval?

Page 12: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Large Sam ple Conf idenc e In t erva l for

• Situation:

• Have a random sample of size n (large)

• Suppose value of the standard deviation is known

• Value of population mean is unknown

Page 13: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

• I f n is large, distribution of sample mean is

• Can use this result to get an approximate confidence interval for the population mean

• When n is large, an approximate confidence interval for the mean is:

)%1(100

Page 14: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Ex am ple

• Amount of fat was measured for a random sample of 35 hamburgers of a particular restaurant chain

• It is known from previous studies that the standard deviation of the fat content is 3.8 grams

• Sample mean was found to be 30.2

• Find a 95% confidence interval for the mean fat content of hamburgers for this chain

Page 15: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Changing t he Lengt h of a Conf idenc e In t erva l

• Can shorten the length of a confidence interval by:

• Using a difference confidence level• Increasing the sample size

• Reducing population standard deviation

Page 16: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Sam ple Size for a Desi red Widt h

• Frequent question is “how large a sample should I take?”

• Well, it depends

• One to answer this is to construct a confidence interval for a desired width

Page 17: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Sam ple Size for a Desi red Widt h

• Width (need to specify confidence level)

• Sample size for the desired width

Page 18: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Ex am ple

• Limnologists wishes to estimate the mean phosphate content per unit volume of a lake water

• I t is known from previous studies that the standard deviation isfairly stable at around 4 ppm and that the observations are normally distributed

• How many samples must be sampled to be 95% confidence of being within .8 ppm of the true value?

Page 19: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

Ex am ple

• A plant scientist wishes to know the average nitrogen uptake of a vegetable crop

• A pilot study showed that the standard deviation of the update is about 120 ppm

• She wishes to be 90% confident of knowing the true mean within 20 ppm

• What is the required sample size?

Page 20: Statistics 270 -Lecture 22 - SFU Mathematics and Statistics …people.stat.sfu.ca/~dbingham/Stat270/lecture_22.pdf ·  · 2006-03-14Example •Government regulations indicate that

This document was created with Win2PDF available at http://www.daneprairie.com.The unregistered version of Win2PDF is for evaluation or non-commercial use only.