Returns the likelihood for a Cragg IV. Requires certain parameters to be attached/in the environment. Note that this uses the MG method for the errors, described in cragg_errs. This is following the method worked out with Max.
a vector of parameters to be maximized. Order should be: covariance matrix elements (leaving out leading 1), then betas, then gammas, then pis.
returns the loglikelihood of the given parameter vector for the dataset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.