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, statalist.org is already up and running.


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

Re: st: RE: levpet


From   Sudeshna Pal <sudeshna.pal@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: levpet
Date   Fri, 30 Jul 2010 15:23:55 -0400

Updating helped.

It's working now!


Thank you.


Sudeshna.

On Fri, Jul 30, 2010 at 1:13 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> Have you fully -update-d official Stata and -levpet- (user-written,
> obtained via -findit-). This example works well for me:
>
>
>
> ***********
> clear*
> set obs 100
> gen byte companyid=_n
> expand 10
> bys companyid: gen int time =_n+1988
>
> tsset companyid time
>
> gen logsales=log(runiform()*10)
> gen logpowerfuel=log(runiform()*10)
> gen loglabor=log(runiform()*10)
> gen logmaterial=log(runiform()*10)
> gen logcapital=log(runiform()*10)
> gen revenue=log(runiform()*10)
>
> levpet logsales, free(logpowerfuel loglabor)  /*
> */  proxy(logmaterial) capital(logcapital) revenue
> ***********
>
>
> HTH
> Martin
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Sudeshna Pal
> Sent: Freitag, 30. Juli 2010 18:39
> To: statalist@hsphsun2.harvard.edu
> Subject: st: levpet
>
> I am working with STATA 10 and trying to use the levpet command in the
> following way:
>
>
>
> tsset companyid year
>       panel variable:  companyid (strongly balanced)
>        time variable:  year, 1989 to 2008
>                delta:  1 unit
>
>
> levpet logsales, free(logpowerfuel loglabor) proxy(logmaterial)
> capital(logcapital) revenue
>
> and I get the following error:
> error #1 occurred in program nllp_bs_gmm
>  error . . . . . . . . . . . . . . . . . . . . . . . .  Return code 196
>        nl___________ refused query, rc= ___________;
>        error # _________ occurred in program nl_________;
>        Your nlfunc program did not work properly with the nl command
>
> Any suggestion as to how to solve this?
>
> --
> View this message in context:
> http://statalist.1588530.n2.nabble.com/levpet-tp5355651p5355651.html
> Sent from the Statalist mailing list archive at Nabble.com.
> *
> *   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/
>

*
*   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