Statalist


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

st: Comparing frequencies with pweight


From   Erick Guerrero <erickg@uchicago.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Comparing frequencies with pweight
Date   Fri, 14 Nov 2008 09:52:33 -0600

Hi, I need code for Stata to do descriptives - chi-squares with p-weights and adjust for N.

I am trying to compare percentages between two waves (1995 and 2005) on 618 organizations.

The tab x y, col row chi with pweight (number of clients in each organization) does not work, and when I use fweight gives me an inflated N. What is the proper way to compare these frequencies in organizations and weight by number of clients and adjust for N in stata?

Thanks,


Erick
*
*   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   |   What's new   |   Site index