This may be a side-effect of using an accented character in the
variable name. I agree that you would want that to have no effect, but
it's the only detail you are giving that sounds in any sense unusual.
Try
set trace on
set tracedepth 1
before running this command and
set trace off
to tell us where the error occurs.
Nick
On Tue, Dec 11, 2012 at 11:33 AM, André Gyllenram
<a_gyllenram@hotmail.com> wrote:
> 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.
*
* 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/