Statalist


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

Re: st: corr_svy & covariance matrix for survey data


From   Nick Winter <nwinter@virginia.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: corr_svy & covariance matrix for survey data
Date   Fri, 03 Oct 2008 14:32:02 -0400

Ah, indeed. In this regard -corr_svy- acts like Stata's -correlate-, as of when -corr_svy- was written.

Note that if you want the matrix of correlation coefficients only--and don't care about the p-levels--you can simply use -correlate- with aweights, which is how -corr_svy- gets the point estimates.

-NW

Steven Samuels wrote:

Not wrong answers, Nick. I mean that -corr_svy- does not provide the the correlation matrix in the ereturn list. My phraseology was incorrect. I apologize.

-Steve
On Oct 3, 2008, at 9:34 AM, Nick Winter wrote:


Can you give an example or -corr_svy- giving wrong answers?

Steven Samuels wrote:

In Stata V 10 Version 10.1 corr_svy does not return the proper correlation matrix, at least for p>2 dimensions.
*
*   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/
--
--------------------------------------------------------------
Nicholas Winter                                 434.924.6994 t
Assistant Professor                             434.924.3359 f
Department of Politics                  nwinter@virginia.edu e
University of Virginia          faculty.virginia.edu/nwinter w
PO Box 400787, 100 Cabell Hall
Charlottesville, VA 22904

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