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

Re: st: Stata Command for tabulating Kendal and Tetrachoric Correlations


From   "Roger B. Newson" <r.newson@imperial.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Stata Command for tabulating Kendal and Tetrachoric Correlations
Date   Mon, 12 Mar 2012 14:04:37 +0000

The -somersd- package (downloadable from SSC) produces confidence intervals and P-values for Kendall's tau-a (or alternatively for Somers' D). Using the -parmest- package (also downloadable from SSC), you can then make an output dataset (or resultsset) with one observation per estimated Kendall's tau-a parameter and data on parameter estimates, confidence intervals and P-values. These resultssets can then be concatenated, reformatted, reshaped or otherwise modified to produce output tables and/or plots to any format the user likes. The online documentation of -parmest- and -somersd- contains hypertext linking to documents (presentations and articles) describing the use of these packages in greater detail.

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 12/03/2012 13:54, Abekah Nkrumah wrote:
Dear Stata List,

Please does anybody know of a Stata command that I can use to produce
correlation output (Kendal and tetrachoric correlation) into a table.
I found one called mkcorr but it looks like that works mainly for
Pearson correlations. I will appreciate your help on this. Thank you
very much

Gordon

--
**********************************************
Dept. of Public Admin&  Health Serv. Mgt
University of Ghana Business School
P.O. Box LG 78
Legon-Accra
Ghana
Tel: ++ 233 21 500159 Ext. 6247
        ++ 233 21 502258 Ext. 6247
        ++ 233 21 502255 Ext. 6247
Cell: ++233 243 198 313

Email: gankrumah@ug.edu.gh
            ankrumah@gmail.com

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


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