On onsdag, feb 26, 2003, at 21:49 Canada/Eastern, Ada Ma wrote:
while `j'<`i' {
replace weirdob[`i']=1 if original[`i']==fake[`j'] &
...
Stata wouldn't do weights. Are there other strategies that
I can employ??
The problem is that Stata does not like explicit indexing on the
left-hand side. I think that what you want is something like
replace weirdob=1 if /*
*/ (original[`i']==fake[`j'] & original[`j']==fake[`i']) in `i'
If you have a lot of observations you better prepare for some waiting
...
Erik
--
Erik �. S�rensen, <http://www.geocities.com/erik_oiolf/>.
phd student (economics), Norwegian School of Economics.
currently visiting Queen's University, Kingston, Ontario.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/