SAMPLE
Keeps a random sample of cases, using the session’s seeded random number generator.
Syntax
Section titled “Syntax”SAMPLE fraction.SAMPLE n FROM m.Synopsis
Section titled “Synopsis”| Kind | Transformation (pending until data is needed) |
| Body | free-form body |
| Changes data | yes, undoable |
Examples
Section titled “Examples”SET SEED=42.SAMPLE .25.SAMPLE 100 FROM 1000.Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.