Average Case Complexity
|
|
- Claud Preston
- 6 years ago
- Views:
Transcription
1 Probability
2 Applicatios Aalysis of Algorithms Average Case Complexity Mote Carlo Methods Spam Filters
3 Probability Distributio Basic Cocepts S = {a 1,, a } = fiite set of outcomes = sample space p :S [0,1] Evets -- p(a k ) 0 -- p(a k ) = 1 k=1 A evet E is a subset of the possible outcomes S -- Pr(E) = p(a i ) a i E For equally likely outcomes -- Pr(E) = E S
4 Example -- Dice Dice Ordered Pairs: 36 possible outcomes (m, ) Sums: 11 possible outcomes {2, 3,, 12} Uordered Pairs: 21 possible outcomes, 6 doubles ad 15 o-doubles Moral: Must describe both the experimet ad the possible outcomes. -- Ordered Pairs: Pr(m, ) = 1/ Sums: Pr(2) = 1/ 36, Pr(4) = 3 / 36,, Pr(7) = 6 / Uordered Pairs: Pr(double) = 6 / 36, Pr(each odouble) = 2 / 36
5 Example -- Poker Poker Hads # poker hads = C(52, 5) # 3 of a kid = C(13, 1) C(4, 3) Pr(3 of a kid) = C(13, 1) C(4, 3) C(52, 5).01 # flushes = C(4, 1)C(13, 5) -- Pr( flush) = C(4, 1) C(13, 5) C(52, 5).00396
6 Example -- Bridge Splits i Bridge # oppoet bridge hads = C(26, 13) 4 Missig Trumps split = C(4, 2) C(22, 11) C(26, 13) 40% split = 2 C(4, 3) C(22, 10) C(26, 13) 50% split = 2 C(4, 4) C(22, 9) C(26,13) 10%
7 More Examples Choose Up Sides 10 kids, 5 per team # possible teams with player x = C(9, 4) # possible teams with players x ad y = C(8, 3) Pr(two frieds o same team) = C(8, 3) C(9,4) = 4 9 < 1 2 Hatcheck Problem # hat permutatios: P() =! # hat deragemets: D() =! 1 1 1! + 1 2!! e Pr(deragemet) 1 =.3679 ( > 7) e
8 Complemetary Evets Setup S = {a 1,, a } = fiite set of outcomes S E = set of possible outcomes E c = S E = complemetary set of outcomes -- P(E) =1 P(E c ) c -- P(E) = p(e k ) = 1 p(e k j ) j
9 Coi Tosses Examples E = at least oe head i tosses E c = o heads i tosses -- p(e c ) = 1/ 2 -- p(e) = 1 p(e c ) = 1 1/ 2 = Birthday Problem E = at least 2 out of people havig same birthday (day ad moth) E c = o 2 people have the same birthday -- p(e c ) = (364 / 365)(363 / 365) ((365 ) / 365) -- p(e) = 1 p(e c ) p(e) >1 / 2 whe > 26
10 Biomial Distributio Beroulli Trials t = probability of evet (success) 1 t = probability of oevet (failure) B k (t) = probability of k evets (successes) i idetical, idepedet trials Formulas B k (t) = ( k )t k (1 t) k -- t k = probability of k successes -- (1 t) k = probability of k failures -- ( k ) = umber of ways exactly k successes ca occur i trials
11 Examples Coi Tossig t = probability of heads B k (t) = ( k )t k (1 t) k = probability of exactly k heads i tosses Ur Models -- Samplig with Replacemet w white balls, b black balls t = w / (w + b) = probability of selectig a white ball B k (t) = ( k )t k (1 t) k = probability of selectig exactly k white balls i trials Radom Walk i Pascal s Triagle t = probability of turig right B k (t) = ( k )t k (1 t) k = probability of ladig i kth bi at the bottom
12 Mote Carlo Methods Computatio of π Simulatio of Radom Walks
13 Coditioal Probability
14 Coditioal Probability Formula Pr(E F) = Pr(E F) Pr(F) provided that Pr(F) > 0 Proof (for equally likely evet) Pr(E F) = E F F = E F / S F / S = Pr(E F) Pr(F) Proof (for arbitrary probability distributios) F is the ew Sample Space Observatio Coditioal probability is ofte tricky -- see below.
15 Example -- Cards Playig Cards Draw oe card out of possible outcomes Pr(red) = = 1 2 Pr(diamod) = = Pr(diamod red) = 1 / 4 1/ 2 = Pr(red diamod) = 1 / 4 1 / 4 = Pr(diamod ace) = 1/ 52 4 / 52 = 1 4
16 Example -- Cois Cois Flip two peies (distiguished by dates) -- 4 possible outcomes -- Pr(2 heads first pey is a head) = 1/ 4 1/ 2 = 1/ 2 -- Pr(2 heads 1 head) =?
17 Example -- Cois Probabilities Flip two peies (distiguished by dates) -- 4 possible outcomes -- Pr(2 heads first pey is a head) = 1/ 4 1/ 2 = Pr(2 heads 1 head) = 1/ 4 3 / 4 =1 / 3 (??? see below) Possible Evets Possible Evets = {HH, HT, TH, TT} Possible Evets with First Pey Head = {HH, HT} Possible Evets with at Least Oe Head = {HH, HT, TH}
18 Example -- Childre Boy-Girl Boys ad Girls are equally likely. You ask: Do you have ay boys? Ma respods: Yes. Ma voluteers: I have two childre; oe is a boy. Ma says: I have two childre: the firstbor is a boy. Questio Pr(2 boys 1 boy) =?
19 Example -- Childre Aalysis You ask: Do you have ay boys? Ma respods: Yes. -- Pr(2 boys 1 boy) = Possible Evets = {BB, BG, GB} Ma voluteers: I have two childre; oe is a boy. -- Pr(2 boys 1 boy) = 1/ 4 2 / 4 = Possible Evets -- BB -- (1/ 4)1 -- BG -- (1/ 4)(1/ 2) -- GB -- (1/ 4)(1/ 2)
20 Aalysis (cotiued) Ma says: I have two childre: the firstbor is a boy. -- Pr(2 boys 1 boy) = Possible Evets -- BB -- 1/ 2 -- BG -- 1/ 2 Moral Protocol Matters See Teasers Paper -- Probability Depeds o the Protocol
21 Example -- Childre Boy-Girl Boys ad Girls are equally likely Woma says: I have a girl. Woma says: I have a girl amed Alice. Questios Pr(2 girls 1 girl) =? Pr(2 girls 1 girl amed Alice) =?
22 Example -- Childre Aalysis I have a girl. -- Pr(2 girls 1 girl) = 1/ 4 3/ 4 = Possible Evets = {GG, BG, GB} I have a girl amed Alice. -- Pr(2 girls 1 girl amed Alice) = Possible Evets = {AB, BA, AG, GA} Coclusio Protocol Matters
23 Iformatio Leaks Logical Puzzles Islad of Perfect Logicias A Daughter amed Alice Cryptography Frequecy of Letters i Alphabet Timig Chael Power Chael Sublimial Chaels -- Message i the Noise
24 Example -- Cards Colored Cards Give 2 Cards -- red/red ad red/white Pick a card at radom ad select a side at radom Questio Probability of (2 red 1 red) =?
25 Example -- Cards Colored Cards Give 2 Cards -- red/red ad red/white Pick a card at radom ad select a side at radom Probability of (2 red 1 red) = 1/ 2 3/ 4 = RR -- (1/ 2)1= 1/ 2 -- RW -- (1/ 2)(1 / 2) = 1/ 4 More likely to be red o back, sice red/red has two chaces to lad o red.
26 Example -- Mote Hall Problem Protocol Three Doors Oe Fabulous Prize You Pick a Door at Radom Host (Mote Hall) Opes a Differet Door -- No Prize Offers to Trade Your Door for His Remaiig Door Questio Should you Make the Deal? Does it Matter?
27 Example -- Mote Hall Problem Aalysis Pr(Prize Behid Your Oe Door) = 1 3 Pr(Prize Behid His Two Doors) = 2 3 Pr(Prize Behid Door He Opes) = 0 Pr(Prize Behid Door He Does Not Ope) = 2 3 Solutio: Make the Deal!
28 Mote Hall Problem -- Variatios Variatio 1 You choose your door AFTER Mote Hall opes his door. Pr(Prize Behid Your Oe Door) = 1 2. Switchig Doors does NOT Chage Your Odd of Wiig. Variatio 2 Mote Hall opes oe of his doors at RANDOM. -- If Mote fids the prize, you lose. -- If Mote does ot fid the prize, Pr(Prize Behid Your Oe Door) = 1/ 3 2 / 3 = 1 2. Switchig Doors does NOT Chage Your Odd of Wiig.
29 Example -- Prisoer Problem Protocol Judge seteces Tom or Dick or Harry to hag -- pr(tom will hag) = 1/ 3 Tom asks jailer to tell him a ame of oe of the other two who will NOT be haged. Jailer says: Dick will ot be haged. Questios Have the Odds Chaged for Tom? Does it matter to Tom that Dick will NOT be haged? What is the probability that Tom will be haged?
30 Example -- Prisoer Problem Protocol Judge seteces Tom or Dick or Harry to hag -- pr(tom haged) = 1/ 3 Tom asks jailer to tell him a ame of oe of the other two who will NOT be haged. Jailer says: Dick will ot be haged. Aalysis pr(tom ad ~Dick ~Dick) = pr(tom will hag) = 1/3 1/2 (1/ 3) (2 / 3) (2 / 3) = 1/ 3 Reaso Tom hags pr(dick selected) = 1/ 2 Tom does NOT hag pr(dick selected) = 1
31 Bayes Theorem
32 Motivatio Problem Fid p(f) give that E has occurred. Fid p(f E) if we kow p(e F).
33 Basic Relatios Lemma 1: p(e F) = p(e F) p(f) Proof: p(e F) = p(e F) p(f) p(e F) = p(e F) p(f) Lemma 2: p(f E) p(e) = P(E F)p(F) Proof: p(e F) = p(e F) p(f) p(f E) = p(f E) p(e) p(f E) p(e) = P(E F) p(f)
34 Bayes' Theorem Bayes' Formula p(f E) = p(e F) p(f) p(e F)p(F) + p(e F c )p(f c ) Proof: By Lemma 1 p(f E) = P(E F) p(e) = p(e F) p(f) p(e) But E = (E F) (E F c ) is a disjoit uio, so agai by Lemma 1 p(e) = p(e F) + p(e F c ) = p(e F) p(f)+ p(e F c ) p(f c )
35 Example: Tests for Rare Diseases Notatio F = the evet that a perso is sick with a very rare disease E = the evet that a perso tests positive for this rare disease Protocol p(f) = 1/100, 000 very rare disease p(e F) = 99 /100 test correct 99% of the time for sick people p(e c F c ) = 995 /1000 test correct 99.5% of time for healthy people Problems p(f E) = probability that a perso that tests positive is actually ill =? p(f c E c ) = probability that a perso that tests egative is actually healthy =?
36 Example: Tests for Rare Diseases (cotiued) Probabilities p(f) = 1/100, 000 = Probability of Illess p(f c ) = 1 1/100,000 = Probability of Health p(e F) = 99 / 100 =.99 Probability Sick Perso Tests Positive p(e c F) = 1 99 /100 =.01 Probability Sick Perso Tests Negative p(e c F c ) = 995 /100 =.995 Probability Healthy Perso Tests Negative p(e F c ) = /100 =.005 Probability Healthy Perso Tests Positive p(f E) = p(e F) p(f) p(e F)p(F) + p(e F c )p(f c ) = (.99)(.00001) (.99)(.00001)+ (.005)(.99999).002 p(f c E c ) = p(e c F c ) p(f c ) p(e c F c ) p(f c ) + p(e c F)p(F) = (.995)(.99999) (.995)(.99999)+ (.01)(.00001)
37 Tests for Rare Diseases (cotiued) Rare Diseases -- p(f) = 1/100, 000 Test Positive -- Do Not Worry -- p(f E).002 Test Negative Healthy -- p(f c E c ) Commo Diseases -- p(f) = 1/10 Test Positive Sick -- p(f E) = Test Negative Healthy p(e F) p(f) p(e F)p(F) + p(e F c )p(f c ) = (.99)(.1) (.99)(.1)+ (.005)(.9) p(f c E c ) = p(e c F c ) p(f c ) p(e c F c ) p(f c ) + p(e c F)p(F) = (.995)(.9) (.995)(.9)+ (.01)(.1).99888
38 Example: Spam Filters Notatio S = the evet that the message is spam E = the evet that the message cotais the word w Protocol p(s) = 9 /10 most of my messages are spam p(e S) = p(w) probability that w appears i spam p(e S c ) = q(w) probability that w appears i a real message Problems p(s E) = probability that the message is spam if w appears =? p(s c E c ) = probability that the message is ot spam if w does ot appear =?
39 Example: Spam Filters (cotiued) Probabilities p(s) = 9 /10 =.9 Probability of Spam p(s c ) = 1 9 /10 =.1 Probability of Real Message p(e S) = p(w) Probability w appears i Spam p(e c S) = 1 p(w) Probability w does NOT appears i Spam p(e S c ) = q(w) Probability w appears i Message p(e c S c ) = 1 q(w) Probability w does NOT appear i Message p(s E) = p(e S) p(s) p(e S)p(S)+ p(e S c ) p(s c ) = 9 p(w) 9 p(w) + q(w) p(s c E c ) = p(e c S c ) p(s c ) p(e c S c ) p(s c ) + p(e c S)p(S) = 1 q(w) 1 q(w) ( ) + 9( 1 p(w) )
40 Mote Hall Problem Notatio F = evet that a perso selects the door with the prize E = evet that the door opeed by Mote Hall does ot cotai the prize Protocol p(f) = 1/ 3 You have a 1/3 chace of selectig the prize p(e F) = 1 Mote CANNOT have prize if you do p(e F c ) = 1 Mote NEVER opes the door with the prize Problem p(f E) = probability that your door has the prize if Mote Hall s does ot =?
41 Mote Hall Problem (cotiued) Probabilities p(f) = 1/ 3 Probability your door has the prize p(f c ) = 2 / 3 Probability your door does ot have prize p(e F) = 1 Mote CANNOT have prize if you do p(e F c ) = 1 Mote NEVER opes the door with the prize Coditioal Probability p(f E) = p(e F) p(f) p(e F)p(F) + p(e F c )p(f c ) = (1)(1/ 3) (1)(1 / 3)+ (1)(2 / 3) = 1/ 3 Coclusio Switch doors with Mote Hall
42 Mote Hall Problem -- Variatio Probabilities p(f) = 1/ 3 Probability your door has the prize p(f c ) = 2 / 3 Probability your door does ot have prize p(e F) = 1 Mote CANNOT have prize if you do p(e F c ) = 1/ 2 Mote selects a door at radom Coditioal Probability p(f E) = p(e F) p(f) p(e F)p(F) + p(e F c )p(f c ) = (1)(1/ 3) (1)(1 / 3)+ (1/ 2)(2 / 3) = 1/ 2 Coclusio Switchig does NOT chage the odds.
43 Daughter Problem Notatio F = evet that a perso with two childre has two daughters E = evet that a perso with two childre has at least oe daughter Protocol p(f) = 1/ 4 oe of four possible case: BB, BG, GB. GG p(f c ) = 3/ 4 three of four possible case: BB, BG, GB. GG p(e F) = 1 if you have two daughters, you have at least oe p(e F c ) = 2 / 3 two out of three cases: BB, BG, GB Problem p(f E) = probability perso has two daughters if they have oe daughter =?
44 Daughter Problem (cotiued) Probabilities p(f) = 1/ 4 Probability of two daughters p(f c ) = 3/ 4 Probability of at most oe daughter p(e F) = 1 If you have two daughter, you have at least oe p(e F c ) = 2 / 3 Two out of three cases: BB, BG, GB Coditioal Probability p(f E) = p(e F) p(f) p(e F)p(F) + p(e F c )p(f c ) = (1)(1/ 4) (1)(1 / 4) + (2 / 3)(3/ 4) = 1/ 3
45 A Daughter Named Alice Notatio F = evet that a perso with two childre has two daughters E = evet that a perso with two childre has oe daughter amed Alice p = percetage of girls amed Alice Protocol p(f) = 1/ 4 oe of four possible case: BB, BG, GB. GG p(f c ) = 3/ 4 three of four possible case: BB, BG, GB. GG p(e F) = 2 p Alice is a girl s ame ad there are two girls p(e F c ) = (2 / 3) p two of three possible cases: BB, GB, BG Problem p(f E) = probability perso has two daughters if they daughter amed Alice =?
46 A Daughter Named Alice (cotiued) Probabilities p(f) = 1/ 4 Probability of two daughters p(f c ) = 3/ 4 Probability of at most oe daughter p(e F) = 2p Alice is a girl s ame ad there are two girls p(e F c ) = 2p / 3 two of three possible cases: BB, GB, BG Coditioal Probability p(f E) = p(e F) p(f) p(e F)p(F) + p(e F c )p(f c ) = (2 p)(1 / 4) (2 p)(1/ 4)+ (2p / 3)(3 / 4) = 1/ 2
47 Expectatio ad Average Case Complexity
48 Radom Variables Defiitio A Radom Variable X is a Fuctio from the sample space S of a experimet to the real umbers. X :S R Examples Coi Tossig Dice -- S = {HH, HT, TH, TT} -- X = Number of heads -- S = {(1,1), (1, 2),, (6, 6) } -- X = Sum of Dots
49 Expectatio Setup S = {a 1,, a } = sample space pr :S [0,1] = probability distributio X :S R = radom variable Expectatio E(X) = Pr(a i ) X(a i ) = Pr(X = r i ) r i i=1 Weighted Average i=1 Additivity E(X +Y ) = E(X)+ E(Y )
50 Additivity Formula E(X +Y ) = E(X)+ E(Y ) Proof ( ) E(X +Y ) = Pr(a i ) X(a i )+Y (a i ) i=1 = Pr(a i )X(a i ) + Pr(a i )Y (a i ) = E(X)+ E(Y ) l=1 Advice Try to use Additivity, NOT the Defiitio of Expectatio i=1
51 Direct Method Dice S = {(1,1), (1, 2),, (6, 6) } X = Sum of Dots E(X) = Pr(s i )X(s i ) = k= = = 7 Summatio Method X 1 = Number of Dots of First Die X 2 = Number of Dots of Secod Die X = X 1 + X 2 E(X k ) = = 21 6 = 3.5 E(X) = E(X 1 )+ E(X 2 ) = = 7
52 Beroulli Trials Biomial Distributio X(Experimet) = Number of Successes E(X) = kb k (t) = t k=0 Direct Method -- By Brute Force Algebra (see ext page) Summatio Method X k = 1 for success o the kth trial = 0 for failure o the kth trial X = X k k=1 E(X) = E(X k ) = t = t k=1 k=1
53 Expectatio: Biomial Distributio Algebra E(X) = k=0 kb k (t) = k( k )t k (1 t) k k =1 = k = t k =1 k =1! k!( k)! t k (1 t) k ( 1)! (k 1)! (( 1) (k 1) )! t k 1 ( 1) (k 1) (1 t) 1 = t ( k 1)t k 1 (1 t) ( 1) ( k 1) k =1 1 (t) = t B k 1 = t k=1
54 Aother Example Birthday Problem Fid umber of people,, i a room, so that expectatio is at least oe that two people have the same birthday. Setup X() = # people with the same birthday (day ad moth) X ij (a i, a j ) = 1 if a i ad a j bor o same day ad moth = 0 otherwise X() = X ij (a i, a j ) i< j
55 Solutio X() = # people with the same birthday X() = X ij (a i, a j ) i< j -- p(x ij =1) = 1/ E(X ij ) = 1/ # X ij = C(, 2) -- E(X) = (1/ 365) C(,2) C(, 2) 378 X() 1 NOT quite the same as the umber eeded to make the probability 1/2.
56 Average Case Complexity Setup S = {a 1,, a } = possible iputs to a algorithm X(a i ) = umber of operatios used by the algorithm for iput a i Formula E(X) = Pr(a i ) X(a i ) = Average Case Complexity i=1
57 Example -- Liear Search Assumptios elemets i UNORDERED list: a 1,, a Pr(x = a i ) = 1 (equal likelihood) X(a i ) = umber of comparisos used to locate a i is i Average Case Complexity E(x) = i = 1 i=1 i = 1 i=1 ( +1) 2 = Result makes good sese as a average -- half more, half less Worst Case Complexity =
58 Liear Search -- Revisited Assumptios elemets i UNORDERED list: a 1,, a Pr(x = a i ) = 1 (equal likelihood) Pr(x i list) = p X(a i ) = umber of comparisos used to locate a i is 2i compare to curret elemet -- check for ed of list -- iside ad outside the loop X(a ot i list) = umber of comparisos to determie a ot i list is oe additioal compariso o ( +1) st time through the loop
59 Liear Search -- Revisited (cotiued) Average Case Complexity E(x) = (2 + 2)(1 p)+ i=1 (2i +1)p = (2 + 2)(1 p)+ p i=1 (2i +1) = (2 + 2)(1 p)+ (( +1) 2 1) p = (2 + 2)(1 p)+ ( + 2)p = (2 + 2) p
60 Variace ad Stadard Deviatio
61 Variace ad Stadard Deviatio Setup S = {a 1,, a } = sample space p :S [0, 1] = probability distributio X = radom variable Variace V(X) = ( X(s i ) E(X) ) 2 p(s i ) i=1 Stadard Deviatio σ(x) = V(X) = ( X(s i ) E(X) ) 2 p(s i ) i=1 Objective To measure deviatio of a radom variable X from its average value E(X) (expectatio)
62 Variace ad Expectatio Theorem: V(X) = E(X 2 ) ( E(X) ) 2 Proof: V(X) = ( X(s i ) E(X) ) 2 p(s i ) i=1 = X(s i ) 2 p(s i ) 2E(X) X(s i ) p(s i )+ E(X) 2 p(s i ) i=1 i=1 = E(X 2 ) 2E(X)E(X) + E(X) 2 = E(X 2 ) ( E(X) ) 2 i=1
63 Example O Die E(X) = = 21 6 = 7 2 ( E(X) ) 2 = = = 49 4 E(X 2 ) = = 91 6 V(X) = E(X 2 ) E(X) ( ) 2 = =
64 Expectatio ad Idepedet Variables Defiitio X,Y are called idepedet radom variables if p(x = r ad Y = s) = P(X = r)p(x = s) for all r,s Theorem: X,Y idepedet E(XY ) = E(X) E(Y ) Proof: E(XY ) = Pr(a i )X(a i )Y (a i ) i=1 ( ) = r 1 r 2 Pr(X = r 1 ) ad Pr(Y = r 2 ) r 1, r 2 = r 1 Pr(X = r 1 ) r 1 = E(X)E(Y ) r 2 Pr(Y = r 2 ) r 2
65 Variace ad Idepedet Variables Theorem: X,Y idepedet V(X +Y ) = V(X) +V(Y ) Proof: V(X +Y ) = E ((X +Y ) 2 ) ( E(X + Y )) 2 = E(X 2 + 2XY +Y 2 ) ( E(X) ) 2 2E(X)E(Y ) ( E(Y )) 2 = E(X 2 )+ 2E(XY )+ E(Y 2 ) ( E(X) ) 2 2E(X)E(Y ) ( E(Y )) 2 = E(X 2 ) ( E(X) ) 2 + E(Y 2 ) ( E(Y )) 2 {E(XY ) = E(X)E(Y )} = V(X)+V(Y )
66 Two Dice Notatio X 1 = umber of dots o first die X 2 = umber of dots o secod die X = X 1 + X 2 = sum of dots o both dice Variace V(X 1 ) = V(X 2 ) = V(X) = V(X 1 + X 2 ) = =
67 Beroulli Trials 1 Beroulli Trial X(t) = 1 success = 0 failure E(X) = t V(X) = E(X 2 ) ( E(X) ) 2 = t t 2 = t(1 t) Beroulli Trials V(X) = V(X X ) = V(X 1 )+ +V(X ) V(X) = t(1 t)
f X (12) = Pr(X = 12) = Pr({(6, 6)}) = 1/36
Probability Distributios A Example With Dice If X is a radom variable o sample space S, the the probablity that X takes o the value c is Similarly, Pr(X = c) = Pr({s S X(s) = c} Pr(X c) = Pr({s S X(s)
More informationChapter 6 Conditional Probability
Lecture Notes o robability Coditioal robability 6. Suppose RE a radom experimet S sample space C subset of S φ (i.e. (C > 0 A ay evet Give that C must occur, the the probability that A happe is the coditioal
More informationDownloaded from
ocepts ad importat formulae o probability Key cocept: *coditioal probability *properties of coditioal probability *Multiplicatio Theorem o Probablity *idepedet evets *Theorem of Total Probablity *Bayes
More informationAMS570 Lecture Notes #2
AMS570 Lecture Notes # Review of Probability (cotiued) Probability distributios. () Biomial distributio Biomial Experimet: ) It cosists of trials ) Each trial results i of possible outcomes, S or F 3)
More informationf X (12) = Pr(X = 12) = Pr({(6, 6)}) = 1/36
Probability Distributios A Example With Dice If X is a radom variable o sample space S, the the probability that X takes o the value c is Similarly, Pr(X = c) = Pr({s S X(s) = c}) Pr(X c) = Pr({s S X(s)
More informationFinal Review for MATH 3510
Fial Review for MATH 50 Calculatio 5 Give a fairly simple probability mass fuctio or probability desity fuctio of a radom variable, you should be able to compute the expected value ad variace of the variable
More informationRandomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)
Radomized Algorithms I, Sprig 08, Departmet of Computer Sciece, Uiversity of Helsiki Homework : Solutios Discussed Jauary 5, 08). Exercise.: Cosider the followig balls-ad-bi game. We start with oe black
More informationCSC Discrete Math I, Spring Discrete Probability
CSC 125 - Discrete Math I, Spring 2017 Discrete Probability Probability of an Event Pierre-Simon Laplace s classical theory of probability: Definition of terms: An experiment is a procedure that yields
More informationProblems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:
Math 224 Fall 2017 Homework 4 Drew Armstrog Problems from 9th editio of Probability ad Statistical Iferece by Hogg, Tais ad Zimmerma: Sectio 2.3, Exercises 16(a,d),18. Sectio 2.4, Exercises 13, 14. Sectio
More informationRandom Variables, Sampling and Estimation
Chapter 1 Radom Variables, Samplig ad Estimatio 1.1 Itroductio This chapter will cover the most importat basic statistical theory you eed i order to uderstad the ecoometric material that will be comig
More informationDiscrete Probability
MAT 258 Discrete Mathematics Discrete Probability Kenneth H. Rosen and Kamala Krithivasan Discrete Mathematics 7E Global Edition Chapter 7 Reproduced without explicit consent Fall 2016 Week 11 Probability
More informationDiscrete Mathematics and Probability Theory Fall 2016 Walrand Probability: An Overview
CS 70 Discrete Mathematics ad Probability Theory Fall 2016 Walrad Probability: A Overview Probability is a fasciatig theory. It provides a precise, clea, ad useful model of ucertaity. The successes of
More informationThe Binomial Theorem
The Biomial Theorem Lecture 47 Sectio 9.7 Robb T. Koether Hampde-Sydey College Fri, Apr 8, 204 Robb T. Koether (Hampde-Sydey College The Biomial Theorem Fri, Apr 8, 204 / 25 Combiatios 2 Pascal s Triagle
More information0, otherwise. EX = E(X 1 + X n ) = EX j = np and. Var(X j ) = np(1 p). Var(X) = Var(X X n ) =
PROBABILITY MODELS 35 10. Discrete probability distributios I this sectio, we discuss several well-ow discrete probability distributios ad study some of their properties. Some of these distributios, lie
More informationAn Introduction to Randomized Algorithms
A Itroductio to Radomized Algorithms The focus of this lecture is to study a radomized algorithm for quick sort, aalyze it usig probabilistic recurrece relatios, ad also provide more geeral tools for aalysis
More informationn outcome is (+1,+1, 1,..., 1). Let the r.v. X denote our position (relative to our starting point 0) after n moves. Thus X = X 1 + X 2 + +X n,
CS 70 Discrete Mathematics for CS Sprig 2008 David Wager Note 9 Variace Questio: At each time step, I flip a fair coi. If it comes up Heads, I walk oe step to the right; if it comes up Tails, I walk oe
More informationDiscrete probability distributions
Discrete probability distributios I the chapter o probability we used the classical method to calculate the probability of various values of a radom variable. I some cases, however, we may be able to develop
More informationChapter 1. Probability
Chapter. Probability. Set defiitios 2. Set operatios 3. Probability itroduced through sets ad relative frequecy 4. Joit ad coditioal probability 5. Idepedet evets 6. Combied experimets 7. Beroulli trials
More informationCS 330 Discussion - Probability
CS 330 Discussio - Probability March 24 2017 1 Fudametals of Probability 11 Radom Variables ad Evets A radom variable X is oe whose value is o-determiistic For example, suppose we flip a coi ad set X =
More informationCH.25 Discrete Random Variables
CH.25 Discrete Radom Variables 25B PG.784-785 #1, 3, 4, 6 25C PG.788-789 #1, 3, 5, 8, 10, 11 25D PG.791-792 #1, 3, 6 25E PG.794-795 #1, 2, 3, 7, 10 25F.1 PG.798-799 #2, 3, 5 25F.2 PG. 800-802 #2, 4, 7,
More informationExpectation and Variance of a random variable
Chapter 11 Expectatio ad Variace of a radom variable The aim of this lecture is to defie ad itroduce mathematical Expectatio ad variace of a fuctio of discrete & cotiuous radom variables ad the distributio
More informationSample Midterm This midterm consists of 10 questions. The rst seven questions are multiple choice; the remaining three
CS{74 Combiatorics & Discrete Probability, Fall 97 Sample Midterm :30{:00pm, 7 October Read these istructios carefully. This is a closed book exam. Calculators are permitted.. This midterm cosists of 0
More informationConditional Probability. Given an event M with non zero probability and the condition P( M ) > 0, Independent Events P A P (AB) B P (B)
Coditioal robability Give a evet M with o zero probability ad the coditio ( M ) > 0, ( / M ) ( M ) ( M ) Idepedet Evets () ( ) ( ) () ( ) ( ) ( ) Examples ) Let items be chose at radom from a lot cotaiig
More informationFACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures
FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING Lectures MODULE 5 STATISTICS II. Mea ad stadard error of sample data. Biomial distributio. Normal distributio 4. Samplig 5. Cofidece itervals
More informationUNIT 2 DIFFERENT APPROACHES TO PROBABILITY THEORY
UNIT 2 DIFFERENT APPROACHES TO PROBABILITY THEORY Structure 2.1 Itroductio Objectives 2.2 Relative Frequecy Approach ad Statistical Probability 2. Problems Based o Relative Frequecy 2.4 Subjective Approach
More informationAs stated by Laplace, Probability is common sense reduced to calculation.
Note: Hadouts DO NOT replace the book. I most cases, they oly provide a guidelie o topics ad a ituitive feel. The math details will be covered i class, so it is importat to atted class ad also you MUST
More informationWhat is Probability?
Quatificatio of ucertaity. What is Probability? Mathematical model for thigs that occur radomly. Radom ot haphazard, do t kow what will happe o ay oe experimet, but has a log ru order. The cocept of probability
More informationPH 425 Quantum Measurement and Spin Winter SPINS Lab 1
PH 425 Quatum Measuremet ad Spi Witer 23 SPIS Lab Measure the spi projectio S z alog the z-axis This is the experimet that is ready to go whe you start the program, as show below Each atom is measured
More information4. Basic probability theory
Cotets Basic cocepts Discrete radom variables Discrete distributios (br distributios) Cotiuous radom variables Cotiuous distributios (time distributios) Other radom variables Lect04.ppt S-38.45 - Itroductio
More informationCEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering
CEE 5 Autum 005 Ucertaity Cocepts for Geotechical Egieerig Basic Termiology Set A set is a collectio of (mutually exclusive) objects or evets. The sample space is the (collectively exhaustive) collectio
More informationProbability theory and mathematical statistics:
N.I. Lobachevsky State Uiversity of Nizhi Novgorod Probability theory ad mathematical statistics: Law of Total Probability. Associate Professor A.V. Zorie Law of Total Probability. 1 / 14 Theorem Let H
More informationEcon 325: Introduction to Empirical Economics
Eco 35: Itroductio to Empirical Ecoomics Lecture 3 Discrete Radom Variables ad Probability Distributios Copyright 010 Pearso Educatio, Ic. Publishig as Pretice Hall Ch. 4-1 4.1 Itroductio to Probability
More informationLecture 1 Probability and Statistics
Wikipedia: Lecture 1 Probability ad Statistics Bejami Disraeli, British statesma ad literary figure (1804 1881): There are three kids of lies: lies, damed lies, ad statistics. popularized i US by Mark
More informationDiscrete Mathematics for CS Spring 2008 David Wagner Note 22
CS 70 Discrete Mathematics for CS Sprig 2008 David Wager Note 22 I.I.D. Radom Variables Estimatig the bias of a coi Questio: We wat to estimate the proportio p of Democrats i the US populatio, by takig
More informationLecture 1 Probability and Statistics
Wikipedia: Lecture 1 Probability ad Statistics Bejami Disraeli, British statesma ad literary figure (1804 1881): There are three kids of lies: lies, damed lies, ad statistics. popularized i US by Mark
More informationBinomial Distribution
0.0 0.5 1.0 1.5 2.0 2.5 3.0 0 1 2 3 4 5 6 7 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Overview Example: coi tossed three times Defiitio Formula Recall that a r.v. is discrete if there are either a fiite umber of possible
More informationMath 525: Lecture 5. January 18, 2018
Math 525: Lecture 5 Jauary 18, 2018 1 Series (review) Defiitio 1.1. A sequece (a ) R coverges to a poit L R (writte a L or lim a = L) if for each ǫ > 0, we ca fid N such that a L < ǫ for all N. If the
More informationNOTES ON DISTRIBUTIONS
NOTES ON DISTRIBUTIONS MICHAEL N KATEHAKIS Radom Variables Radom variables represet outcomes from radom pheomea They are specified by two objects The rage R of possible values ad the frequecy fx with which
More informationDiscrete Random Variables and Probability Distributions. Random Variables. Discrete Models
UCLA STAT 35 Applied Computatioal ad Iteractive Probability Istructor: Ivo Diov, Asst. Prof. I Statistics ad Neurology Teachig Assistat: Chris Barr Uiversity of Califoria, Los Ageles, Witer 006 http://www.stat.ucla.edu/~diov/
More informationTopic 8: Expected Values
Topic 8: Jue 6, 20 The simplest summary of quatitative data is the sample mea. Give a radom variable, the correspodig cocept is called the distributioal mea, the epectatio or the epected value. We begi
More informationIntroduction to probability Stochastic Process Queuing systems. TELE4642: Week2
Itroductio to probability Stochastic Process Queuig systems TELE4642: Week2 Overview Refresher: Probability theory Termiology, defiitio Coditioal probability, idepedece Radom variables ad distributios
More informationThe standard deviation of the mean
Physics 6C Fall 20 The stadard deviatio of the mea These otes provide some clarificatio o the distictio betwee the stadard deviatio ad the stadard deviatio of the mea.. The sample mea ad variace Cosider
More informationDiscrete Probability Functions
Discrete Probability Fuctios Daiel B. Rowe, Ph.D. Professor Departmet of Mathematics, Statistics, ad Computer Sciece Copyright 017 by 1 Outlie Discrete RVs, PMFs, CDFs Discrete Expectatios Discrete Momets
More informationAMS 216 Stochastic Differential Equations Lecture 02 Copyright by Hongyun Wang, UCSC ( ( )) 2 = E X 2 ( ( )) 2
AMS 216 Stochastic Differetial Equatios Lecture 02 Copyright by Hogyu Wag, UCSC Review of probability theory (Cotiued) Variace: var X We obtai: = E X E( X ) 2 = E( X 2 ) 2E ( X )E X var( X ) = E X 2 Stadard
More informationMonty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch
Monty Hall Puzzle Example: You are asked to select one of the three doors to open. There is a large prize behind one of the doors and if you select that door, you win the prize. After you select a door,
More informationCS 171 Lecture Outline October 09, 2008
CS 171 Lecture Outlie October 09, 2008 The followig theorem comes very hady whe calculatig the expectatio of a radom variable that takes o o-egative iteger values. Theorem: Let Y be a radom variable that
More informationIntroduction to Probability. Ariel Yadin. Lecture 7
Itroductio to Probability Ariel Yadi Lecture 7 1. Idepedece Revisited 1.1. Some remiders. Let (Ω, F, P) be a probability space. Give a collectio of subsets K F, recall that the σ-algebra geerated by K,
More informationThis exam contains 19 pages (including this cover page) and 10 questions. A Formulae sheet is provided with the exam.
Probability ad Statistics FS 07 Secod Sessio Exam 09.0.08 Time Limit: 80 Miutes Name: Studet ID: This exam cotais 9 pages (icludig this cover page) ad 0 questios. A Formulae sheet is provided with the
More informationQuick Review of Probability
Quick Review of Probability Berli Che Departmet of Computer Sciece & Iformatio Egieerig Natioal Taiwa Normal Uiversity Refereces: 1. W. Navidi. Statistics for Egieerig ad Scietists. Chapter 2 & Teachig
More informationSample questions. 8. Let X denote a continuous random variable with probability density function f(x) = 4x 3 /15 for
Sample questios Suppose that humas ca have oe of three bloodtypes: A, B, O Assume that 40% of the populatio has Type A, 50% has type B, ad 0% has Type O If a perso has type A, the probability that they
More informationIntroduction to Probability and Statistics Twelfth Edition
Itroductio to Probability ad Statistics Twelfth Editio Robert J. Beaver Barbara M. Beaver William Medehall Presetatio desiged ad writte by: Barbara M. Beaver Itroductio to Probability ad Statistics Twelfth
More informationWith Question/Answer Animations. Chapter 7
With Question/Answer Animations Chapter 7 Chapter Summary Introduction to Discrete Probability Probability Theory Bayes Theorem Section 7.1 Section Summary Finite Probability Probabilities of Complements
More informationSTAT Homework 1 - Solutions
STAT-36700 Homework 1 - Solutios Fall 018 September 11, 018 This cotais solutios for Homework 1. Please ote that we have icluded several additioal commets ad approaches to the problems to give you better
More informationEmpirical Distributions
Empirical Distributios A empirical distributio is oe for which each possible evet is assiged a probability derived from experimetal observatio. It is assumed that the evets are idepedet ad the sum of the
More informationLecture 12: November 13, 2018
Mathematical Toolkit Autum 2018 Lecturer: Madhur Tulsiai Lecture 12: November 13, 2018 1 Radomized polyomial idetity testig We will use our kowledge of coditioal probability to prove the followig lemma,
More informationTopic 5: Basics of Probability
Topic 5: Jue 1, 2011 1 Itroductio Mathematical structures lie Euclidea geometry or algebraic fields are defied by a set of axioms. Mathematical reality is the developed through the itroductio of cocepts
More informationLecture 7: Properties of Random Samples
Lecture 7: Properties of Radom Samples 1 Cotiued From Last Class Theorem 1.1. Let X 1, X,...X be a radom sample from a populatio with mea µ ad variace σ
More informationDesign and Analysis of Algorithms
Desig ad Aalysis of Algorithms Probabilistic aalysis ad Radomized algorithms Referece: CLRS Chapter 5 Topics: Hirig problem Idicatio radom variables Radomized algorithms Huo Hogwei 1 The hirig problem
More informationMATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4
MATH 30: Probability ad Statistics 9. Estimatio ad Testig of Parameters Estimatio ad Testig of Parameters We have bee dealig situatios i which we have full kowledge of the distributio of a radom variable.
More informationDiscrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 19
CS 70 Discrete Mathematics ad Probability Theory Sprig 2016 Rao ad Walrad Note 19 Some Importat Distributios Recall our basic probabilistic experimet of tossig a biased coi times. This is a very simple
More informationQuick Review of Probability
Quick Review of Probability Berli Che Departmet of Computer Sciece & Iformatio Egieerig Natioal Taiwa Normal Uiversity Refereces: 1. W. Navidi. Statistics for Egieerig ad Scietists. Chapter & Teachig Material.
More informationHypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance
Hypothesis Testig Empirically evaluatig accuracy of hypotheses: importat activity i ML. Three questios: Give observed accuracy over a sample set, how well does this estimate apply over additioal samples?
More informationMath 155 (Lecture 3)
Math 55 (Lecture 3) September 8, I this lecture, we ll cosider the aswer to oe of the most basic coutig problems i combiatorics Questio How may ways are there to choose a -elemet subset of the set {,,,
More informationParameter, Statistic and Random Samples
Parameter, Statistic ad Radom Samples A parameter is a umber that describes the populatio. It is a fixed umber, but i practice we do ot kow its value. A statistic is a fuctio of the sample data, i.e.,
More informationCS284A: Representations and Algorithms in Molecular Biology
CS284A: Represetatios ad Algorithms i Molecular Biology Scribe Notes o Lectures 3 & 4: Motif Discovery via Eumeratio & Motif Represetatio Usig Positio Weight Matrix Joshua Gervi Based o presetatios by
More informationChapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc.
Chapter 22 Comparig Two Proportios Copyright 2010, 2007, 2004 Pearso Educatio, Ic. Comparig Two Proportios Read the first two paragraphs of pg 504. Comparisos betwee two percetages are much more commo
More informationDiscrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22
CS 70 Discrete Mathematics for CS Sprig 2007 Luca Trevisa Lecture 22 Aother Importat Distributio The Geometric Distributio Questio: A biased coi with Heads probability p is tossed repeatedly util the first
More information( ) = p and P( i = b) = q.
MATH 540 Radom Walks Part 1 A radom walk X is special stochastic process that measures the height (or value) of a particle that radomly moves upward or dowward certai fixed amouts o each uit icremet of
More informationDiscrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Final Solutions
CS 70 Discrete Mathematics ad Probability Theory Fall 2016 Seshia ad Walrad Fial Solutios CS 70, Fall 2016, Fial Solutios 1 1 TRUE or FALSE?: 2x8=16 poits Clearly put your aswers i the aswer box o the
More informationLecture 4. Random variable and distribution of probability
Itroductio to theory of probability ad statistics Lecture. Radom variable ad distributio of probability dr hab.iż. Katarzya Zarzewsa, prof.agh Katedra Eletroii, AGH e-mail: za@agh.edu.pl http://home.agh.edu.pl/~za
More informationAxioms of Measure Theory
MATH 532 Axioms of Measure Theory Dr. Neal, WKU I. The Space Throughout the course, we shall let X deote a geeric o-empty set. I geeral, we shall ot assume that ay algebraic structure exists o X so that
More informationThe Random Walk For Dummies
The Radom Walk For Dummies Richard A Mote Abstract We look at the priciples goverig the oe-dimesioal discrete radom walk First we review five basic cocepts of probability theory The we cosider the Beroulli
More informationLecture Chapter 6: Convergence of Random Sequences
ECE5: Aalysis of Radom Sigals Fall 6 Lecture Chapter 6: Covergece of Radom Sequeces Dr Salim El Rouayheb Scribe: Abhay Ashutosh Doel, Qibo Zhag, Peiwe Tia, Pegzhe Wag, Lu Liu Radom sequece Defiitio A ifiite
More informationEE 4TM4: Digital Communications II Probability Theory
1 EE 4TM4: Digital Commuicatios II Probability Theory I. RANDOM VARIABLES A radom variable is a real-valued fuctio defied o the sample space. Example: Suppose that our experimet cosists of tossig two fair
More informationStat 198 for 134 Instructor: Mike Leong
Chapter 2: Repeated Trials ad Samplig Sectio 2.1 Biomial Distributio 2.2 Normal Approximatio: Method 2.3 Normal Approximatios: Derivatio (Skip) 2.4 Poisso Approximatio 2.5 Radom Samplig Chapter 2 Table
More informationLecture 2: April 3, 2013
TTIC/CMSC 350 Mathematical Toolkit Sprig 203 Madhur Tulsiai Lecture 2: April 3, 203 Scribe: Shubhedu Trivedi Coi tosses cotiued We retur to the coi tossig example from the last lecture agai: Example. Give,
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 6 9/24/2008 DISCRETE RANDOM VARIABLES AND THEIR EXPECTATIONS
MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 6 9/24/2008 DISCRETE RANDOM VARIABLES AND THEIR EXPECTATIONS Cotets 1. A few useful discrete radom variables 2. Joit, margial, ad
More informationBHW #13 1/ Cooper. ENGR 323 Probabilistic Analysis Beautiful Homework # 13
BHW # /5 ENGR Probabilistic Aalysis Beautiful Homework # Three differet roads feed ito a particular freeway etrace. Suppose that durig a fixed time period, the umber of cars comig from each road oto the
More informationFrequentist Inference
Frequetist Iferece The topics of the ext three sectios are useful applicatios of the Cetral Limit Theorem. Without kowig aythig about the uderlyig distributio of a sequece of radom variables {X i }, for
More informationLecture 19: Convergence
Lecture 19: Covergece Asymptotic approach I statistical aalysis or iferece, a key to the success of fidig a good procedure is beig able to fid some momets ad/or distributios of various statistics. I may
More information4. Partial Sums and the Central Limit Theorem
1 of 10 7/16/2009 6:05 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 4. Partial Sums ad the Cetral Limit Theorem The cetral limit theorem ad the law of large umbers are the two fudametal theorems
More informationIE 230 Probability & Statistics in Engineering I. Closed book and notes. No calculators. 120 minutes.
Closed book ad otes. No calculators. 120 miutes. Cover page, five pages of exam, ad tables for discrete ad cotiuous distributios. Score X i =1 X i / S X 2 i =1 (X i X ) 2 / ( 1) = [i =1 X i 2 X 2 ] / (
More informationDiscrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions
CS 70 Discrete Mathematics for CS Sprig 2005 Clacy/Wager Notes 21 Some Importat Distributios Questio: A biased coi with Heads probability p is tossed repeatedly util the first Head appears. What is the
More informationSome discrete distribution
Some discrete distributio p. 2-13 Defiitio (Beroulli distributio B(p)) A Beroulli distributio takes o oly two values: 0 ad 1, with probabilities 1 p ad p, respectively. pmf: p() = p (1 p) (1 ), if =0or
More informationMassachusetts Institute of Technology
Solutios to Quiz : Sprig 006 Problem : Each of the followig statemets is either True or False. There will be o partial credit give for the True False questios, thus ay explaatios will ot be graded. Please
More informationBasics of Probability Theory (for Theory of Computation courses)
Basics of Probability Theory (for Theory of Computatio courses) Oded Goldreich Departmet of Computer Sciece Weizma Istitute of Sciece Rehovot, Israel. oded.goldreich@weizma.ac.il November 24, 2008 Preface.
More information1 of 7 7/16/2009 6:06 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 6. Order Statistics Defiitios Suppose agai that we have a basic radom experimet, ad that X is a real-valued radom variable
More information1 Inferential Methods for Correlation and Regression Analysis
1 Iferetial Methods for Correlatio ad Regressio Aalysis I the chapter o Correlatio ad Regressio Aalysis tools for describig bivariate cotiuous data were itroduced. The sample Pearso Correlatio Coefficiet
More informationRandom Models. Tusheng Zhang. February 14, 2013
Radom Models Tusheg Zhag February 14, 013 1 Radom Walks Let me describe the model. Radom walks are used to describe the motio of a movig particle (object). Suppose that a particle (object) moves alog the
More informationLecture 5. Random variable and distribution of probability
Itroductio to theory of probability ad statistics Lecture 5. Radom variable ad distributio of probability prof. dr hab.iż. Katarzya Zarzewsa Katedra Eletroii, AGH e-mail: za@agh.edu.pl http://home.agh.edu.pl/~za
More informationCS166 Handout 02 Spring 2018 April 3, 2018 Mathematical Terms and Identities
CS166 Hadout 02 Sprig 2018 April 3, 2018 Mathematical Terms ad Idetities Thaks to Ady Nguye ad Julie Tibshirai for their advice o this hadout. This hadout covers mathematical otatio ad idetities that may
More informationProbability and Statistics
robability ad Statistics rof. Zheg Zheg Radom Variable A fiite sigle valued fuctio.) that maps the set of all eperimetal outcomes ito the set of real umbers R is a r.v., if the set ) is a evet F ) for
More informationCSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo
Coutig Methods CSE 191, Class Note 05: Coutig Methods Computer Sci & Eg Dept SUNY Buffalo c Xi He (Uiversity at Buffalo CSE 191 Discrete Structures 1 / 48 Need for Coutig The problem of coutig the umber
More informationHomework 5 Solutions
Homework 5 Solutios p329 # 12 No. To estimate the chace you eed the expected value ad stadard error. To do get the expected value you eed the average of the box ad to get the stadard error you eed the
More informationIntroduction to Probability. Ariel Yadin. Lecture 2
Itroductio to Probability Ariel Yadi Lecture 2 1. Discrete Probability Spaces Discrete probability spaces are those for which the sample space is coutable. We have already see that i this case we ca take
More informationApproximations and more PMFs and PDFs
Approximatios ad more PMFs ad PDFs Saad Meimeh 1 Approximatio of biomial with Poisso Cosider the biomial distributio ( b(k,,p = p k (1 p k, k λ: k Assume that is large, ad p is small, but p λ at the limit.
More informationElements of Statistical Methods Lots of Data or Large Samples (Ch 8)
Elemets of Statistical Methods Lots of Data or Large Samples (Ch 8) Fritz Scholz Sprig Quarter 2010 February 26, 2010 x ad X We itroduced the sample mea x as the average of the observed sample values x
More informationResponse Variable denoted by y it is the variable that is to be predicted measure of the outcome of an experiment also called the dependent variable
Statistics Chapter 4 Correlatio ad Regressio If we have two (or more) variables we are usually iterested i the relatioship betwee the variables. Associatio betwee Variables Two variables are associated
More informationUC Berkeley Department of Electrical Engineering and Computer Sciences. EE126: Probability and Random Processes
UC Berkeley Departmet of Electrical Egieerig ad Computer Scieces EE26: Probability ad Radom Processes Problem Set Fall 208 Issued: Thursday, August 23, 208 Due: Wedesday, August 29, 207 Problem. (i Sho
More informationAdvanced Stochastic Processes.
Advaced Stochastic Processes. David Gamarik LECTURE 2 Radom variables ad measurable fuctios. Strog Law of Large Numbers (SLLN). Scary stuff cotiued... Outlie of Lecture Radom variables ad measurable fuctios.
More information