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]

st: FW: Why does this simple code only work some of the time?


From   André Gyllenram <a_gyllenram@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: FW: Why does this simple code only work some of the time?
Date   Tue, 11 Dec 2012 12:33:55 +0100



Hello, 

I have this simple code:

egen test=total(aktievärde), by (lopnr_personnr datum isin)

It works for some data sets, but usually I get this message:

_000001 not found.

If i write egen test=total(aktievärde) i get the same message.

Does anyone know what is wrong?

Kind Regards
André
 		 	   		   		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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