Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: nl command - error#130 expression too long

From   William Buchanan <>
To   "" <>
Subject   Re: st: nl command - error#130 expression too long
Date   Tue, 5 Feb 2013 07:14:48 -0800

Hi Carlotta (or Miguel),

The Statalist FAQ, which you are required to read prior to submitting queries, is explicit about providing your exact commands and Stata's exact output; without this information the question you ask is like attempting to solve 10000 = x + z.  With 177 local macros there are at least 177 places where you might have a macro that is too long or with some other yet to be identified issue.  I'm not sure what exactly you mean by function evaluator (e.g., are you using function in the sense of computer programming lingo - in which case it would be a program in the context of Stata - or do you mean a likelihood evaluator function - in which case you've not told us anything about said evaluator function).  I highly recommend reading the entire FAQ in detail.  There is a lot of extremely helpful information there regarding how to create a question that will likely yield a response and information about using your full real name in your post (it is a bit confusing when your name and th!
 e name in the email address are very different).


Sent from my iPhone

On Feb 5, 2013, at 6:20, Carlotta Schuster <> wrote:

> Hi all,
> I am having a problem with the nl command. I have a long expression I
> want to maximize and therefore I am creating a function evaluator
> program (as I read in another Statalist thread). Still, I keep getting
> the error “error #130 occurred in evaluating expression expression too
> long”. I have 177 locals. Is this a problem? Should in theory the
> function evaluator program work? And if not, any ideas on what I can
> do?
> Thank you very much in advance.
> Best,
> Miguel Ampudia
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index