代写553.420/620 Probability Assignment #05代写留学生Matlab程序

553.420/620 Probability

Assignment #05

1. Flip a fair coin 3 times. Let X be the discrete random variable that returns the length of the longest run of heads. Identify the support of this random variable and construct its probability mass function. I’ll get you started. . .

2. Identify the name of distribution of the following random variables from the descriptions. Be sure to identify the associated parameters from the description if possible and write out its pmf – don’t forget the support of the pmf.

(a) We toss a fair coin once. Let X count the number of heads.

(b) A box has 3 red and 2 blue marbles. Draw a marble uniformly at random, note its color and put it back; repeat until you’ve selected 3 times. Let X count the number of red marbles drawn.

(c) A box has 3 red and 2 blue marbles. Draw a marble uniformly at random, note its color and do not replace; repeat until you’ve selected 3 times. Let X count the number of red marbles drawn.

(d) A box has 3 red and 2 blue marbles. Draw a marble uniformly at random, note its color and put it back; repeat until you’ve selected 3 red marbles. Let Y count the number of marbles drawn.

(e) Surface imperfections on a silicon chip occur at a rate of 0.5 imperfection per square centimeter. Let S count the number of imperfections on a 3 cm2 chip.

3. Show  is a pdf. Then compute the CDF of an rv having this pdf.

4. If you invest $1 with an APR of I × 100%, then in one year you will have 1 + I. After n years you’ll have (1 + I)n . A computer scientist give you two options.

Option 1 is they will give you an APR of I = .5, i.e, 50%, for 10 years.

Option 2 is they will equally likely at random pick one of the three interest rates 25%, 50% or 75% and then lock you in at this rate for 10 years, i.e., they are telling you P(I = .25) = P(I = .50) = P(I = .75) = 3/1.

Notice that E(I) = .50 in option 2 which agrees with option 1.

Compute E[(1 + I) n ] under each option when n = 1, 2, and 10. What do you notice?

5. Suppose X ∼ Poisson(λ), i.e., is a discrete rv with pmf  for x = 0, 1, 2, . . . .

(a) Compute E(X) by definition. FYI: I am asking you to simplify  The MacLaurin expansion for  may come in handy.

(b) Compute the MGF of X, namely, the function M(θ) = E(e θX) using the Law of the Unconscious Statisti-cian. It will turn out the this function exists and is finite for every real number θ. Answer: you should show M(θ) = e λ(e θ−1) for −∞ < θ < ∞.

(c) By taking derivatives of the MGF from part (b), derive the first two moments of the Poisson(λ). Use this information to compute V ar(X).

6. In class we showed that for a discrete rv X possessing an expected value that for any real numbers a and b, E(aX + b) = aE(X) + b. You show V ar(aX + b) = a 2V ar(X). Stating the obvious here but when a = 1 this says V ar(X +b) = V ar(X), i.e., shifting the distribution by a fixed constant does not change the variance.

7. Let X ∼ geometric(p), where X is the trial of the first success in independent Bernoulli(p) trials; recall the pmf is P(X = x) = p(1 − p) x−1 for x = 1, 2, 3, . . . .

(a) Derive the MGF M(θ) of X and wshow how you find the values of θ for which it exists and is finite. I’ll get you started  Answer: M(θ) = 1−(1 − θp)θ/peθ for θ < − ln(1 − p).

(b) By taking the first two derivatives of the MGF from part (a) [okay, I admit this is a little tedious, but is good at getting you to perform. the chain rule carefully] find the mean and variance of X. Answer: E(X) = p/1 , V ar(X) = p2/1 − p .

8. Follow-up to question 7. Sometimes the Y ∼ geometric(p) rv is thought of as the number of failures before the first success, so that Y = X − 1, where X is the trial of the first success.

(a) Using the fact that Y = X − 1 and, maybe the result of a previous problem on this assignment, easily compute E(Y ) and V ar(Y ).

(b) Using the result of problem 7 and the fact that Y = X − 1, easily derive the MGF of Y . Hint: E(e θY ) = E(e θ(X−1)) and you know the MGF of X...

The point of this problem is so that you understand that a geometric rv has both of these interpretations and, consequently, the mean is different (but the variance is not). A similar statement can be made about the different interpretations of the negative binomial rvs.






热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图