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

st: RE: xcorr etc


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: xcorr etc
Date   Sat, 20 Dec 2003 17:07:20 -0000

Indeed. In fact StataCorp might also
add "numeric" just in case users try
to cross-correlate string variables,
so that they are informed properly
of their error; this isn't Allan's
problem, but it might be somebody
else's.

Nick
n.j.cox@durham.ac.uk

Allan Reese

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

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