View source: R/estimate_parameters_ks.R
estimate_parameters_ks | R Documentation |
Using maximum likelihood to estimate the parameters of a fitted Kimura distribution to the input sample values that minimizes the KS statistic. It is used to showcase that using the KS statistic to support selection needs extra caution.
estimate_parameters_ks(h)
h |
A vector containig heteroplasmy measurements. Every observation should be in |
The maximum likelihood estimates for a fitted Kimura distribution parameters that minimze the KS statistic of a KS test.
Kostas and Iain, us@example.com
readHeteroplasmyData
# size of the sample
n=50
#generate a random sample of size n from a normal distribution
data_ex=rnorm(n,0.5,0.1)
estimate_parameters_ml(data_ex)
mouseData=readHeteroplasmyData("LE")
mouseData1 = mouseData[which(!is.na(mouseData[,1])),1]
estimate_parameters_ks(mouseData1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.