[Gretl-devel] Questions about the "dataset resample n" command

Allin Cottrell cottrell at wfu.edu
Mon Mar 3 21:40:28 EST 2008


On Mon, 3 Mar 2008, andreas.rosenblad at ltv.se wrote:

> After using the command "dataset resample n" to resample 
> observations with replacement, how does one restore the original 
> full data set?

You can't.  This is not documented yet because I'm not yet sure 
that it's useful, or should be retained.

It can't fall within the usual "smpl" framework, because it may 
create a superset rather than a subset of the original data, 
depending on the value of n.

I tend to think that this is better handled via the resample() 
function as applied to matrices.

Allin.



More information about the Gretl-devel mailing list