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

From |
"Nick Cox" <n.j.cox@durham.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: re: combined Correlationmatrix Pearson and Spearman + LaTeX output |

Date |
Wed, 17 Dec 2008 16:11:03 -0000 |

I think you are confusing three quite distinct issues. -correlate-, -pwcorr- and -spearman- all calculate results to machine precision. Each of them has their own choice of display format, which happen to be identical at %7.4f. If you pick up the correlation in r(rho), then what display format you use to print that out elsewhere is up to you. I wonder what use 5th and higher decimal places can be for correlations in any case. Nick n.j.cox@durham.ac.uk René Geppert Still there's one question left to the code: How can I determine the number of decimals the coefficients shall be rounded to? (pw)corr and spearman do not seem to explicitly provide for such an option. * * 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/

**Follow-Ups**:**Re: st: re: combined Correlationmatrix Pearson and Spearman + LaTeX output***From:*René Geppert <geppert.rene@googlemail.com>

**References**:**st: re: combined Correlationmatrix Pearson and Spearman + LaTeX output***From:*Kit Baum <baum@bc.edu>

**Re: st: re: combined Correlationmatrix Pearson and Spearman + LaTeX output***From:*René Geppert <geppert.rene@googlemail.com>

**Re: st: re: combined Correlationmatrix Pearson and Spearman + LaTeX output***From:*René Geppert <geppert.rene@googlemail.com>

- Prev by Date:
**AW: st: AW: RE: estimates use / estread problem** - Next by Date:
**Re: st: scientific notation in tables** - Previous by thread:
**Re: st: re: combined Correlationmatrix Pearson and Spearman + LaTeX output** - Next by thread:
**Re: st: re: combined Correlationmatrix Pearson and Spearman + LaTeX output** - Index(es):

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