View source: R/likelihoodRatioTest.R
likelihood_ratio | R Documentation |
Hypothesis test for choosing among two densities for fitting data.
likelihood_ratio(f, g, alpha1 = 10^-3, alpha2 = 10^-3)
f |
denominator density, true under H1 |
g |
numerator density, the alternative choice, true under H2 |
alpha1 |
error of choosing H2 when H1 is true |
alpha2 |
error of choosing H1 when H2 is true |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.