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]

st: nokey for spearman


From   "Lachenbruch, Peter" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: nokey for spearman
Date   Mon, 9 May 2011 09:50:39 -0700

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 t= he tab command I can suppress the key with the nokey option.  It doesn't work for spearman.  Here is the command and here is one piece of output:

. foreach v of varlist swlsc1 dzactvas skinactp cmasxt dzactpt totalvas proximal finchaq ckp aldp extramusc_global extramusc_globale{
  2. disp _newline "variable is " "`v'"
  3. spearman  `v' voicesc1 if group=3D=3D1,stats(rho obs p)
  4. disp _newline "diadocho etc. present"
  5. spearman `v' diadocho Artic voice_quality if group=3D=3D1 & diadocho<.= ,stats (rho obs p)
  6. }
variable is swlsc1
 Number of obs =3D     104
Spearman's rho =3D       0.3044
Test of Ho: swlsc1 and voicesc1 are independent
    Prob > |t| =3D       0.0017
diadocho etc. present
+-----------------+
|  Key            |
|-----------------|
|   rho           |
|   Number of obs |
|   Sig. level    |
+-----------------+
             |   swlsc1 diadocho    Artic voice_~y
-------------+------------------------------------
      swlsc1 |   1.0000
             |       27
             |
             |
    diadocho |   0.3283   1.0000
             |       27       27
             |   0.0946
             |
       Artic |   0.1605   0.0331   1.0000
             |       27       27       27
             |   0.4239   0.8697
             |
voice_qual~y |   0.3685   0.2296   0.1424   1.0000
             |       27       27       27       27
             |   0.0586   0.2493   0.4787
             |

thanks for any help.  Or is this something for the to-do list

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001



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