Estimation of true group variance incorporating observation wise variances. The function uses the data from x and the individual variances for each observation, for example derived from uncertainties, to calculate a 'true' group variance. The variance of the matrix is corrected for the sum of the individual variances of the data set, which is normalized to the number of rows of the matrix.
calc_estimate_true_var(x, ...)# S3 method for default
calc_estimate_true_var(x, individual_var, force_pos_def = T, ...)
# S3 method for rmult
calc_estimate_true_var(x, individual_var, force_pos_def = T, ...)
a matrix of data
...
a matrix of cell-wise uncertainties, corresponding to the entries of 'x'
force positive definiteness of the new group variances, default TRUE
matrix of corrected group variance
default
: for class matrix or data.frame
rmult
: for class rmult