To get the unique values of all variables in one dataset, you can use the following SAS code:

proc sql;
select distinct *
from your_dataset;
quit;

This code will select all distinct values across all variables in the 'your_dataset' dataset. You can replace 'your_dataset' with the name of your dataset.

SAS Code to Find Unique Values for All Variables in a Dataset

原文地址: https://www.cveoy.top/t/topic/ovsf 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录