calc_bic | R Documentation |
Calculate BIC
calc_bic(loglik, df, n)
loglik |
Numeric vector with loglikelihood values |
df |
Numeric vector with degrees of freedom (number of parameters) |
n |
Numeric with sample size |
Numeric vector with BIC values
bic <- calc_bic(c(-40, -35), c(2, 1), 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.