Download presentation
Presentation is loading. Please wait.
Published byShanna Conley Modified over 9 years ago
1
Last Time Administrative Matters – Blackboard … Random Variables –Abstract concept Probability distribution Function –Summarizes probability structure –Sum to get any prob. Binomial Distribution
2
Reading In Textbook Approximate Reading for Today’s Material: Pages 311-317, 327-331, 372-375 Approximate Reading for Next Class: Pages 377-381, 385-391, 488-491
3
Binomial Distribution Setting: n independent trials of an experiment with outcomes “Success” and “Failure”, with P{S} = p.
4
Binomial Distribution Setting: n independent trials of an experiment with outcomes “Success” and “Failure”, with P{S} = p. Say X = #S’s has a “Binomial(n,p) distribution”, and write “X ~ Bi(n,p)”
5
Binomial Distribution Setting: n independent trials of an experiment with outcomes “Success” and “Failure”, with P{S} = p. Say X = #S’s has a “Binomial(n,p) distribution”, and write “X ~ Bi(n,p)” Called “parameters” (really a family of distrib’ns, indexed by n & p)
6
Binomial Distribution E.g. Sampling with replacement “Experiment” is “draw a sample member” “S” is “vote for Candidate A” “p” is proportion in population for A (note unknown, and goal of poll) Independent? (since with replacement)
7
Binomial Distribution E.g. Sampling with replacement “Experiment” is “draw a sample member” “S” is “vote for Candidate A” “p” is proportion in population for A (note unknown, and goal of poll) Independent? (since with replacement) X = #(for A) has a Binomial(n,p) dist’n
8
Binomial Distribution E.g. Sampling without replacement Draws are dependent Result of 1 st draw changes probs of 2 nd draw P(S) on 2 nd draw is no longer p (again depends on 1 st draw) X = #(for A) is NOT Binomial
9
Binomial Distribution E.g. Sampling without replacement Draws are dependent Result of 1 st draw changes probs of 2 nd draw P(S) on 2 nd draw is no longer p (again depends on 1 st draw) X = #(for A) is NOT Binomial (although approximately true for large pop’n)
10
Binomial Distribution Models much more than political polls: E.g. Coin tossing (recall saw “independence” was good) E.g. Shooting free throws (in basketball) Is p always the same? Really independent? (turns out to be OK)
11
Binomial Prob. Dist’n Func. Summarize all prob’s for X ~ Bi(n,p)
12
Binomial Prob. Dist’n Func. Summarize all prob’s for X ~ Bi(n,p) By function:
13
Binomial Prob. Dist’n Func. Summarize all prob’s for X ~ Bi(n,p) By function: Recall: Sum over this for any prob. about X
14
Binomial Prob. Dist’n Func. Summarize all prob’s for X ~ Bi(n,p) By function: Recall: Sum over this for any prob. about X Avoids doing complicated calculation each time want a prob.
15
Binomial Prob. Dist’n Func. Repeat “experiment” (S or F) n times
16
Binomial Prob. Dist’n Func. Repeat “experiment” (S or F) n times Outcomes “Success” or “Failure”
17
Binomial Prob. Dist’n Func. Repeat “experiment” (S or F) n times Outcomes “Success” or “Failure” Independent repetitions Let X = # of S’s (count S’s)
18
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s
19
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = Desired probability distribution function
20
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = Depends on particular draws, So expand in those terms, and use Big Rules of Probability
21
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] For “S on 1 st draw”, “S on x-th draw”, …
22
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] For “S on 1 st draw”, “S on x-th draw”, … One possible ordering of S,…,S,F,…,F where:x of these n-x of these
23
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] For “S on 1 st draw”, “S on x-th draw”, … One possible ordering of S,…,S,F,…,F This includes all other orderings (very many, but we can think of them)
24
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] Next decompose with and – or – not Rules of Probability
25
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] = = P[(S 1 &…&S x &F x+1 &…&F n )] + … Disjoint OR rule [“or” add]
26
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] = = P[(S 1 &…&S x &F x+1 &…&F n )] + … Disjoint OR rule [“or” add] (recall “no overlap”)
27
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] = = P[(S 1 &…&S x &F x+1 &…&F n )] + … = P(S 1 )…P(S x )P(F x+1 )…P(F n ) + … Independent AND rule [“and” mult.]
28
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] = = P[(S 1 &…&S x &F x+1 &…&F n )] + … = P(S 1 )…P(S x )P(F x+1 )…P(F n ) + … = since p = P[S] since (1-p) = P[F]
29
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] = = P[(S 1 &…&S x &F x+1 &…&F n )] + … = P(S 1 )…P(S x )P(F x+1 )…P(F n ) + … = since x = #S’s since (n-x) = #F’s
30
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = P[(S 1 &…&S x &F x+1 &…&F n ) or …] = = P[(S 1 &…&S x &F x+1 &…&F n )] + … = P(S 1 )…P(S x )P(F x+1 )…P(F n ) + … = = #(terms) since all of these are the same, just count
31
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = #(terms) # ways to order S …S F …F
32
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = #(terms) # ways to order S …S F …F Approach: have “n slots”
33
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = #(terms) # ways to order S …S F …F Approach: have “n slots” “choose x of them to in which to put S”
34
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = #(terms) # ways to order S …S F …F Approach: have “n slots” “choose x of them to in which to put S” thus have #(terms) =
35
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = #(terms) = general formula that works for all n, p, x
36
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s P[X = x] = #(terms) = Binomial Probability Distribution Function (for any n and p)
37
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s More complete representation
38
Binomial Prob. Dist’n Func. Repeat (S or F) n times (ind.), let X = # of S’s More complete representation But generally assume is understood, & write
39
Binomial Prob. Dist’n Func. Application of: For X ~ Bi(n,p) Compute any probability for X By summing over appropriate values
40
Application of Bi. Pro. Dist. Fun. Application of: E.g.: A system fails if any 3 of 5 independent components fail
41
Application of Bi. Pro. Dist. Fun. Application of: E.g.: A system fails if any 3 of 5 independent components fail Common setup in Reliability Theory
42
Application of Bi. Pro. Dist. Fun. Application of: E.g.: A system fails if any 3 of 5 independent components fail Common setup in Reliability Theory Used when things “really need to work” E.g. aircraft components
43
Application of Bi. Pro. Dist. Fun. Application of: E.g.: A system fails if any 3 of 5 independent components fail If each component works 99% of time,
44
Application of Bi. Pro. Dist. Fun. Application of: E.g.: A system fails if any 3 of 5 independent components fail If each component works 99% of time, how likely is the system to break down?
45
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down?
46
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? Let X = #F’s
47
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? Let X = #F’s, model X ~ Bi(5,0.01)
48
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? Let X = #F’s, model X ~ Bi(5,0.01) Recall n = # of trials (repeats of experim’t)
49
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? Let X = #F’s, model X ~ Bi(5,0.01) Components assumed independent
50
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? Let X = #F’s, model X ~ Bi(5,0.01) Recall p = P(“S”), on each trial (works 99%, so fails 1%)
51
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? Let X = #F’s, model X ~ Bi(5,0.01) Note S can in fact be “Failure of comp’t” (opposite of usual intuition)
52
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? Let X = #F’s, model X ~ Bi(5,0.01) Note S can in fact be “Failure of comp’t” (it is just one outcome of exp’t)
53
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? P[system breaks down] = P[X ≥ 3] recall X~Bi(5,0.01) counts failures
54
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? P[system breaks down] = P[X ≥ 3] = (sum of prob. dist. func. over x ≥ 3)
55
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? P[system breaks down] = P[X ≥ 3] =
56
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? P[system breaks down] = P[X ≥ 3] =
57
Application of Bi. Pro. Dist. Fun. Application of: E.g.: Sys. F if 3 of 5 F, each works 99% time, how likely is the system to break down? P[system breaks down] = P[X ≥ 3] = Shows: great reliability
58
Application of Bi. Pro. Dist. Fun. HW: C 12: A factory makes 10% defective items & items are independently defective. (maybe not great assumption, because many causes of defects will give string of defects)
59
Application of Bi. Pro. Dist. Fun. HW: C 12: A factory makes 10% defective items & items are independently defective. (maybe not great assumption, because many causes of defects will give string of defects) (but can call this an “approximate model”)
60
Application of Bi. Pro. Dist. Fun. HW: C 12: A factory makes 10% defective items & items are independently defective. Find P{9 or more good items in 10} a.Using X = # good items, and Binomial probability distribution function. (0.736) (Hint: consider “not” rule)
61
Application of Bi. Pro. Dist. Fun. HW: C 12: A factory makes 10% defective items & items are independently defective. Find P{9 or more good items in 10} a.Using X = # good items, and Binomial probability distribution function. (0.736) b.Using X = # bad items, and Binomial probability distribution function. (0.736)
62
Application of Bi. Pro. Dist. Fun. HW: C 12: A factory makes 10% defective items & items are independently defective. Find P{9 or more good items in 10} a.Using X = # good items, and Binomial probability distribution function. (0.736) b.Using X = # bad items, and Binomial probability distribution function. (0.736) Note: will soon see easier way to do this, but please use Bi. P. D. F. here
63
Research Corner Medical Imaging – A Challenging Example
64
Research Corner Medical Imaging – A Challenging Example Male Pelvis Bladder – Prostate – Rectum
65
Research Corner Medical Imaging – A Challenging Example Male Pelvis Bladder – Prostate – Rectum How do they move over time (days)? Critical to Radiation Treatment (e.g. Prostate Cancer)
66
Research Corner Medical Imaging – A Challenging Example Male Pelvis Bladder – Prostate – Rectum How do they move over time (days)? Critical to Radiation Treatment Work with 3-d CT (“Computed Tomography”) (3d version of Xray)
67
Research Corner Medical Imaging – A Challenging Example Male Pelvis Bladder – Prostate – Rectum How do they move over time (days)? Critical to Radiation Treatment Wo Work with 3-d CT Very Challenging to “Segment” Find boundary of each object? Represent each Object?
68
Research Corner Medical Imaging – A Challenging Example Male Pelvis Bladder – Prostate – Rectum How do they move over time (days)? Critical to Radiation Treatment Wo Work with 3-d CT Very Challenging to “Segment” Find boundary of each object? Represent each Object?
69
Male Pelvis – Raw Data One CT Slice (in 3d image) Coccyx (Tail Bone) Rectum Bladder
70
Male Pelvis – Raw Data Bladder: manual segmenta tion Slice by slice Reassembled
71
Male Pelvis – Raw Data Bladder: Slices: Reassembled in 3d How to represent? Thanks: Ja-Yeon Jeong
72
3-d m-reps Bladder – Prostate – Rectum (multiple objects, J. Y. Jeong) Medial Atoms provide “skeleton” Implied Boundary from “spokes” “surface”
73
Research Corner How to understand “population level variation”?
74
Research Corner How to understand “population level variation”? Approach: Principal Geodesic Analysis Focus on “modes of variation”Focus on “modes of variation”
75
Research Corner How to understand “population level variation”? Approach: Principal Geodesic Analysis Focus on “modes of variation”Focus on “modes of variation” Ordered by “magnitude of variation”Ordered by “magnitude of variation”
76
Research Corner How to understand “population level variation”? Approach: Principal Geodesic Analysis Focus on “modes of variation”Focus on “modes of variation” Ordered by “magnitude of variation”Ordered by “magnitude of variation” Need to “independent of each other”Need to “independent of each other”
77
Research Corner How to understand “population level variation”? Approach: Principal Geodesic Analysis Focus on “modes of variation”Focus on “modes of variation” Ordered by “magnitude of variation”Ordered by “magnitude of variation” Need to “independent of each other”Need to “independent of each other” (question for us: how to quantify?)
78
PGA for m-reps, Bladder- Prostate-Rectum Bladder – Prostate – Rectum, 1 person, 17 days PG 1 PG 2 PG 3 (analysis by Ja Yeon Jeong)
79
PGA for m-reps, Bladder- Prostate-Rectum Bladder – Prostate – Rectum, 1 person, 17 days PG 1 PG 2 PG 3 (analysis by Ja Yeon Jeong)
80
PGA for m-reps, Bladder- Prostate-Rectum Bladder – Prostate – Rectum, 1 person, 17 days PG 1 PG 2 PG 3 (analysis by Ja Yeon Jeong)
81
Binomial Distribution Useful in many applications
82
Binomial Distribution Useful in many applications Have powerful method of calculation Use Binomial probability dist’n function & sum over needed values
83
Binomial Distribution Useful in many applications Have powerful method of calculation But a little painful to calculate formula is involved (not easy hand calculation) maybe very many terms (e.g. political polls)
84
Binomial Distribution Useful in many applications Have powerful method of calculation But a little painful to calculate How about summaries?
85
Binomial Distribution Useful in many applications Have powerful method of calculation But a little painful to calculate How about summaries? Old Approach: Tables
86
Binomial Distribution Old Approach: Tables Idea: somebody else calculates “many Binomial probabilities”, and stores results you can look up:
87
Binomial Distribution Old Approach: Tables In our Text: Table C
88
Binomial Distribution Old Approach: Tables In our Text: Table C Note: Indexed by n p (recall Binomial is indexed family of dist’ns)
89
Binomial Distribution Old Approach: Tables In our Text: Table C Note: Indexed by n p and can input k (x) values then read off P[X≤k]
90
Historical Note Tables were constructed well before modern computers (1910s – 1930s)
91
Historical Note Tables were constructed well before modern computers (1910s – 1930s) How was it done?
92
Historical Note Tables were constructed well before modern computers (1910s – 1930s) How was it done? Main Tool: mechanical calculator (hand powered) (did repeated addition)
93
Historical Note What was a “computer” in the early 1900s?
94
Historical Note What was a “computer” in the early 1900s? (the term did exist!)
95
Historical Note What was a “computer” in the early 1900s? (the term did exist!) A (human) job title!
96
Historical Note What was a “computer” in the early 1900s? (the term did exist!) A (human) job title! Tables made by (carefully organized) rooms full of people, all using mechanical hand calculators
97
Historical Note What was a “computer” in the early 1900s? (the term did exist!) A (human) job title! Tables made by (carefully organized) rooms full of people, all using mechanical hand calculators Deep math was used for allocating resources
98
Binomial Distribution Useful in many applications Have powerful method of calculation But a little painful to calculate How about summaries? Modern Approach: Computers (electronic)
99
Binomial Distribution Useful in many applications Have powerful method of calculation But a little painful to calculate How about summaries? Modern Approach: Computers In Excel: BINOMDIST function
100
Binomial Distribution Excel function: BINOMDIST
101
Binomial Distribution Excel function: BINOMDIST Access methods:
102
Binomial Distribution Excel function: BINOMDIST Access methods: Generally in Excel: Many ways to access things
103
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar –Click f x button
104
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar –Click f x button –Pulls up function menu
105
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar –Click f x button –Pulls up function menu –Choose “statistical”
106
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar –Click f x button –Pulls up function menu –Choose “statistical” –And BINOMDIST
107
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar –Click f x button –Pulls up function menu –Choose “statistical” –And BINOMDIST –Gives BINOMDIST menu
108
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar 2.Formula Tab
109
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar 2.Formula Tab –More Functions
110
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar 2.Formula Tab –More Functions –Statistical
111
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar 2.Formula Tab –More Functions –Statistical –BINOMDIST
112
Binomial Distribution Excel function: BINOMDIST Access methods: 1.Tool bar 2.Formula Tab –More Functions –Statistical –BINOMDIST Gets to same menu (as above)
113
Binomial Distribution Excel function: BINOMDIST Try these out, Class Example 2: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg2.xls
114
Binomial Probs in EXCEL To compute P{X=x}, for X ~ Bi(n,p):
115
Binomial Probs in EXCEL To compute P{X=x}, for X ~ Bi(n,p): Caution: Completely different notation
116
Binomial Probs in EXCEL To compute P{X=x}, for X ~ Bi(n,p): x
117
Binomial Probs in EXCEL To compute P{X=x}, for X ~ Bi(n,p): x n
118
Binomial Probs in EXCEL To compute P{X=x}, for X ~ Bi(n,p): x n p
119
Binomial Probs in EXCEL To compute P{X=x}, for X ~ Bi(n,p): Cumulative: P{X=x}: false
120
Binomial Probs in EXCEL To compute P{X=x}, for X ~ Bi(n,p): Cumulative: P{X=x}: false P{X<=x}: true (will illustrate soon)
121
Binomial Distribution Excel function: BINOMDIST Now check out specific problems, Class Example 2: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg2.xls
122
Binomial Distribution Class Example 2.1: For X ~ Bi(1,0.5), i.e. toss a fair coin once, count the number of Heads:
123
Binomial Distribution Class Example 2.1: For X ~ Bi(1,0.5), i.e. toss a fair coin once, count the number of Heads: (a)"prob. of a Head" = = P{X = 1}
124
Binomial Distribution Class Example 2.1: For X ~ Bi(1,0.5), i.e. toss a fair coin once, count the number of Heads: (a)"prob. of a Head" = = P{X = 1} =
125
Binomial Distribution Class Example 2.1: For X ~ Bi(1,0.5), i.e. toss a fair coin once, count the number of Heads: (a)"prob. of a Head" = = P{X = 1} = = 0.5
126
Binomial Distribution Class Example 2.1: For X ~ Bi(1,0.5), i.e. toss a fair coin once, count the number of Heads: (a)"prob. of a Head" = P{X = 1} = 0.5 Note: could also just type formula in:
127
Binomial Distribution Class Example 2.1: For X ~ Bi(1,0.5), i.e. toss a fair coin once, count the number of Heads: (a)"prob. of a Tail" = = P{X = 0} = = 0.5
128
Binomial Distribution Class Example 2.2: For X ~ Bi(2,0.5), i.e. toss a fair coin twice, count the number of Heads:
129
Binomial Distribution Class Example 2.2: For X ~ Bi(2,0.5), i.e. toss a fair coin twice, count the number of Heads: (a)"prob. of no Heads" = = P{X = 0} =
130
Binomial Distribution Class Example 2.2: For X ~ Bi(2,0.5), i.e. toss a fair coin twice, count the number of Heads: (a)"prob. of no Heads" = = P{X = 0} =
131
Binomial Distribution Class Example 2.2: For X ~ Bi(2,0.5), i.e. toss a fair coin twice, count the number of Heads: (a)"prob. of no Heads" = = P{X = 0} = = P{T 1 and T 2 } = P{T 1 }*P{T 2 } = 0.25
132
Binomial Distribution Class Example 2.2: For X ~ Bi(2,0.5), i.e. toss a fair coin twice, count the number of Heads: (b) "prob. of one Head" = = P{X = 1} = (harder calculation)
133
Binomial Distribution Class Example 2.3: For X ~ Bi(2,0.3), i.e. toss an unbalanced coin twice, count the number of Heads:
134
Binomial Distribution Class Example 2.3: For X ~ Bi(2,0.3), i.e. toss an unbalanced coin twice, count the number of Heads: (a)"prob. of no Heads" = = P{X = 0} = = P{T 1 and T 2 } = = P{T 1 }*P{T 2 } = 0.49
135
Binomial Distribution Class Example 2.3: For X ~ Bi(2,0.3), i.e. toss an unbalanced coin twice, count the number of Heads: (b) "prob. of one Head" = = P{X = 1} =
136
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads:
137
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (a)"prob. of no Heads" = = P{X = 0} =
138
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (a)"prob. of no Heads" = = P{X = 0} = = 0.000797923
139
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (a)"prob. of no Heads" = = P{X = 0} = = 0.000797923 Check: 0.7^20 = 0.000797923
140
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (c) "prob. of six Heads" = = P{X = 6} =
141
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (d) "prob. of at most 6 Heads" = = P{X ≤ 6}
142
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (d) "prob. of at most 6 Heads" = = P{X ≤ 6} Solution 1: Add them up
143
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (d) "prob. of at most 6 Heads" = = P{X ≤ 6} Solution 1: Add them up = 0.60801
144
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (d) "prob. of at most 6 Heads" = = P{X ≤ 6} Solution 1: Add, = 0.60801
145
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (d) "prob. of at most 6 Heads" = = P{X ≤ 6} Solution 1: Add, = 0.60801 Solution 2: Use Cumulative
146
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (d) "prob. of at most 6 Heads" = = P{X ≤ 6} Solution 1: Add, = 0.60801 Solution 2: Use Cumulative
147
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3), i.e. toss an unbalanced coin 20 times, count the number of Heads: (d) "prob. of at most 6 Heads" = = P{X ≤ 6} Solution 1: Add, = 0.60801 Solution 2: Use Cumulative Same answer
148
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3) : (e)"prob. of at least 6 Heads" = P{X ≥ 6}
149
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3) : (e)"prob. of at least 6 Heads" = P{X ≥ 6} Caution: cumulative works "other way", so need to put in Excel usable form
150
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3) : (e)"prob. of at least 6 Heads" = P{X ≥ 6} = 4 5 6 7
151
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3) : (e)"prob. of at least 6 Heads" = P{X ≥ 6} = = 1 - P{not X ≥ 6} = 4 5 6 7
152
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3) : (e)"prob. of at least 6 Heads" = P{X ≥ 6} = = 1 - P{not X ≥ 6} = = 1 - P{X < 6} 4 5 6 7
153
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3) : (e)"prob. of at least 6 Heads" = P{X ≥ 6} = = 1 - P{not X ≥ 6} = = 1 - P{X < 6} = 1 - P{X ≤ 5} (since counting 4 5 6 7 numbers)
154
Binomial Distribution Class Example 2.4: For X ~ Bi(20,0.3) : (e)"prob. of at least 6 Heads" = P{X ≥ 6} = = 1 - P{not X ≥ 6} = = 1 - P{X < 6} = 1 - P{X ≤ 5} Now use BINOMDIST & Cumulative = true
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.