Description Usage Arguments Value
View source: R/univariate_models.R
Calculate the negative log-likelihood for an ordinal model
1 | calc_neg_log_lik_ord(th_v, x, v, mod_spec, tf_cat_vect = NA)
|
th_v |
The ordinal parameter vector [b,tau,beta] |
x |
The vector of independent variables |
v |
The vector of ordinal responses |
mod_spec |
The model specification |
tf_cat_vect |
(Optional) The transformation category vector to transform th_v to a constrained representation |
The negative log-likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.