try:
series y = 0
genr y = y(-1) + randgen(N, 0, 1)
i think using genr is deprecated.
Chris
Von: gretl-users-bounces(a)lists.wfu.edu [gretl-users-bounces(a)lists.wfu.edu]
im Auftrag von Data Analytics Corp. [walt(a)dataanalyticscorp.com]
Gesendet:
On Tue, 6 Oct 2009, Alan G Isaac wrote:
> Is it true that `genr` is deprecated? The command reference uses
> it all over the place. In contrast, `series` is not even documented.
No, "genr" isn't exactly deprecated. It's convenient to have a
generic name for "generating a new variable" and
Is it true that `genr` is deprecated? The command reference uses
it all over the place. In contrast, `series` is not even documented.
Well ok, the command reference is a few years old, but even the
recent Guide refers to `genr`, not to `series`.
Finally, can I assume `series` is just an alias
> On Mon, 5 Oct 2009, Data Analytics Corp. wrote:
> > I need to do a simple thing which seemed to work before, but now it's
> > not. Suppose I have a work space with the S 500 closing numbers by
> > month. I now want to create a random walk. I used
> >
> > genr y = 0
> > genr y = y(-1) +
On Mon, 5 Oct 2009, Data Analytics Corp. wrote:
> I need to do a simple thing which seemed to work before, but now it's
> not. Suppose I have a work space with the S 500 closing numbers by
> month. I now want to create a random walk. I used
>
> genr y = 0
> genr y = y(-1) + randgen(N, 0, 1)
>