Question

In: Statistics and Probability

A photo-sharing startup offers the following service. A client may upload any number N of photos...

A photo-sharing startup offers the following service. A client may upload any number N of photos and the server will compare each of the N 2 pairs of photos with their proprietary image matching algorithms to see if there is any person that is in both pictures. Testing shows that the matching algorithm is the slowest part of the service, taking about 100 milliseconds of CPU time per photo pair. Hence, estimating the number of photos uploaded by each client is a key part of sizing their data center. The people in charge say that their gut feeling is that N = 10. You (the chief technical officer) say, “but N is a random variable”. What will the average CPU demand per client (as a function of N, p or λ) if N follows

• the “distribution” where N is the same fixed number with probability 1?

• the Poisson distribution with parameter λ?

• the geometric distribution with parameter p?

• N = 80X + 5, where X is a Bernoulli random variable with parameter p?

In each case, include as part of your answer the expected value of N and the variance of N.

Solutions

Expert Solution

1. the “distribution” where N is the same fixed number with probability 1?

For average CPU demand per client:

Expected value of N = N

Variance of N = 0

2. the Poisson distribution with parameter λ?

For average CPU demand per client:

Expected value of N =

Variance of N =

3. the geometric distribution with parameter p?

For average CPU demand per client:

Expected value of N = 1/p

Variance of N = 1/p

4. N = 80X + 5, where X is a Bernoulli random variable with parameter p?

For average CPU demand per client:

Expected value of N = E[80X + 5] = 80E[X] + 5 = 80*p+5 = 80p+5

Variance of N = 802 Var(X) = 802 * p(1-p) = 6400p(1-p)


Related Solutions

*Please don't answer with photos, DO NOT UPLOAD PHOTO, it's hard to read. I post this...
*Please don't answer with photos, DO NOT UPLOAD PHOTO, it's hard to read. I post this question twice, please don't answer this post if you already answer the other one, if you can answer different answer that's fine. REASON WHY I POST IT TWICE, I NEED TWO DIFFERENT VIEW. Discussion Hi All - this week you will learn about DNA - the molecule of life! You may think that protein-coding genes are the most important, but results from the Human...
Solve the following using paper-pencil and upload it in .PDF or a photo embedded in MS...
Solve the following using paper-pencil and upload it in .PDF or a photo embedded in MS Word before the due date. The following are the approximate quantities of 1 yd3 of concrete: Original Adjusted Constant Air Adjustment Cement 515 lb ? ? Water 305 lb ? ? Fine aggregate 1,120 lb ? ? Coarse aggregate 1,830 lb ? ? Air 4 % ? ? Check the volumes of these constituents and adjust the quantities, if required, to produce 1 yd3....
A municipal bond trader may do any of the following EXCEPT enter offers on behalf of...
A municipal bond trader may do any of the following EXCEPT enter offers on behalf of a broker-dealer rate a municipal bond’s creditworthiness request bids position a broker-dealer’s inventory
Please show your effort, do not only give a number. Upload doc, PDF or any other...
Please show your effort, do not only give a number. Upload doc, PDF or any other format files that you prefer through BB link. Effects of different compounding periods on future values of $1,000 invested at an 15% nominal interest rate. Initial Amount Compounding periods Effective annual rate FV at end of 1 year $1,000 Annually $1,000 Semiannually $1,000 Quarterly $1,000 Monthly $1,000 Daily (365 days)
Show that for any square-free integer n > 1, √ n is an irrational number
Show that for any square-free integer n > 1, √ n is an irrational number
Determine the number of permutations of {1,2,3,...,n-1,n} where n is any positive integer and no even...
Determine the number of permutations of {1,2,3,...,n-1,n} where n is any positive integer and no even integer is in its natural position.
Required information [The following information applies to the questions displayed below.] Exact Photo Service purchased a...
Required information [The following information applies to the questions displayed below.] Exact Photo Service purchased a new color printer at the beginning of Year 1 for $38,800. The printer is expected to have a four-year useful life and a $3,400 salvage value. The expected print production is estimated at $1,764,600 pages. Actual print production for the four years was as follows: Year 1 547,600 Year 2 479,300 Year 3 379,100 Year 4 387,600 Total 1,793,600 The printer was sold at...
[The following information applies to the questions displayed below.] Exact Photo Service purchased a new color...
[The following information applies to the questions displayed below.] Exact Photo Service purchased a new color printer at the beginning of 2018 for $40,400. The printer is expected to have a four-year useful life and a $1,616 salvage value. The expected print production is estimated at 1,500,000 pages. Actual print production for the four years was as follows: 2018 545,500 2019 480,700 2020 378,800 2021 387,900 Total 1,792,900 The printer was sold at the end of 2021 for $1,916. Calculate...
[The following information applies to the questions displayed below.] Exact Photo Service purchased a new color...
[The following information applies to the questions displayed below.] Exact Photo Service purchased a new color printer at the beginning of 2018 for $40,400. The printer is expected to have a four-year useful life and a $1,616 salvage value. The expected print production is estimated at 1,500,000 pages. Actual print production for the four years was as follows: 2018 545,500 2019 480,700 2020 378,800 2021 387,900 Total 1,792,900 The printer was sold at the end of 2021 for $1,916. Required...
The following table lists the characteristics of three processes that require service in a time-sharing system...
The following table lists the characteristics of three processes that require service in a time-sharing system Assume that no time is required to choose the next process and perform a context switch. For each algorithm, show the process that is running in each time interval Process Name Arrival Time Burst/CPU Time Priority Start Time End Time Turnaround (TA) Time WTA Wait P1 2 8 1 P2 4 5 4 P3 6 2 3 p4 3 4 2 d) Preemptive Shortest...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT