Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: xcorr etc


From   Allan Reese <R.A.Reese@hull.ac.uk>
To   Stata distribution list <statalist@hsphsun2.harvard.edu>
Subject   st: xcorr etc
Date   Sat, 20 Dec 2003 11:07:02 +0000 (GMT)

Further to the discussion on counting the number of variables in a list,
here's a small request.  I recently used xcorr (cross correlations of time
series) and throughtlessly typed a string of variables.  The program
returned correlations for just the first two.  It may be that there are
many ado files that would benefit from a minor editing to add parameter
checking, in this case to add (min=2 max=2).  Alternatively, xcorr could
be extended to take more variables and loop to find all pairs.

R. Allan Reese                       Email:     r.a.reese@hull.ac.uk

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index