egen xres = resample(x)
creates a new series xres that is a random sample of x. options would include:
1. with or without replacement (, permute)
2. resample in blocks of integer N (, block(N))
3. includes or exclude missing values (, dropna)
4. weights options
5. a similar command to resample an entire matrix
-summ- for matrices
-
Login or Register
- Log in with
Leave a comment: