Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Jan Bryla <JBR@finansraadet.dk> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: opreg and levpet not working |
Date | Tue, 1 Mar 2011 15:39:11 +0100 |
Jerry, Regarding the -levpet- procedure I encountered something similar, but it turned out that the reason was that I had not placed the nllp_bs_gmm.ado file in the appropriate directory. Placing it in ".../ado/plus/n" did the trick. I haven't encountered the problem with -opreg- to which you are refering - sorry! Hope this helps Jan Bryla The Danish Bankers Association -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Jerry Slice Sent: 1. marts 2011 04:55 To: statalist@hsphsun2.harvard.edu Subject: st: opreg and levpet not working I'm trying to estimate a production function using opreg to control for selection, and levpet without the selection control. Using Stata 11.1, I get the following error on both of them: (levpet) no observations error #2000 occurred in program nllp_bs_gmm (opreg) no observations an error occurred when bootstrap executed opreg The commands I am using are: opreg sales, exit(exit) state(cap) proxy(inv) free(emp) levpet sales, free(emp) proxy(inv) capital(cap) revenue I have no missing data values, so I don't understand what the issue is here. There are no mis-casts as strings, and everything is properly formatted. Does anyone know how to fix this issue? Thanks, Jerry * * 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/