While aggregating a dataset using collapse some strange results were
obtained:
collapse (sum) aantal, by(opl114)
Did not give the same results as the same dataset gave in other programs.
Checking with
egen oplantal=sum(aantal),by(opl114)
though gave exactly the same (correct) number that other programs gave me.
Can somebody explain to me how the summation (could) differ between collapse
and egen?
Thanks.
--------------------------------------------
Ben Kriechel
Research Centre for Education
and the Labour Market
<[email protected]>
*
* 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/