Question: (a) Hand in a R script that calculates the mean and variance of two random variables X~F(m=2,n=5) and Y~F(m=10,n=5) from their density functions. #It specifically
(a) Hand in a R script that calculates the mean and variance of two random
variables X~F(m=2,n=5) and Y~F(m=10,n=5) from their density functions.
#It specifically says "from the density functions". This is a continuous distribution, so you should integrate the respective formulas to find the expected value and variance.
# Wrong to use rf(....)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
