Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Using weights for Pearson correlations


From   "Mosi A. Ifatunji" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Using weights for Pearson correlations
Date   Sun, 24 Jul 2005 19:00:26 -0500

All,

How do I use weights when conducting Pearson correlations? I have tried
placing the weight syntax in three places:

pwcorr x1 x2 x3 [pw=weight], if....

pwcorr x1 x2 x3, [pw=weight] if....

pwcorr x1 x2 x3,  if.... [pw=weight]

In each one of these cases the syntax has failed.

Any suggestions on running weighted Pearson correlations?

M.


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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index