Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Cramers V with weighted data


From   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: Cramers V with weighted data
Date   Fri, 8 Aug 2008 12:21:46 -0400

-svyset- the data with pweights equal to your weight. Run -svy: tabulate- and divide the uncorrected Pearson Chi Square statistic by the sample size. You can program this by dividing the returned scalar e(cun_Pear) by the scalar e(N)

gen crV= e(cun_Pear)/e(N)

-Steve

On Aug 8, 2008, at 11:38 AM, Thomas Lux wrote:


How can i get cramers V with weighted data (non-integer weights)?

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verf�gt �ber einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com

*
* 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/

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index