摘要
本文的目的是帮助读者方便快捷地运用SAS软件中的SURVEYSELECT过程实现随机抽样。首先,对SURVEYSELECT过程及SAS数据集Customers进行了简单介绍。接着,结合简单随机抽样、分层随机抽样和控制排序分层随机抽样,介绍了随机抽样的SAS实现方法。读者只需要修改本文中所呈现的SAS程序中的少量参数,就可很方便地使用SAS软件实现随机抽样任务。事实说明,尽管SAS软件非常难学难用,但借助现成的SAS程序,可以轻松自如地解决很多具体问题。
The purpose of this article is to help readers to use SURVEYSELECT procedure in SAS software to implement random sampling fast and conveniently. Firstly, introducing SURVEYSELECT procedure and SAS data set customers. Then, introducing how to perform random sampling based on SAS combined with simple random sampling, stratified random sampling and control sorting stratified random sampling. The readers can finish their own random sampling task by using SAS software easily through modifying a few parameters in the SAS programs presented in this article. The fact is that despite the SAS software is very difficult to learn and use, but the users can solve many specific problems with a ready - made SAS program.
作者
胡完
胡良平
HU Wan HU Liang - ping(Consulting Center of Biomedical Statistics, Academy of Military Medical Sciences, Beijing 100850, China Specialty Committee of Clinical Scientific Research Statistics of World Federation of Chinese Medicine Societies, Beijing 100029,China)
出处
《四川精神卫生》
2016年第5期391-395,共5页
Sichuan Mental Health