Evaluating Likelihood at Particular Parameter Values

I have estimated a model using ML. I would then like to see how the likelihood changes as I vary the parameters.

If I use the evaluate_likelihood function at the end of the mod file (with the alternative parameter values), it yields a likelihood which is a large negative number, which I take to be a penalty indicating an error.

How else can this be done?


Please provide the codes to replicate the issue