Description Usage Arguments Value Methods (by class) Author(s)
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.
1 2 3 4 5 6 7 | calc_estimate_true_var(x, ...)
## Default S3 method:
calc_estimate_true_var(x, individual_var, force_pos_def = T, ...)
## S3 method for class 'rmult'
calc_estimate_true_var(x, individual_var, force_pos_def = T, ...)
|
x |
a matrix of data |
... |
... |
individual_var |
a matrix of cell-wise uncertainties, corresponding to the entries of 'x' |
force_pos_def |
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
Solveig Pospiech, K. Gerald v.d. Boogaart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.