{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lec-25 - Administration I have regraded midterms Come get...

Info icon This preview shows pages 1–21. Sign up to view the full content.

View Full Document Right Arrow Icon
Administration I have regraded midterms. Come get them after class.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS70: Satish Rao: Lecture 25. 1. Distribution Comparison 2. Poisson Application 3. Variance
Image of page 2
Distributions: continued. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 Pr [ X = i ] = ( 10 i ) ( . 4 ) i ( . 6 ) 10 - i E [ X ] = 4 n = 10 , p = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 p = . 25 Pr [ X = i ] = . 75 i - 1 × . 25 E [ X ] = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Poisson and binomial.. Poisson: “balls in bin 1 when n balls into n / λ bins.” Binomial: n , p = λ n . In the limit of large n , Binomial converges to Poisson.
Image of page 4
Poisson and binomial.. Poisson: “balls in bin 1 when n balls into n / λ bins.” Binomial: n , p = λ n . In the limit of large n , Binomial converges to Poisson.
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
How big a server? 1. Say 14,400 requests arrive in an hour? 2. Each request takes a second to process. How many servers should you have to keep up?
Image of page 6
How big a server? 1. Say 14,400 requests arrive in an hour? 2. Each request takes a second to process. How many servers should you have to keep up? 14400 / 3600 = 4
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
How big a server? 1. Say 14,400 requests arrive in an hour? 2. Each request takes a second to process. How many servers should you have to keep up? 14400 / 3600 = 4 So four servers?
Image of page 8
Modeling: How big a server? 1. n customers, n is unknown. 2. Each makes request with (small) probability p . (Rare Event.) Don’t know n and p .
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Modeling: How big a server? 1. n customers, n is unknown. 2. Each makes request with (small) probability p . (Rare Event.) Don’t know n and p . Can’t use binomial.
Image of page 10
Modeling: How big a server? 1. n customers, n is unknown. 2. Each makes request with (small) probability p . (Rare Event.) Don’t know n and p . Can’t use binomial. Use Poisson!
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Modeling: How big a server? 1. n customers, n is unknown. 2. Each makes request with (small) probability p . (Rare Event.) Don’t know n and p . Can’t use binomial. Use Poisson! With λ = 14 , 400 / 3 , 600 =4.
Image of page 12
Poisson and servers. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2
Image of page 13

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Poisson and servers. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 Can I usually keep up with the load?
Image of page 14
Poisson and servers. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 Can I usually keep up with the load? What is Pr [ X “number of servers” ] ?
Image of page 15

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Poisson and servers. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 Can I usually keep up with the load? What is Pr [ X “number of servers” ] ? i Pr [ X i ] 4 . 628
Image of page 16
Poisson and servers. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 Can I usually keep up with the load? What is Pr [ X “number of servers” ] ? i Pr [ X i ] 4 . 628 6 . 888
Image of page 17

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Poisson and servers. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 Can I usually keep up with the load? What is Pr [ X “number of servers” ] ? i Pr [ X i ] 4 . 628 6 . 888 8 . 978
Image of page 18
Poisson and servers. Pr [ X = i ] = ( e - 4 ) 4 i i ! E [ X ] = 4 λ = 4 0 1 2 3 4 5 6 7 8 9 10 0 . 1 . 2 Can I usually keep up with the load? What is Pr [ X “number of servers” ] ? i Pr [ X i ] 4 . 628 6 . 888 8 . 978 10 . 996
Image of page 19

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Poisson and servers.
Image of page 20
Image of page 21
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern