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: nokey for spearman


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index