Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: nokey for spearman


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: nokey for spearman
Date   Mon, 9 May 2011 18:56:43 +0200

On Mon, May 9, 2011 at 6:50 PM, Lachenbruch, Peter wrote:
> I am doing a lot of spearman correlations with multiple responses and get a  key before each matrix output.  When I do something like this when using the tab command I can suppress the key with the nokey option.  It doesn't work for spearman.

What about the following trick:

sysuse auto, clear
qui  spearman mpg rep78 turn displacement
matlist r(Rho) , format(%9.3f)

So we suppress all output from -spearman- and let -matlist- display
the returned "correlation" table.

Hope this helps,
Maarten

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index