[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: descending sort with svy: tab
This is probably too simple to post, but I'm nearing a deadline and am
not making progress on my own.
I have a large data set with ICD-9 diagnostic information. I want to
locate the most frequently listed ICD-9 codes by several sub-groups.
The data are from a complex survey design, so the svy commands are
warranted. However, I cannot seem to translate:
tab var1 if var2==1, sort
svy, subpop(var2): tab var1, sort
Any ideas? I'm working with STATA 9.0
* For searches and help try: