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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: non linear equation difficulties with nl function evaluation program


From   Carolina Lopez <carolina.univ@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: non linear equation difficulties with nl function evaluation program
Date   Wed, 25 Aug 2010 12:10:49 +0200

OK, so that is my option 4 where I get some "decent" regressions results.

I did start with a simple equation, which converged and gave
significant parameters. But when I extended it to this complete
version, I started finding issues.

The thing is as alpha, k and n are in all my terms, I cannot do (or do
not know how) independent programs that then get built up on one
equation to estimate.

Thanks for your help,
Carolina

2010/8/25 Maarten buis <maartenbuis@yahoo.co.uk>:
> --- On Wed, 25/8/10, Carolina Lopez wrote:
>> The thing is that n is the number of cities were the
>> operator is present using the same type of contract, so it
>> varies by city and year.
>>
>> I already calculated this, and introduced it in the data as
>> a variable, to then simplify estimations.
>
> You can just hard code the name of that variable in your
> evaluator program. Say your variable is called n, than
> you type n whenever you want to use n.
>
> Anyhow, trying to program an equation like that right in one
> go is just not going to be productive. The way to program is
> to take a lot of small steps, rather than one big step. So
> you must start with a much simpler equation, and than
> gradualy expand it till you reach your final equation.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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