Joint pdf calculation
web.stat.tamu.edu › ~jianhua › stat211-10spJoint pdf calculation Example 1 Consider random variables X,Y with pdf f(x,y) such that f(x;y) = 8 <: 6x2y; 0 < x < 1; 0 < y < 1 0; otherwise.: Figure1. f(x;y)j0 < x < 1;0 < y < 1g Note that f(x;y) is a valid pdf because P (1 < X < 1;1 < Y < 1) = P (0 < X < 1;0 < Y < 1) = Z1 1 Z1 1 f(x;y)dxdy = 6 Z1 0 Z1 0 x2ydxdy = 6 Z1 0 y 8 <: Z1 0 x2dx 9 ...
statistics - Calculating covariance of joint probability ...
https://stackoverflow.com/questions/5062261131.05.2018 · The joint probability mass function is given by the following matrix. joint_pmf <- matrix ( c (4/84, 12/84, 4/84, 18/84, 24/84, 3/84, 12/84, 6/84, 0, 1/84, 0, 0), ncol = 3, byrow = T); We calculate the population means. # For G mu_G <- rowSums (joint_pmf) %*% G; # For R mu_R <- colSums (joint_pmf) %*% R; We can make use of the theorem Cov (X, Y ...