Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: _00001 already define error using egen xx=group()
From
Barry Quinn <[email protected]>
To
"statlist ([email protected])" <[email protected]>
Subject
Re: st: _00001 already define error using egen xx=group()
Date
Thu, 29 Sep 2011 11:24:48 +0100
Thanks for swift response to this and apologies for late reply.
Firstly I am using Stata 11.2 which is up to date.
Nick:
Thanks for the work around for my problem
Your test using auto data doesn't produce the above error.
Here are the results from the command you mentioned.
. su insample oneyear
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
insample | 1525 .6557377 .475283 0 1
oneyear | 1525 .4754098 .4995588 0 1
Paul:
Thanks for your work around, which does work.
The problem being that I have estimated average treatment effects for 8 outcome variables across 10 different samples.
Which unfortunately gives me 80 datasets to first and second call in stata.
I agree with Nick that this is a worrying problem and I have also tested it on an older version of stata (11.1) with the same result.
Budgeting constraints mean I cannot get my school to purchase stata 12 licences at present.
Barry Quinn
Lecturer in Finance
Queens University Belfast Tel: 028 9097 4824
Riddel Hall www.qub.ac.uk/mgt
185 Stramillis Road www.barryquinn.com
Belfast [email protected]
Northern Ireland
BT9 5EE
*
* 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/