[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: tabulating variables: question
I have a variable, myx, which has 5 possible values. I have used
-bysort group: myx- to tabulate myx by the group indicator. It works
well, except that, because some of the groups do not have all the 5
possible values of myx, tables of these groups contain less than
For my particular need, I wish that for these groups Stata would
still tabulate all the 5 values of myx, putting 0 as the Freq. and
Percent for the values of myx that are missing in the particular
Is there an easy way to do this? I looked at the help of -tabulate-,
-tabi-, -tab1-, and -tab2-, but did not find solutions.
Thanks in advance.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
* For searches and help try: