introduction to probability

29
Introduction to Probability STA 250

Upload: todd-bill

Post on 04-Jul-2015

163 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Introduction to Probability

Introduction to Probability

STA 250

Page 2: Introduction to Probability

Building to Inferential Statistics

• Our goal is to use samples to answer questions about populations

• This is called inferential statistics

• Built around the concept of probability

• Specifically, the relationship between samples and populations are usually defined in terms of probability

If you know the makeup of a population you can determine the probability of obtaining a specific

sample

Page 3: Introduction to Probability

Basics

• The Relationship Visually

POPULATION

SAMPLE

Probability

Inferential Statistics

Page 4: Introduction to Probability

What is Probability

• Probability

– Expected relative frequency of a particular outcome

• Outcome

– The result of an experiment

Page 5: Introduction to Probability

Steps to Finding the Probability of an Event

1. Determine number of possible successful outcomes

2. Determine number of all possible outcomes

3. Divide number of possible successful outcomes (Step 1) by number of all possible outcomes (Step 2)

Page 6: Introduction to Probability

Rules of Probability

Rule 1: Probabilities range between 0 and 1

– That is when you add the probabilities of success

and failure they should equal 1

Page 7: Introduction to Probability

Example

• What is probability of getting number 3 or

lower on a throw of a die?

1.Determine number of possible successful

outcomes (1, 2, 3)=3

2.Determine number of all possible outcomes (1, 2,

3, 4, 5, and 6)=6

3.Divide Successful Outcomes/All Outcomes: 3/6=.5

Page 8: Introduction to Probability

Example

• Calculate the following probabilities

– Getting heads with a single coin flip P(h)

– Rolling a 2 with a single die P(2)

– Pulling a heart from a deck of cards P(heart)

– Rolling a 7 with two dice P(7)

Page 9: Introduction to Probability

Example

• Calculate the following probabilities?– Getting heads with a single coin flip P(h)

P(h) = 1/2

– Rolling a 2 with a single die P(2)

P(2) = 1/6

– Pulling a heart from a deck of cards P(heart)

P(heart) = 13/52

– Rolling a 7 with two dice P(7)

P(7) = 7/36

Page 10: Introduction to Probability

Rules of Probability

Rule 2: The Addition Rule

• The probability of alternate events is equal to the sum of the probabilities of the individual events

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

• Rolling a 3 or a 4 with one die

• P(3 or 4) = 1/6 + 1/6 = 2/6 = .333

Page 11: Introduction to Probability

Example

• What is the probability of drawing an ace of

spades (A) or an ace of hearts (B) from a deck

of cards?

– P(A or B) = P(A) + P(B)

– P(A) = 1/52 = 0.02

– P(B) = 1/52 = 0.02

– P(A or B) = 0.02 + 0.02 = 0.04 (or 4%)

Page 12: Introduction to Probability

Example

• Calculate the following probabilities?

– Rolling a 2 or a 5 or higher with a single die P(2 or 5 or higher)

– Pulling a heart or a spade from a deck of cards P(heart or spade)

Page 13: Introduction to Probability

Example

• Calculate the following probabilities?

– Rolling a 2 or a 5 or higher with a single die P(2 or 5 or higher)

P(2 or 5 or higher) = 1/6 + 2/6 = 3/6

– Pulling a heart or a spade from a deck of cards P(heart or spade)

P(heart or spade) = 13/52 + 13/52 = 26/52

Page 14: Introduction to Probability

Rules of Probability

Rule 3: Addition Rule for Joint Occurrences

• The probability of events that can happen at the same time is equal to the sum of the individual probabilities minus the joint probability

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

• Drawing a king and a heart for a deck of cards

P(K or H) = 4/52 + 13/52 – 1/52 = 16/52 = .307

Page 15: Introduction to Probability

Rules of Probability

Rule 4: Multiplication Rule Compound Events

• The probability of a event given another event has occurred equals the product of the individual probabilities

P(A then B) = P(A) * P(B)

• Getting a heads then a tails with a single coin

• P(H then T) = 1/2 * 1/2 = 1/4 = .25

Page 16: Introduction to Probability

Example

• What is the probability of drawing an ace of

spades (A) and an ace of hearts (B) from a

deck of cards?

– P(A and B) = P(A) x P(B)

– P(A) = 1/52 = 0.02

– P(B) = 1/52 = 0.02

– P(A and B) = 0.02 x 0.02 = 0.0004 (or 0.04%)

Page 17: Introduction to Probability

Rules of Probability

• Rule 5: Multiplication with replacement

Same as Rule 4 but you account for changes in probability caused by first event

Page 18: Introduction to Probability

Lets Gamble

• The probability of winning the millions on a three reel slot machine

0.000300763

• Blackjack (card game with best odds)

Page 19: Introduction to Probability

Remember

• A frequency distribution represents an entire

population

• Different parts of the graph refer to different parts of

the population

• Proportions and probability are equivalent

• Because of this a particular portion of the graph refers

to a particular probability in the population

Page 20: Introduction to Probability

Example

• If we had a population (N=10) with the following scores 1, 1, 2, 3, 3, 4, 4, 4, 5, 6 and wanted to take a sample of n=1 what is the probability of obtaining a score greater than 4 p(X>4)?

• How many possible successful outcomes

• How many possible outcomes

Page 21: Introduction to Probability

Visually

Page 22: Introduction to Probability

The Same Applies to the Normal Curve

• We can identify specific locations in a normal distribution using z-scores

• Using z-scores, the properties of normal distributions, and the unit normal table we can find what proportions of scores fall between specific scores in a distribution

• Because proportions and probability are equivalent we can determine what the probability of falling in that area is

Page 23: Introduction to Probability

The Unit Normal Table

• Column A– Z-score

• Column B– Proportion in body

(larger part of distribution

• Column C – Proportion in Tail

(smaller part of distribution

• Column D– Proportion between

mean and z-score

Page 24: Introduction to Probability

FINDING PROBABILITY UNDER THE NORMAL CURVE

1. Convert raw score into Z score (if

necessary):

• Example:

– For IQ: μ=100, σ=16

– If a person has an IQ of 125, what

percentage of people have a lower IQ?

– Z=(125 – 100)/16 = +1.56

Page 25: Introduction to Probability

FINDING PROBABILITY UNDER THE NORMAL CURVE

2. Draw normal curve, approximately locate Z

score, shade in the area for which you are

finding the percentage.

Page 26: Introduction to Probability

FINDING PROBABILITY UNDER THE NORMAL CURVE

z=+1.56

Approx. 92% of cases below 125 IQ

Page 27: Introduction to Probability

FINDING PROBABILITY UNDER THE NORMAL CURVE

4. Find exact percentage using unit normal table.

.9406

Page 28: Introduction to Probability

Find the Following Percentages

• Higher than 2.00

• Higher than -2.00

• Lower than 2.49

• Between -1.0 and 1.0

Page 29: Introduction to Probability

Find the Following Percentages

• Higher than 2.00 = .0228 (Column C)

• Higher than -2.00 = .9772 (Column B)

• Lower than 2.49 = .9936 (Column B)

• Between -1.0 and 1.0 = .6826 (Column D)