On Tue, 14 Jun 2016, Allin Cottrell wrote:
In general, built-in functions don't print anything, so it would
be the code
that calculates tau and its associated z-value that would have to be hooked
up; printing would be skipped.
There are two ways we could give access to Kendall's tau and Spearman's rho:
we could add a third, optional argument to the corr() function to select a
variant other than Pearson, or we could add a --quiet option to the "corr"
command and make it store $test and $pvalue, so you could use it in
function-like mode.
I'd fabvour the former (third optional argument).
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------