Tuesday, February 28, 2006
RE: st: tables to include columns for observations that are not present
This is true, but the -tabcount- command mentioned earlier does not require any such subterfuge in advance. All the subterfuge is done on the fly.
Christopher W. Ryan > One not-so-stylish solution I had thought of was to use the "fake" > student I have in the database be recorded as seeing one of every > top-ten diagnosis. That way, a column for every top-ten code > would be > generated by a simple -table- command.
> How about a subsitute, something along the line of 999 or > 99 for when a > student has not encountered that condition.
* * 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/
Links to this post: