由买买提看人间百态

topics

全部话题 - 话题: 77821178
(共0页)
g******7
发帖数: 1433
1
来自主题: Statistics版 - A question in splitting dataset
I have a dataset, and I want to randomly split it into two datasets.
For example,
Obs Policy #
1 67
2 67
3 67
4 78
5 78
....
10000000 77821178
10000001 77821178
10000002 77821178
I want all the same (unique) policy# in one splitted dataset (like all the
67 in first dataset), not in both of splitted datasets(like obs 1 in
dataset1, obs 2 in dataset2), how would I do that in SAS?
Sorry that i cant type chinese,
Thanks!
(共0页)