Write down the pdf as a table of a random variable X∼Binom(2,.3) and the pdf as a table of a random variable Y∼Binom(1,.4). What experiments might you imagine that would lead to consideration of the above? Suppose the variables are independent (meaning any event described using X is independent of any event described using y). Write down a table for the Random Variable Z:=X+Y. Use R to simulate the 2 experiments and Z (provide a pdf of the code and result). Approximate P(Z≤1) using your simulated data. Compare your answer to e) with the information in your table in part c). It should agree, so if it does not, go back and find any error and comment on your process of discovery here. Is Z a binomial random variable? (Hint: If it where, how does P(Z=0) depend on pp and how does the length of the table depend on nn and does the binomial distribution with the parameters that Z must have if it were binomial actually agree with the information in your investigations of Z?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Subparts 1-3 have already been answered! please solve the remaining subparts

Question 1

  1. Write down the pdf as a table of a random variable X∼Binom(2,.3) and the pdf as a table of a random variable Y∼Binom(1,.4).

  2. What experiments might you imagine that would lead to consideration of the above?

  3. Suppose the variables are independent (meaning any event described using X is independent of any event described using y). Write down a table for the Random Variable Z:=X+Y.

  4. Use R to simulate the 2 experiments and Z (provide a pdf of the code and result).

  5. Approximate P(Z≤1) using your simulated data.

  6. Compare your answer to e) with the information in your table in part c). It should agree, so if it does not, go back and find any error and comment on your process of discovery here.

  7. Is Z a binomial random variable? (Hint: If it where, how does P(Z=0) depend on pp and how does the length of the table depend on nn and does the binomial distribution with the parameters that Z must have if it were binomial actually agree with the information in your investigations of Z?

 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman