Docsity

Stats 528: Probability Rules & Sampling Distributions for Counts & Proportions, 2006, Study notes of Statistics

Toggle sidebar
bg1
1
Christopher Holloman, The Ohio
State University, Summer 2006
Statistics 528
Data Analysis I
Lecture #6
July 11, 2006
Christopher Holloman, The Ohio
State University, Summer 2006
Overview of Today’s Lecture
IPS Sections 4.5 – 5.1
General Probability Rules
Sampling Distributions for Counts and
Proportions
Christopher Holloman, The Ohio
State University, Summer 2006
General Probability Rules
General Addition Rule for Unions of Two Events
For any two events A and B,
P(A or B) = P(A) + P(B) - P(A and B)
Christopher Holloman, The Ohio
State University, Summer 2006
pf3
pf4
pf5

Partial preview of the text

Download Stats 528: Probability Rules & Sampling Distributions for Counts & Proportions, 2006 and more Study notes Statistics in PDF only on Docsity!

Christopher Holloman, The OhioState University, Summer 2006

Statistics 528Data Analysis I Lecture #6July 11, 2006

Christopher Holloman, The OhioState University, Summer 2006

Overview of Today’s Lecture 

IPS Sections 4.5 – 5.



General Probability Rules



Sampling Distributions for Counts andProportions

Christopher Holloman, The OhioState University, Summer 2006

General Probability Rules

General Addition Rule for Unions of Two Events For any two events A and B,

P(A or B) = P(A) + P(B) - P(A and B)

Christopher Holloman, The OhioState University, Summer 2006

Christopher Holloman, The OhioState University, Summer 2006

What is P(A and B)? 

If A and B are

independent

, then by the

multiplication rule

P(A and B) = P(A)P(B)



If A and B are

dependent,

then we need a general

multiplication rule:

P(A and B) = P(A)P(B|A)

where P(B|A) is the

conditional probability

that B

occurs given the information that A occurs.

Christopher Holloman, The OhioState University, Summer 2006



Definition of

independence

:

Two events A and B are

independent if

P(A|B) = P(A) and P(B|A) = P(B).

So our old multiplication rule for independent events isa special case of the general multiplication rule.



Definition of

conditional probability

:

when P(A) > 0,

the conditional probability of B given A is

P(B|A) = P(A and B) / P(A)

Christopher Holloman, The OhioState University, Summer 2006

Bayes’ Rule 

Bayes’ Rule provides a formula forcalculating a conditional probabilityof A | B when only informationabout B | A and A (unconditional) isavailable.

) ( ) | ( ) ( ) | (

) ( ) | ( ) | (

C

C

A P A B P A P A B P

A P A B P B A P

=

Christopher Holloman, The OhioState University, Summer 2006

Example: The OSU football stadium management purchases a new device

to detect whether a person might be carrying alcohol into a game.The manufacturer suggests that the device is very accurate returninga false positive (saying alcohol is present when it is not) in only 1 outof 5,000 tests and a false negative (saying alcohol is not presentwhen it is) in 1 out of 100 tests.

The stadium officials estimate that in

the future the chance of any individual attempting to carry alcoholinto a game is 1 in 10.

What is the probability a person is carrying

alcohol given that the machine says that they are?

Christopher Holloman, The OhioState University, Summer 2006

For each of the following situations, indicate whether

the binomial distribution is a reasonableprobability model for the random variable X.

a)

You observe the sex of the next 50 children born at a local hospital; X is the number of girls among them.

b)

A couple decides to continue to have children until their first girl is born; X is the total number of children thecouple has.

Christopher Holloman, The OhioState University, Summer 2006

c)

A chemist repeats a solubility test 10 times on the same substance.

Each test is conducted at a

temperature 10 degrees higher than the previoustest.

She counts the number of times that the

substance dissolves.

d)

Fifty students are taught about the binomial distribution in class.

They are the given a short quiz

on the subject.

The number of students who pass is

counted.

Christopher Holloman, The OhioState University, Summer 2006

The Binomial Distribution as a Sampling Distribution

We use the binomial distribution in statistical inferencewhen we have count data (in the binomial setting) andwe want to make inferences about the total proportionof “successes” in a population.When the population is much larger than the sample,the count X of successes in a SRS of size n has approximately

a B(n,p) distribution if the population

proportion of successes is p.Rule of thumb:

use the binomial sampling distribution

for counts when the population is at least 10 timeslarger than the sample.

16

Finding Binomial Probabilities

Assume X ~ B(n,p), if k <= n thenwhere

Note:

a! = a(a-1)(a-2)

…

1 and 0! = 1.

This is the

binomial formula

k

n

k

p

p

n k

k

X

P

−

)!

( !

!

k

n

k

n

n k

−

=





Christopher Holloman, The OhioState University, Summer 2006

Example:

Free-Throws (Lecture 5)

X is the number of shots made in three attempts:

x

P(X=x)

Christopher Holloman, The OhioState University, Summer 2006

X ~ B(3, 0.58) so we can use the binomial formula to

get the probability distribution of X.

For example,

1

2

X

P

Christopher Holloman, The OhioState University, Summer 2006

Finding Binomial Probabilities Using Minitab: Imagine that we are interested in knowing the probability that a 0.

percent shooter makes 10 out 20 free-throws.

10

20

10

−

X

P

Christopher Holloman, The OhioState University, Summer 2006

Using Minitab



Calc - Probability Distributions -Binomial



Check

Probability



Number of Trials:



Probability of Success:



Check

Input Constant:

P(X=10) = 0.

Christopher Holloman, The OhioState University, Summer 2006

What about the sample proportion?

= X/n

Using the rule for linear functions of random variables,



μ

= p



σ

=

p

p ˆ

n

p

p

)

1 (

−

p ˆ

Christopher Holloman, The OhioState University, Summer 2006

Question:

What does the sampling

distribution of X look like?

Use Minitab generate lots of samples from a

B(20,0.58) distribution:



Calc - Random Data - Binomial



Generate

rows of data



Store in Columns

C



Number of Trials:



Probability of Success:

Look at the histogram of C1.

Christopher Holloman, The OhioState University, Summer 2006

p ˆ

Question:

What does the sampling

distribution of

look like?

Create a new column with the proportions:



Calc - Calculator



Store result in:

C



Expression:

C1/

Look at the histogram of C2.

Christopher Holloman, The OhioState University, Summer 2006

Normal Approximation for Counts and

Proportions



X is approximately



is approximately

Rule of Thumb:

This approximation is only valid for

values of n and p that satisfy:

np >= 10 and n(1-p) >= 10.

N

p

np

np

N

σ

μ

N

n

p

p

p

N

p