Probability Distributions. Statistical Experiments – any process by which measurements are...

46
Probability Distributions

Transcript of Probability Distributions. Statistical Experiments – any process by which measurements are...

Page 1: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Probability Distributions

Page 2: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Statistical Experiments – any process by which measurements are obtained.

A quantitative variable x, is a random variable if its value is determined by the outcome of a random experiment.

Random variables can be discrete or continuous.

Statistical Experiments and Random Variables

Page 3: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Discrete vs. Continuous Discrete random variables – can take

on only a countable or finite number of values. (Countable)

Continuous random variables – can take on countless values in an interval on the real line. (Measurable)

Page 4: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Which measurement involves a discrete random variable?

a). Determine the mass of a randomly-selected penny

b). Assess customer satisfaction rated from 1 (completely satisfied) to 5 (completely dissatisfied).

c). Find the rate of occurrence of a genetic disorder in a given sample of persons.

d). Measure the percentage of light bulbs with lifetimes less than 400 hours.

Page 5: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Discrete or Continuous?Gas mileage(mpg) of all 2014

Toyota Prius’Number of songs on a seniors

iPod1 mile time of a high school

juniorAmount of m&ms in a bagHeight of a high school freshman

Page 6: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Probability distributions An assignment of probabilities to the

specific values or a range of values for a random variable.

Discrete Probability Distribution1) Each value of the random variable

has an assigned probability.

2) The sum of all the assigned probabilities must equal 1.

Page 7: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Discrete Probability Distribution Rolling a die

P(1) = .167, P(2) = .167, P(3) = .167…

# on the Die0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

0.18

123456

Page 8: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Discrete Probability Distribution

15 16 17 18 190

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Age of AP Statistics Students

Age of AP Statistics Students

Page 9: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Discrete Probability Distribution

# of cars

0 1 2 3

P(x) .08 .72 .18 .02

We asked 200 adults how many cars they own. The results are shown as a probability distribution below.

1) What is the probability of someone owning 2 cars?

2) What is the probability of someone owning at least 1 car?

3) What is the probability of someone owning no more than 1 car?

Page 10: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

What would a histogram look like if we graphed the weights (to the nearest pound) of 100 newborn babies?

What would it look like if we graphed the same 100 newborn babies, however rounded the weights to the nearest tenth?

What about hundredth?

Probability Distributions for Continuous Random Variables

Page 11: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Probability Distributions for Continuous Random VariablesThe probability distribution is

given as a density curve.The function that defines this

curve is called the density function f(x)

Page 12: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Probability Distributions for Continuous Random VariablesWhen the density is constant

over an interval, the probability distribution is called a uniform distribution.

Page 13: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Probability Distribution Features

Since a probability distribution can be thought of as a relative-frequency distribution for a very large n, we can find the mean and the standard deviation.

When viewing the distribution in terms of the population, use µ for the mean and σ for the standard deviation.

Page 14: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Mean and Standard Deviationof Discrete Probability Distribution

(Expected Value)

Page 15: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Find the mean and standard deviation of the following…

x 0 1 2 3 4 5 6 7 8 9 10

p(x)

.002

.001

.002

.005

.02 .04 .17 .38 .25 .12 .01

µ = 7.16,

1) What is the probability that a child receives a score within 2 standard deviations of the mean?

Page 16: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Sometimes we are interested in the behavior of not just a random variable itself, but a function of the variable.Suppose we know the mean and

standard deviation of the number of gallons of propane a random person orders in Old Lyme to be 318 and 42 respectively.

A company is considering 2 different pricing models:

Model 1: $3 per gallonModel 2: service charge of $50 +$2.80 per gallon

Page 17: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Mean and Standard Deviation of Linear FunctionsHelps us understand the behavior of

functions of random variables. Mean of y = a + bx is

a + bStandard deviation of y is

Page 18: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Which pricing model is better?x = # of gallons of propane

Model 1= $3.00xModel 2 = $50 + $2.80 per gallonWe are interested in y(amount

billed)Find the mean and standard

deviation of both models and compare them.

Page 19: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Mean and Standard Deviation of Linear Combinations

(must be independent)

If the free response is given twice as much weight, what are the mean and s.d of y?

Mean Standard Deviation

Mult. Choice 38 6

Free Response 30 7

Page 20: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Binomial Experiment (2 outcomes)1) There are a fixed number of trials.

This is denoted by n.2) The n trials are independent and

