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]

Re: st: Spearman correlations with survey data


From   "Justina Fischer" <JAVFischer@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Spearman correlations with survey data
Date   Thu, 08 Nov 2012 11:25:16 +0100

Any regression is just a form of correaltional analysis (and does not imply causality in general).

In my view, svy: y x (or the other way around) is especially appropriate in case of within-correlation in panels to avoid inflation of standard errors that would occur in case of using a simple correlation command. 
Make sure you et the options right.

Justina

-------- Original-Nachricht --------
> Datum: Thu, 8 Nov 2012 09:58:49 +0000
> Von: Nick Cox <njcoxstata@gmail.com>
> An: statalist@hsphsun2.harvard.edu
> Betreff: Re: st: Spearman correlations with survey data

> Spearman correlation is just Pearson correlation applied to ranks, so
> ranking first (use -egen-) gets you from one to the other. Otherwise
> P-values for correlations are over-rated in my view, whether in -svy-
> contexts or otherwise.
> 
> Others should have comments on the -svy- aspects.
> 
> Nick
> 
> On Thu, Nov 8, 2012 at 5:42 AM, Lee Grenon <lgrenon@sfu.ca> wrote:
> 
> > I am interested in calculating Spearman correlations for complex survey
> data. As I understand, I can calculate Pearson correlations using corr with
> aweight for the coefficients and then calculate the p-values using svy:
> regress y x and svy: regress x y then selecting the larger p-value. Is there
> a way of calculating Spearman correlations using a survey weight and
> bootstrap weights?
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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