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

st: xcorr etc

From   Allan Reese <>
To   Stata distribution list <>
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:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index