[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: scalars versus temporary variables in MLE
In addition to Nick's excellent diagnosis and advice, I would add the
following. You don't need to do more than one iteration to see that
the two programmes you have provided differ in their logic. If they
truly were the same, they would return the same value of the
loglikelihood function when first called, which they clearly do not.
If you rewrite a program in what you imagine is an innocuous way and
you get a different LLF on first evaluation, you have changed the
Kit Baum, Boston College Economics
On Jun 21, 2006, at 2:33 AM, Deepankar wrote:
I provide both the programs (FIRST PROGRAM has temporary variables;
SECOND PROGRAM has scalars) and output from running them below;
probably someone can throw some light on this perplexing issue.
* For searches and help try: