Hi all please i need to know how to generate a Poisson distributed number using the built-in function (poissrnd).use this command to generate 5000 numbers and use maxlikelihood estimate for poission distribution to complete its means
4 views (last 30 days)
Show older comments
Hi all please i need to know how to generate a Poisson distributed number using the built-in function (poissrnd).use this command to generate 5000 numbers and use maxlikelihood estimate for poission distribution to complete its means
9 Comments
Adam
on 23 Apr 2019
Please don't use flags to respond to comments - they are for highlighting spam or other inappropriate content, not for adding comments.
Accepted Answer
Adam Danz
on 23 Apr 2019
Moved: Sabin
on 23 Dec 2022
That's not how I interpreted part-1 of your problem.
" i need to know how to generate a Poisson distributed number using the built-in function (poissrnd).use this command to generate 5000 numbers "
I suppose you should choose one value for your lambda and create 5000 random poisson numbers based on that single lambda.
lambda = 100;
r = poissrnd(lambda, 1,5000);
histogram(r) %look at the distribution (centered at lambda)

Part-2 of your assigment is to "use maxlikelihood estimate for poission distribution to complete its means"
0 Comments
More Answers (0)
See Also
Categories
Find more on Energy Storage in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!