1. Homepage
  2. Programming
  3. CSCI 2244 Randomness and Computation - PS4: Conditional Probability, Poisson Distribution and Benford’s Law

CSCI 2244 Randomness and Computation - PS4: Conditional Probability, Poisson Distribution and Benford’s Law

Engage in a Conversation
Boston CollegeCSCI 2244Randomness and ComputationConditional ProbabilityPoisson DistributionBenford’s Law

CSCI 2244.02 Fall 2023 PS4 Instructor: Shang-En Huang CourseNana.COM

Problem Set 4 CourseNana.COM

Release Date: September 20, 2023. Due at: 10pm EDT, September 27, 2023. CourseNana.COM

General Instructions. The purpose for having these problem sets is to enhance your mathematics and programming skills when it comes to the probability theory. These problems may be quite challenging, so discussions with classmates are encouraged. However, I strongly suggest you spend at least half an hour thinking on the problems individually before discussing. Although discussions (and consulting to ChatGPT and WolframAlpha) are allowed, you need to write the solution using your own words by yourself. Please acknowledge any person or references that you discuss with or consult from. CourseNana.COM

1 Conditional Probability (4 points) CourseNana.COM

Consider the random experiment that keep tossing a coin forever. For any integer k, l N. Let Xk be the total number of coins tossed whenever the k-th HEAD shows up. Let Sl be the total number of HEADs during the first l coin tosses. CourseNana.COM

(a) (b) CourseNana.COM

(c) (d) CourseNana.COM

(1 point) For any two integers s and t such that 1 s < t, find (and explain) the conditional probabilityP(X1 =s|X2 =t). CourseNana.COM

(1 point) For any two integers s and t such that 1 s < t, find (and explain) the conditional probability P (X100 = t | X99 = s). CourseNana.COM

(1 point) Find (and explain) P (S100 = 5 | X5 = 100). (1 point) Find (and explain) P (X5 = 100 | S100 = 5). CourseNana.COM

2 Poisson Distribution (4 points) CourseNana.COM

Let X be a Poisson random variable with parameter λ. CourseNana.COM

(a) (3 points) Let t 0 be an integer. What value of λ maximizes the probability P (X = t)? Find and explain your answer. CourseNana.COM

(b) (1 point) Show that P(X is even) = 1(1 + e2λ). (Hint: How did we prove P n  = 2n1?) 2 k0 2k CourseNana.COM

3 Other Distributions (4 points) CourseNana.COM

(2 point) (Similar to Banach’s matchbox problem) You have two empty urns, and each urn has a capacity of exactly N balls. Each day you throw a ball into one of the urn, uniformly at random. On the day where exactly one of the urn becomes full, what is the distribution on the number of balls in the other urn? CourseNana.COM

(2 points) Using the definitions of Xk and Sl from the first problem, argue that for any pair of integers k and l: CourseNana.COM

P(Xk >l)=P(Sl <k).
Remark: Xk is actually a negative binomial distribution and Sl is actually a binomial distribution. CourseNana.COM

Weekly Quiz 4 (4 points) CourseNana.COM

Please complete weekly quiz 4 on Canvas. CourseNana.COM

Programming Assignment 4: Benford’s Law (4 points) CourseNana.COM

Please complete PA4.ipynb and submit it to Canvas.  CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Boston College代写,CSCI 2244代写,Randomness and Computation代写,Conditional Probability代写,Poisson Distribution代写,Benford’s Law代写,Boston College代编,CSCI 2244代编,Randomness and Computation代编,Conditional Probability代编,Poisson Distribution代编,Benford’s Law代编,Boston College代考,CSCI 2244代考,Randomness and Computation代考,Conditional Probability代考,Poisson Distribution代考,Benford’s Law代考,Boston Collegehelp,CSCI 2244help,Randomness and Computationhelp,Conditional Probabilityhelp,Poisson Distributionhelp,Benford’s Lawhelp,Boston College作业代写,CSCI 2244作业代写,Randomness and Computation作业代写,Conditional Probability作业代写,Poisson Distribution作业代写,Benford’s Law作业代写,Boston College编程代写,CSCI 2244编程代写,Randomness and Computation编程代写,Conditional Probability编程代写,Poisson Distribution编程代写,Benford’s Law编程代写,Boston Collegeprogramming help,CSCI 2244programming help,Randomness and Computationprogramming help,Conditional Probabilityprogramming help,Poisson Distributionprogramming help,Benford’s Lawprogramming help,Boston Collegeassignment help,CSCI 2244assignment help,Randomness and Computationassignment help,Conditional Probabilityassignment help,Poisson Distributionassignment help,Benford’s Lawassignment help,Boston Collegesolution,CSCI 2244solution,Randomness and Computationsolution,Conditional Probabilitysolution,Poisson Distributionsolution,Benford’s Lawsolution,