repeated under identical conditions.3) Each trial has two outcomes:

S = success F = failure4) For each trial, the probability of

success, p, remains the same. Thus, the probability of failure is 1 – p = q.

Page 21: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Binomial ProbabilityThe central problem is to determine

the probability of x successes out of n trials.◦Mark is an 80% free throw shooter. What

is the probability that he makes exactly 5 out of 10 free throws?

◦What is the probability he makes exactly 10 out of 10?

◦What is the probability he makes more than half his free throws?

Page 22: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Probability of x successes

Find the probability of observing 6 successes in 10 trials if the probability of success is p = 0.4.

a). 0.111 b). 0.251 c). 0.0002 d). 0.022

Page 23: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Using the Binomial Table

1) Locate the number of trials, n.

2) Locate the number of successes, x.

3) Follow that row to the right to the corresponding p column.

Page 24: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Find the probability of observing 3 successes in 5 trials if p = 0.7

Page 25: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Finding the Probability of multiple successes, r’s.

Find the probability of observing less than three 3 successes in 5 trials if p = 0.7

P(r<3) = P(0) + P(1) + P(2)

Page 26: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Find the probability of observing less than 3 successes in 5 trials if p = 0.7

Page 27: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Graphing a Binomial Distribution

Same as a relative frequency histogram with r values on the horizontal axis.

Page 28: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Graph n=3, and p=.2

# of Successes0

0.1

0.2

0.3

0.4

0.5

0.6

r=0r=1r=2r=3

Page 29: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Mean and Standard Deviation

Page 30: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

# of Successes0

0.1

0.2

0.3

0.4

0.5

0.6

r=0r=1r=2r=3

Graph n=3, and p=.2

𝜇=.6𝜎= .6928

Page 31: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Think about it!The graph of a distribution with a

small probability of success(p) would be skew left, right, symmetrical, uniform or bimodal?

How about a probability of success being 0.5?

Page 32: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

The Normal Curve (Bell Curve)

Page 33: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Finding z scores

z score gives the number of standard deviations between the x value and the mean µ.

z =

Always round to the hundredths.

Page 34: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Finding area (probability) using z score and the standard NORMAL DISTRIBUTION

Table 2 gives you the area to the left of z.

This is the probability of less than z.

Page 35: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Area to the right of z

Page 36: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Area Between two z values

Page 37: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Inverse Normal distributionWe have been working with

finding an area (probability), given a certain x or z value.

We can also find an x or z value given a certain area (probability).

Page 38: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Left-tail case: the given area is to the left of z

Look up the number A in the body of the table and use the corresponding z value.

Page 39: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Right-tail case: the given area is to the right of z

Look up the number 1 – A in the body of the table and use the corresponding z value.

Page 40: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Center-tail case: the given area is symmetric and centered above z = 0.

Look up the number (1 – A)/2 in the body of the table and use the corresponding ±z value.

Page 41: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Using Table 3 in the Appendix, find the range of z scores, centered about the mean, that contain 70% of the probability.

a). –1.04 to 1.04 b). –2.17 to 2.17

c). –0.30 to 0.30 d). –0.52 to 0.52

Page 42: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Checking for NormalityNormal Probability Plot: the

scatterplot of (normal score, observed value)

If the normal probability plot shows a linear trend, then the data is approximately normal.

Page 43: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Using the Correlation Coefficient to Check NormalityCorrelation Coefficient is obtained

using (normal score, observed value)If r is close to 1, then a linear

relationship should be represented. How close to 1 is close to 1?If r is less than the critical r for the

corresponding n, it is not reasonable to assume a normal distribution

If n is between two sample sizes, use the larger n

Page 44: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Approximating Discrete/Binomial Distributions using Normal Dist.

Page 45: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

Approximating Discrete/Binomial Distributions using Normal Dist.

How do we tell that a binomial distribution is normal?

If np ≥ 10 and nq ≤ 10, then the distribution is approximately normal.

Add or subtract .5 to your x-values and compute the probability as you would a normal distribution.

Page 46: Probability Distributions. Statistical Experiments – any process by which measurements are obtained. A quantitative variable x, is a random variable if.

A Biologist found that the probability is only 0.65 that a given Arctic Tern will survive the migration from its summer nesting are to its winter feeding groups. A random sample of 500 Artic Terns were branded at their summer nesting area. Find the probability that between 310 and 340 of the branded Artic Terns will survive the migration.