Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
"Roger B. Newson" <r.newson@imperial.ac.uk> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Spearman correlations with survey data |

Date |
Thu, 08 Nov 2012 18:00:58 +0000 |

somersd x y [pwei=mysampwt], taua tdist transf(z) cluster(mypsu)

I hope this helps. Best wishes Roger Roger B Newson BSc MSc DPhil Lecturer in Medical Statistics Respiratory Epidemiology and Public Health Group National Heart and Lung Institute Imperial College London Royal Brompton Campus Room 33, Emmanuel Kaye Building 1B Manresa Road London SW3 6LR UNITED KINGDOM Tel: +44 (0)20 7352 8121 ext 3381 Fax: +44 (0)20 7351 8322 Email: r.newson@imperial.ac.uk Web page: http://www.imperial.ac.uk/nhli/r.newson/ Departmental Web page: http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/ Opinions expressed are those of the author, not of the institution. On 08/11/2012 17:26, Lachenbruch, Peter wrote:

Amen! In fact, tests on Spearman coefficients are notoriously sensitive to normality. An article by Egon Pearson in Biometrika in the 1970s showed this clearly. Sorry i don't have the reference at hand. Peter A. Lachenbruch, Professor (retired) ________________________________________ From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] on behalf of Nick Cox [njcoxstata@gmail.com] Sent: Thursday, November 08, 2012 1:58 AM To: statalist@hsphsun2.harvard.edu Subject: 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/

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

**Follow-Ups**:**Re: st: Spearman correlations with survey data***From:*Stas Kolenikov <skolenik@gmail.com>

**References**:**st: Spearman correlations with survey data***From:*Lee Grenon <lgrenon@sfu.ca>

**Re: st: Spearman correlations with survey data***From:*Nick Cox <njcoxstata@gmail.com>

**RE: st: Spearman correlations with survey data***From:*"Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>

- Prev by Date:
**Re: st: Fw: Exporting variable labels to an excel worksheet** - Next by Date:
**Re: st: Spearman correlations with survey data** - Previous by thread:
**RE: st: Spearman correlations with survey data** - Next by thread:
**Re: st: Spearman correlations with survey data** - Index(es):