Question: please code this on matlab Probability density 3 Chi Squared Density Generate a chi squared random variable by multiplying the sample variance for each column
3 Chi Squared Density Generate a chi squared random variable by multiplying the sample variance for each column (of the matrix from Compare this with the theoretical pdf for v=M1=4 degrees of freedom chi2pdf 0 : p(x)=(/2)(1/2)/2x/21ex/2 The way that the var() command works is to take the sum of the squares of the differences from the estimated mean, and divide by M1. We cancelled with division by M1 when we multiplied by (M1)/2. This generated a chi squared random variable of M1 degrees of freedom. Also generate a chi squared random variable with M degrees of freedom. This time take the sum of the squares of the differences from the true mean. We then divide by 2. Compare this with the theoretical pdf for =M=5 degrees of freedom
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
