Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: svy: tabulate - with subpopulation for only one variable


From   Steve Samuels <[email protected]>
To   [email protected]
Subject   Re: st: svy: tabulate - with subpopulation for only one variable
Date   Tue, 12 Nov 2013 17:10:58 -0500

Short answer: If the second tabulate is restricted to a subpopulation, then, for
a combined analysis, the first should also be restricted, so:

************************
svy, subpop(z): tab x y
***********************

Steve


On Nov 12, 2013, at 10:48 AM, Jason Murray wrote:

Dear all,

I am working with complex survey data and I am interested in code that
would handle a situation in which one of my variables in the two-way
table needs a subpopulation but not both.

For combining the following two tabs...
svy: tab x
svy, subpop(variablez): tab y

I am interested in combining x and y in a two-way tabulate so that I
can perform a post estimation (equivalent to Mcnemar) as described by
the very helpful post from Steve Samuels

Any thoughts would be very much appreciated.
Thank you,
Jason
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index