|From||"Anek Stata" <email@example.com>|
|Subject||st: Tabulate, different results|
|Date||Wed, 10 Nov 2004 02:43:00 +0000|
I expected to get similar results from the two commands below. However, the resulting frequencies are quite different when one command or the other is used. Would anyone have an explanation for that?
. sort variable1;
. by variable1: tabulate variable2 [aweight];
. tabulate variable2 variable1 [aweight];