4. Probability Distributions: Practical 4
Combinations of random variables
Generate two random variables #X1# and #X2# from two independent normal distributions #N(1, 4)# and #N(7, 3)#. Take #n = 10# for both variables. Next, create a variable #Y = 2X1 + 3X2#.
Calculate the mean and variance for the combined variable #Y# by applying the theoretical equations for combining random variables and the values for the population parameters of #X1# and #X2#.
The theoretical mean of #Y# is |
The theoretical variance of #Y# is |
Unlock full access