[Gretl-devel] 'seed'

Ignacio Diaz-Emparanza ignacio.diaz-emparanza at ehu.es
Thu Aug 31 06:05:58 EDT 2006



> 
> set seed 3
> genr norm=normal()
> set seed 3
> genr norm2=normal()
> print norm norm2 --byobs
> 
> and you get
> 
>      Obs          norm        norm2
> 
>     1:01      1.232701     1.232701
>     1:02     -1.862191    -1.862191
>     1:03      1.277692     1.277692
>     1:04      0.033582     0.033582
> 

Well, this was the result I expected also from the GUI dialog box, as in
the second generation, in the box for "seed" remained the "3" from the
previous one, so I thought I was setting also the seed to "3".





More information about the Gretl-devel mailing list