hstats | R Documentation |
Can enforce an initial h0 or leave as a free parameter. Can can use population or sample statistics. analyticVar offers a simplified version of this function to compute the standard error of the variance.
hstats(h, h0 = F, usepopn = F)
h |
A vector containig heteroplasmy measurements. Every observation should be in |
h0 |
Logical parameter. A particular h0 value Default is to treat h0 as a fit parameter |
usepopn |
Logical parameter. Use of population or sample statistics (T and F, respectively) |
The maximum likelihood for the input data according to the Kimura distribution (using bootstrapping)
X.1 = rnorm(50,0.5,0.1)
hstats(X.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.