Monday, October 14 - PowerPoint PPT Presentation

About This Presentation
Title:

Monday, October 14

Description:

What the probability that your first (or next) child will be a girl. and ... P(girl) P(even) .5 x .5 = .25 ... P (A) = P(girl) = .5. P (B) = P (even) = .5. P (A ... – PowerPoint PPT presentation

Number of Views:8
Avg rating:3.0/5.0
Slides: 41
Provided by: nancyg7
Learn more at: https://web.stanford.edu
Category:
Tags: monday | october

less

Transcript and Presenter's Notes

Title: Monday, October 14


1
Monday, October 14 Statistical Inference and
Probability
2
Population
Sample
You take a sample.
3
High Stakes Coin Flip
4
High Stakes Coin Flip
Could your professor be a crook?
5
High Stakes Coin Flip
Could your professor be a crook?
Lets do an experiment.
6
The Coin Flip Experiment
  • Question Could the professor be a crook?
  • Lets do an experiment.
  • Make assumptions about the professor.
  • Determine sampling frame.
  • Set up hypotheses based on assumptions.
  • Collect data.
  • Analyze data.
  • Make decision whether he is or is not a crook.

7
Some Steps in Hypothesis Testing Step 1. Assume
that the professor is fair, i.e., that P(Win)
.5
8
Some Steps in Hypothesis Testing Step 1. Assume
that the professor is fair, i.e., that P(Win)
.5 Step 2. Set up hypotheses H0 He is not a
crook. H1 He is a crook.
9
Some Steps in Hypothesis Testing Step 1. Assume
that the professor is fair, i.e., that P(Win)
.5 Step 2. Set up hypotheses H0 He is not a
crook. H1 He is a crook. Step 3. Determine
the risk that you are willing to take in making
an error of false slander, ? (alpha), often at
.05
10
Some Steps in Hypothesis Testing Step 1. Assume
that the professor is fair, i.e., that P(Win)
.5 Step 2. Set up hypotheses H0 He is not a
crook. H1 He is a crook. Step 3. Determine
the risk that you are willing to take in making
an error of false slander, ? (alpha), often at
.05 Step 4. Decide on a sample, e.g., 6 flips.
11
Some Steps in Hypothesis Testing Step 1. Assume
that the professor is fair, i.e., that P(Win)
.5 Step 2. Set up hypotheses H0 He is not a
crook. H1 He is a crook. Step 3. Determine
the risk that you are willing to take in making
an error of false slander, ? (alpha), often at
.05 Step 4. Decide on a sample, e.g., 6
flips. Step 5. Gather data.
12
Some Steps in Hypothesis Testing Step 1. Assume
that the professor is fair, i.e., that P(Win)
.5 Step 2. Set up hypotheses H0 He is not a
crook. H1 He is a crook. Step 3. Determine
the risk that you are willing to take in making
an error of false slander, ? (alpha), often at
.05 Step 4. Decide on a sample, e.g., 6
flips. Step 5. Gather data. Step 6. Decide
whether the data is more or less probable than ?
. E.g., the probability of 6 consecutive wins
based on the assumption in Step 1 is .016. (.5 x
.5 x .5 x .5 x .5 x .5 .016)
13
Some Steps in Hypothesis Testing Step 1. Assume
that the professor is fair, i.e., that P(Win)
.5 Step 2. Set up hypotheses H0 He is not a
crook. H1 He is a crook. Step 3. Determine
the risk that you are willing to take in making
an error of false slander, ? (alpha), often at
.05 Step 4. Decide on a sample, e.g., 6
flips. Step 5. Gather data. Step 6. Decide
whether the data is more or less probable than ?
. E.g., the probability of 6 consecutive wins
based on the assumption in Step 1 is .016. (.5 x
.5 x .5 x .5 x .5 x .5 .016) Step 7. Based on
this evidence, determine if the assumption that
Hakuta is fair should be rejected or not.
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
Whats the probability of rolling a dice and
getting 6?
18
(No Transcript)
19
Whats the probability of rolling a dice and
getting an even number?
20
(No Transcript)
21
What the probability that your first (or next)
child will be a girl?
22
Its a girl!
1/2 .50
2 possible outcomes (boy or girl)
23
(No Transcript)
24
What the probability that your first (or next)
child will be a girl and when she makes her
first roll of dice, rolls an even number?
25
P(girl) ? P(even)
.5 x .5 .25
26
What the probability that your first (or next)
child will be a girl or when that child makes
his/her first roll of dice, rolls an even number?
27
What the probability that your first (or next)
child will be a girl or when that child makes
his/her first roll of dice, rolls an even number?
List the possible outcomes.
Girl, rolls even. Girl, rolls odd. Boy, rolls
even. Boy, rolls odd.
28
What the probability that your first (or next)
child will be a girl or when that child makes
his/her first roll of dice, rolls an even number?
List the possible outcomes.
? Girl, rolls even. ? Girl, rolls odd. ? Boy,
rolls even. ? Boy, rolls odd.
29
What the probability that your first (or next)
child will be a girl or when that child makes
his/her first roll of dice, rolls an even number?
List the possible outcomes.
.25 .25 .25 .25
? Girl, rolls even. ? Girl, rolls odd. ? Boy,
rolls even. ? Boy, rolls odd.
30
What the probability that your first (or next)
child will be a girl or when that child makes
his/her first roll of dice, rolls an even number?
List the possible outcomes.
.25 ? .25 ? .25 ? .25
? Girl, rolls even. ? Girl, rolls odd. ? Boy,
rolls even. ? Boy, rolls odd.
.75
31
Addition Rule of Probabilities
P(A?B) P(A) P(B) - P(A?B)
32
Addition Rule of Probabilities
P(A?B) P(A) P(B) - P(A?B)
P (A) P(girl) .5 P (B) P (even) .5 P
(A?B) P(A) x P(B) .25
P(A?B) .5 .5 - .25 .75
33
Addition Rule of Probabilities
P(A?B) P(A) P(B) - P(A?B)
P (A) P(girl) .5 P (B) P (even) .5 P
(A?B) P(A) x P(B) .25
P(A?B) .5 .5 - .25 .75
34
What is the probability of flipping 8 heads in a
row?
35
What is the probability of flipping 8 heads in a
row?
.5 x .5 x .5 x .5 x .5 x .5 x .5 x .5 or .58
.004
36
What is the probability of flipping 8 heads in a
row?
.5 x .5 x .5 x .5 x .5 x .5 x .5 x .5 or .58
.004
Formalized as The probability that A, which has
probability P(A), will occur r times in r
independent trials is
P(A)r
37
So, you decide to conduct a case study of 3
teachers, sampling randomly from a school
district where 85 of the teacher are women. You
end up with 3 male teachers. What do you
conclude?
P(males) three times P(males)3 .153 .003
38
So, you decide to conduct a case study of 3
teachers, sampling randomly from a school
district where 85 of the teacher are women. You
end up with 3 male teachers. What do you
conclude?
P(males) three times P(males)3 .153 .003
If you had ended up with 3 female teachers,
would you have been surprised?
39
(No Transcript)
40
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com