calc_robust_Var: Function to calcualte the robust variance of E(Gij|Dij) for...

Description Usage Arguments Value

Description

Use formule Var(X)=E(X^2)-E(X)^2 to calculate the variance of genotypes. It is called from RVS_asy,RVS_btrap, and calc_ScoreV_RVS.

Usage

1

Arguments

P

the genotype frequency, calcualted from EM algorithm

Value

the Robust variance of E(Gij|Dij)


Struglab/RVS documentation built on May 9, 2019, 3:11 p.m.