Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Chi2 test on weighted data


From   "Prof. Annelies Blom" <blom@survex.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: Chi2 test on weighted data
Date   Mon, 10 Sep 2012 20:00:12 +0200

Dear all,

I have a quick question which I just don't seem to be able to solve.

I would like to perform a chi2 test on whether two categorical variable are
related. My data are survey data and contain a design weight. Thus, I gathered
that I should use pweights. However, I cannot find any command that lets me
perform a chi2 test on pweighted data.

For example: tabulate does not allow the pweight option and, moreover, does only
allow frequency weights in combination with the chi2 analysis.

What am I missing?

Best,
Annelies

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index