loglik_craggiv: Cragg IV likelihood

Description Usage Arguments Value

View source: R/loglik_cragg.R

Description

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.

Usage

1

Arguments

t

a vector of parameters to be maximized. Order should be: covariance matrix elements (leaving out leading 1), then betas, then gammas, then pis.

Value

returns the loglikelihood of the given parameter vector for the dataset.


jackiemauro/hurdleIV documentation built on May 18, 2019, 7:56 a.m.