On Tue, 3 Feb 2009, Allin Cottrell wrote:
On Mon, 2 Feb 2009, Allin Cottrell wrote:
> On overloaded functions, I'll just say, think about writing the
> help entry for the function: if it seems too crazy, give up the
> idea of overloading...
On second thoughts, I'm coming round to the idea of a single
function. What about this:
corrgm(series y, scalar p) ->
p x 2 matrix with ACF and PACF, like the corrgm command
corrgm(series y1, series y2, scalar p) ->
p x 1 matrix with cross-correlogram
I take it you mean 2*p+1 here
We could accept column vectors in place of series.
No proper matrices, then, right?
For the sake of clarity of the interface I don't particularly
like the
idea of accepting list arguments.
[...]
(where the syntax "func(args)[slice]" is newly supported in
CVS).
Oh, this is _really_ nice!
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti