OneTwo | R Documentation |
With a given vector, it performs likelihood ratio test which model - one or two group - is better.
OneTwo(x, alpha=0.05)
x |
a vector of numbers |
alpha |
alpha value for type I error, significance level |
It performs likelihood ratio test using both F distribution and Chi-square distribution (by Wilks' theorem).
Estimate |
n, Mean, SD for each group assumption and prior probability of each group in two group model |
Delta |
delta number of parameters and log-likelihoods |
Statistic |
Statistics from both the F distribution and Chi-square distribtuion. Cutoff is in terms of log-likelihood not the statistic. |
Kyun-Seop Bae k@acr.kr
OneTwo(c(7, 5, 17, 13, 16, 5, 7, 3, 8, 10, 8, 14, 14, 11, 14, 17, 2, 12, 15, 19))
OneTwo(c(5, 3, 0, 6, 5, 2, 6, 6, 4, 4, 15, 13, 18, 18, 19, 14, 19, 13, 19, 18))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.