minus_log_likelihood | R Documentation |
Returns the opposite of the log-likelihood. The likelihood functions are based on Maddala and Nelson (1974) doi: 10.2307/1914215. The likelihoods expressions that the function uses are derived in Karapanagiotis (2020) doi: 10.2139/ssrn.3525622. The function calculates the model's log likelihood by evaluating the log likelihood of each observation in the sample and summing the evaluation results.
minus_log_likelihood(object, parameters) ## S4 method for signature 'diseq_basic' minus_log_likelihood(object, parameters) ## S4 method for signature 'diseq_deterministic_adjustment' minus_log_likelihood(object, parameters) ## S4 method for signature 'diseq_directional' minus_log_likelihood(object, parameters) ## S4 method for signature 'diseq_stochastic_adjustment' minus_log_likelihood(object, parameters) ## S4 method for signature 'equilibrium_model' minus_log_likelihood(object, parameters)
object |
A model object. |
parameters |
A vector of parameters at which the function is to be evaluated. |
The opposite of the sum of the likelihoods evaluated for each observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.