extract_log_lik | R Documentation |
This function extracts the pointwise log-likelihood for a bellreg model.
extract_log_lik(object, ...)
object |
an object of the class bellreg. |
... |
further arguments passed to or from other methods. |
a matrix with the pointwise extracted log-likelihood associated with a bellreg model.
data(faults)
fit <- bellreg(nf ~ lroll, data = faults, approach = "bayes")
loglik <- extract_log_lik(fit)
data(cells)
fit <- zibellreg(cells ~ 1|smoker+gender, data = cells, approach = "bayes", chains = 1, iter = 100)
loglik <- extract_log_lik(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.