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.
Question 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). -
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?
Trending now
This is a popular solution!
Step by step
Solved in 4 steps