Info
この質問は閉じられています。 編集または回答するには再度開いてください。
probability of mass function
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Exercise # 2:  Plot the probability mass function (PMF) and the cumulative distribution function (CDF) of 3 random variables each following (1) binomial distribution [p, n], (2) a geometric distribution [p], and (3) Poisson distribution [𝜆]. You have to consider two sets of parameters per distribution which can be chosen arbitrarily. The following steps can be followed:   Step 1: Establish two sets of parameters of the distribution: for Geometric and Poisson distributions  take two values of p (p1 and p2) and take two values of [𝜆], (𝜆1 and 𝜆2) respectively. For the binomial you should take two values of p and two values of n, first keep p fixed and change n, in the second keep n fixed and change p.  Step 2: Generate the random variables (at least 10 values) [column 1]  Step 3: Calculate the PMF [column 2] and CDF [column 3]  Step 4: Plot the PMF and CDF in different graphics (It is recommended to combine the graphics while changing the parameters).  Comment on how the parameters values affect the distribution.
1 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

