Compute the mean of the beta distribution with parameters p and q.
Use numeric parameters.
Generate a random sample of size 1000 drawn from the above distribution and compute the sample mean.
Create a -distributed random variable and compute the quadratic mean of .
Verify this using simulation.
Compute the mean of a weighted data set.
Consider the following Matrix data set.
We compute the quadratic mean of each of the columns.