Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
probability of mass function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Respuestas (0)
La pregunta está cerrada.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!