Info

此问题已关闭。 请重新打开它进行编辑或回答。

probability of mass function

1 次查看(过去 30 天)
Anjoud Alkathairi
Anjoud Alkathairi 2023-4-30
关闭: Cris LaPierre 2023-5-1
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 个评论
the cyclist
the cyclist 2023-4-30
Please read this guide about getting help with homework, and edit your question accordingly.

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by