Statistics Problem By Matlab
1A. Matlab.
Let X ~ Binomial (n = 6, p = 0.4)
Randomly generate N = 10000 X-values.
Matlab code: X = random(‘bino’, n, p, [N,1])
Let Y ~ Binomial (n = 8, p = .25)
Randomly generate N = 10000 Y-values.
Let W = X + Y (so in vector form: ????=[????????]=[????????+????????])
Create a normalized histogram of W. Note: possible values of W range from 0 to 14.
Use your results to estimate P(W = 5).
1B. Calculate the true P(W = 5). Note: X and Y are independent.
Compare your estimate in part A to the true probability computed in part B.
8 years ago
20
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- math.m
- PartA.docx
- PartA2.docx
other Questions(10)
- Stages of the Audit Process
- Ethics and Corporate Responsibility
- WORLD RELIGIONS – REL 212 World Religions
- HSAwk3-2
- Operational Human Resource Management Project 1
- CJS 240 Week 9 Final Project Justice System Position Paper
- For Researcher_D ONLY: Individual Project Part 3_ Due 23 Jul 16 @ 2200 (EST)
- 500 word essay
- "Prewriting Techniques and Outlines" Please respond to the following:
- PA301 WK Assignment 2-3 pages