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: corr_svy output format


From   Robert A Yaffee <[email protected]>
To   [email protected]
Subject   Re: st: corr_svy output format
Date   Fri, 26 Mar 2010 23:11:27 -0400

Stas,
   Many thanks.  I'll give that a try.
     - Bob

Robert A. Yaffee, Ph.D.
Research Professor
Silver School of Social Work
New York University

Biosketch: http://homepages.nyu.edu/~ray1/Biosketch2009.pdf

CV:  http://homepages.nyu.edu/~ray1/vita.pdf

----- Original Message -----
From: Stas Kolenikov <[email protected]>
Date: Friday, March 26, 2010 5:11 pm
Subject: Re: st: corr_svy output format
To: [email protected]


> You could probably produce a file of arbitrary width with
>  
>  file open myfile using corr_output.txt, text write replace
>  unab varlist : [list of independent variables]
>  forvalues i=1/`: word count `varlist'' {
>    file wirte myfile "``i''" _col(12) " | "
>    forvalues j=1/`i' {
>      corr_svy ``i'' ``j'' [whatever options need to go here]
>      file write myfile %6.3f ( r(rho) ) " "
>    }
>    file write _n
>  }
>  file close myfile
>  type corr_output.txt
>  
>  On Fri, Mar 26, 2010 at 2:47 PM, Robert A Yaffee <[email protected]> 
> wrote:
>  > Hi,
>  >    One of my students is using corr_svy, which forms a matrix of
>  > correlations among independent variables in a model.  However,
>  > when the number of variables gets up around 18, the formatting
>  > of the correlation matrix wraps around.  Unfortunately, this
>  > makes the output matrix quite difficult to read.  Does anyone
>  > have a version of this program would fit onto
>  > a linesize of 80?
>  >    Thanks,
>  >        Bob
>  > Robert A. Yaffee, Ph.D.
>  > Research Professor
>  > Silver School of Social Work
>  > New York University
>  >
>  > Biosketch: http://homepages.nyu.edu/~ray1/Biosketch2009.pdf
>  >
>  > CV:  http://homepages.nyu.edu/~ray1/vita.pdf
>  > *
>  > *   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/
>  >
>  
>  
>  
>  -- 
>  Stas Kolenikov, also found at http://stas.kolenikov.name
>  Small print: I use this email account for mailing lists only.
>  
>  *
>  *   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/
>  

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