STATISTICS and PROBABILITY - Atatürk...

16
Atatürk University Introduction to Statistics Prof. Dr. İrfan KAYMAZ STATISTICS and PROBABILITY Atatürk University Engineering Faculty Department of Mechanical Engineering LECTURE: SAMPLING DISTRIBUTIONS and POINT ESTIMATIONS

Transcript of STATISTICS and PROBABILITY - Atatürk...

Page 1: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

Atatürk University

Introduction to Statistics

Prof. Dr. İrfan KAYMAZ

STATISTICS and PROBABILITY

Atatürk UniversityEngineering Faculty

Department of Mechanical Engineering

LECTURE: SAMPLING DISTRIBUTIONS andPOINT ESTIMATIONS

Page 2: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

Estimation

After carefully following this lecture, you should be able to do the following:

1. Explain the general concepts of estimating the parameters of a population or a probability distribution.

2. Explain the important role of the normal distribution as a sampling distribution.

3. Understand the central limit theorem.4. Explain important properties of point estimators, including bias,

variances, and mean square error.5. Know how to construct point estimators using the method of

moments, and the method of maximum likelihood.6. Know how to compute and explain the precision with which a

parameter is estimated.7. Know how to construct a point estimator using the Bayesian

approach.

objectives of this lecture

Page 3: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationPoint Estimation

• A point estimate is a reasonable value of a population parameter.

• Data collected, X1, X2,…, Xn are random variables.

• Functions of these random variables, 𝑋 and𝑆2, are also random variables called statistics.

• Statistics have their unique distributions that are called sampling distributions.

Page 4: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationPoint Estimator

A point estimate of some population parameter 𝜃

is a single numerical value 𝜃 of a statistic Θ .

The statistic Θ is called the point estimator.

Page 5: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationPoint Estimator

As an example,suppose the random variable is normally distributed with

an unknown mean μ.   The sample mean is a point estimator of the unknown

population mean μ.  That is, μ .  After the sample ha

X

X

1 2 3 4

s been selected,

the numerical value is the point estimate of μ.

Thus if 25, 30, 29, 31, the point estimate of μ is

25 30 29 31 28.75

4

x

x x x x

x

Page 6: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationSome Parameters & Their Statistics

Parameter Measure Statistic

μ Mean of a single population x-bar

σ2 Variance of a single population s 2

σ Standard deviation of a single population s

p Proportion of a single population p -hat

μ1 - μ2 Difference in means of two populations xbar1 - xbar2

p 1 - p 2 Difference in proportions of two populations p hat1 - p hat2

Page 7: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationSampling Distribution of the Sample Mean

• A random sample of size n is taken from a normal population with mean μ and variance σ2.

• The observations, X1, X2,…,Xn, are normally and independently distributed.

• A linear function ( 𝑋) of normal and independent random variables is itself normally distributed.

1 2

2 2 22

2

... has a normal distribution

...with mean

...and variance

n

X

X

X X XX

n

n

n

Page 8: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationCentral Limit Theorem

Page 9: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationSampling Distributions of Sample Means

Figure: Distributions of averagescores from throwing dice Mean = 3.5

Page 10: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationExample: Resistors

Figure: Desired probability is shaded

An electronics company manufactures resistors having a mean resistance of 100 ohms and a standard deviation of 10 ohms. The distribution of resistance is normal.

What is the probability that a random sample of n = 25 resistors will have an average resistance of less than 95 ohms?

Page 11: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationExample: Resistors

Answer:

Page 12: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationTwo PopulationsWe have two independent normal populations. What is

the distribution of the difference of the sample means?

1 2 1 2

1 2 1 2

1 2

1 2

2 22 2 2 1 2

1 2

1 2

1 2

The sampling distribution of is:

The distribution of is normal if:

(1) and are both greater than 30,

regardless of the distributions of

X X X X

X X X X

X X

n n

X X

n n

1 2

1 2

and .

(2) and are less than 30,

while the distributions are somewhat normal.

X X

n n

Page 13: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationSampling Distribution of a Difference in Sample Means

If we have two independent populations with means μ1 and μ2, and variances σ1

2 and σ22,

And if 𝑋1 and 𝑋2 are the sample means of two independent random samples of sizes n1 and n2 from these populations:

Then the sampling distribution of:

is approximately standard normal, if the conditions of the central limit theorem apply.

If the two populations are normal, then the sampling distribution is exactly standard normal.

Page 14: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationExample: Aircraft Engine Life

The effective life of a component used in jet-turbine aircraft engines is anormal-distributed random variable with mean 5000 hours andstandard deviation 40 hours.

The engine manufacturer introduces an improvement into themanufacturing process for this component that increases the mean lifeto 5050 hours and decreases the standard deviation to 30 hours.Suppose that a random sample of n1=16 components is selected fromthe old process and a random sample of n2=25 components is selectedfrom the improved process.

What is the probability the difference in the two sample means is atleast 25 hours?

Page 15: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationExample: Aircraft Engine Life

Old (1) New (2) Diff (2-1)

x -bar = 5,000 5,050 50

s = 40 30 50

n = 16 25

s / √n = 10 6 11.7

z = -2.14

P(xbar2-xbar1 > 25) = P(Z > z) = 0.9840= 1 - NORMSDIST(z)

Process

Calculations

Figure: Sampling distribution of the sample mean difference.

Page 16: STATISTICS and PROBABILITY - Atatürk Üniversitesimuhserv.atauni.edu.tr/makine/ikaymaz/statistics/lecture_notes/... · Atatürk University Introduction to Statistics Prof. Dr. İrfan

© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. Atatürk UniversityAtatürk University

EstimationNext Week

Statistical Intervals for a SingleSample….