From | "Anek Stata" <[email protected]> |
To | [email protected] |
Subject | st: Tabulate, different results |
Date | Wed, 10 Nov 2004 02:43:00 +0000 |
Greetings everyone,
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?
1st command)
. sort variable1;
. by variable1: tabulate variable2 [aweight];
2nd command)
. tabulate variable2 variable1 [aweight];
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |