Skip to contents

The average semivariance (ASV) of the estimation error, \(\Omega\), divided by the ASV of \(\sigma_g^2 A + \Omega\): the part of the variance of the adjusted means, on the genotype-difference basis, that weighting can act on.

Usage

estimation_share(x, sigma2_g = NULL)

Arguments

x

a rotation object.

sigma2_g

the genetic variance on the scale of the relationship matrix. By default the estimate from the rotated model without a marker with the residual variance fixed at one (x$fit$one$vg).

Value

a list of class estimation_share: asv_genetic, asv_estimation, share, sigma2_g, sigma2_g_source.

Examples

ex <- rotationGWAS:::toy_trial(n = 40, n_markers = 60, seed = 2)
r <- rotation(ex$means, ex$Omega, ex$relationship, ex$covariates)
estimation_share(r)
#> Estimation share 0.236: ASV of the estimation error 0.9784 against 3.175 for the genetic part (genetic variance 3.095, rotated model without a marker, residual variance fixed at one)