
转载sas文章
qq1323362960
这个作者很懒,什么都没留下…
展开
-
Fifty Ways to Lose Your Data (and How to Avoid Them)
<br /><br /><br />Fifty Ways to Lose Your Data (and How to Avoid Them)<br />Linda Jolley and Jane Stroupe, SAS Institute Inc., Cary, NC<br /> <br />This paper groups possible destructive techniques and their<br />solutions into the following categories:<br转载 2011-03-09 19:06:00 · 1860 阅读 · 0 评论 -
对变量批量重命名
这几种方法来自《Renaming in Batches》——Vincent Weng, Educational Testing Service, Princeton, NJYing Feng, CTB/McGraw-Hill, Monterey, CA建立数据/* C转载 2011-03-04 19:47:00 · 6805 阅读 · 0 评论 -
在30天内,有多少病人服用了超过2种药物?
声明:资料来源SAS中文论坛问: 在30天内,有多少病人服用了超过2种药物?SAS数据中的变量有:病人ID, 用药日期以及对应的药名。id date medicine1 2010jan01 a1 2010jan04 a1 2010jan16 a1 2010原创 2011-03-18 22:59:00 · 519 阅读 · 0 评论 -
跟着学作图——SAS/GRAPH® for the Timid
本文摘自:《SAS/GRAPH® for the Timid》——Earl Westerlund, University of Rochester, Rochester, NYABSTRACTSAS/GRAPH is one of the foundation products of SAS®, and an invaluable tool for anybody who needs to原创 2011-03-24 20:11:00 · 1640 阅读 · 0 评论 -
利用ODS和Basic GOPTIONS将表格和多个图形列在一张纸上(转)
Mission Possible: Putting a Table and Multiple Graphs on a Single-Page PDF with ODS and Basic GOPTIONSJennifer S. Harper, Baylor Health Care System, Dallas, TXABSTRACTThe mission:原创 2011-03-17 22:11:00 · 2025 阅读 · 0 评论 -
SAS FUNCTIONS
SAS FUNCTIONSExcerpted from SAS release 8.2 Online DocumentationJuly, 2004Arithmetic FunctionsABS(argument)returns absolute valueDIM(array-name)returns the number转载 2011-10-25 08:59:09 · 1675 阅读 · 0 评论 -
Safely Merging Many Datasets
FromINTRODUCTIONIt is a well-documented behavior that when SAS merges two datasets that share a common variable name, the values of the later variable overwrite those of the former. Consequently,转载 2011-11-22 10:46:40 · 686 阅读 · 0 评论 -
Analyzing Time Series Cross-Sectional Data with the PANEL Procedure
INTRODUCTIONIn recent years, estimation techniques that use time series cross-sectional (panel) data approaches have become widely used. The PANEL procedure in SAS/ETS software fits classes of linea转载 2011-11-07 21:53:49 · 2622 阅读 · 0 评论 -
CALL SYMPUT Routine
CALL SYMPUT(macro-variable,value);macro-variable can be one of the following items:a character string that is a SAS name, enclosed in quotation marks. For example, to assign the转载 2011-12-01 20:06:19 · 2370 阅读 · 0 评论 -
Transposing Data Using PROC SUMMARY'S IDGROUP Option
ABSTRACTWhen clinical data are stored with multiple observations per subject, a common task is to rearrange the data so there is only one observation per subject. That single observation contains al转载 2011-07-27 14:53:00 · 1553 阅读 · 0 评论 -
Multivariate Data Plots
Why plot data?1) Plotting your data should usually be the first done once a data set is ready to be analyzed. The purpose is toa) Look for trends b) Discover unusual observations (out转载 2011-10-26 11:14:36 · 1366 阅读 · 0 评论 -
Using Functions SYSFUNC and IFC to Conditionally Execute Statements in Open Code
Using Functions SYSFUNC and IFC to Conditionally Execute Statements in Open CodeRonald J. Fehd, Centers for Disease Control and Prevention, Atlanta, GA, USA转载 2011-04-11 21:39:00 · 1328 阅读 · 0 评论 -
拟合AR模型的代码
摘自《SAS FOR FORECASTING TIME SERIES》 DATA SILVER;TITLE 'MONTH END STOCKS OF SILVER';INPUT SILVER @@;T=_N_;RETAIN DATE '01DEC76转载 2011-03-22 21:14:00 · 1472 阅读 · 0 评论 -
常用的试验设计方法和SAS程序
摘自:http://www.mysas.net/forum/viewtopic.php?f=4&t=16171.完全随机设计 例1:将10例实验对象随机地分配到A、B两组,先将实验对象按某项特征编号,然后从随机分配(数字)表中任意指定一行,舍掉10―19的数字,规定随转载 2011-03-20 14:52:00 · 4350 阅读 · 0 评论 -
转载—SAS® Fundamentals For Survey Data Processing
<br /> SAS® Fundamentals For Survey Data Processing<br />Renato G. Villacorte, Fairbank, Maslin, Maullin & Associates, Santa Monica, California<br />ABSTRACT<br />This paper offers several programming solutions to problems and challeng转载 2011-03-17 13:48:00 · 1095 阅读 · 0 评论 -
临床试验的统计报表问题:四格表指标统计分析报表的sas宏程序
<br />声明:本文摘自http://www.mysas.net/forum/viewtopic.php?f=4&t=1896<br />一般而言,SAS的输出结果要经过编辑才能成为符合统计学要求的统计图表,而制作统计报告的工作量极大,编辑过程也很易出错。如何利用SAS直接产生用户要求格式的统计报告,是值得研究的问题。 <br /><br />为规范临床试验数据管理 ,简化程序并减少数据统计分析过程中的错误来源 ,有必要研究 SAS中的宏问题,来很好地解决这个问题。 <br /><br />以下参考文献是转载 2011-03-20 20:34:00 · 3798 阅读 · 0 评论 -
SAS Fuction Compiler(FCMP)语句
<br />SAS9.2新增了这个语句,文档里的信息很详细,但要追根溯源的话,SAS Global Forum 2007中一文的应该算上:《User-Written DATA Step Functions》,作者Jason Secosky。从这里可以看到该语句的雏形,也有助于理解现在更完整的FCMP语句。文章主要内容:<br />PROC FCMP<br />PROC FCMP is invoked to create functions and CALL routines. The syntax for原创 2011-03-28 22:32:00 · 4798 阅读 · 0 评论 -
Learning PROC REPORT by Comparison
<br />摘录自:<br />Learning PROC REPORT by Comparison<br />Keith Cranford, Office of the Attorney General of Texas, Austin, Texas<br /> <br />PROC PRINT COMPARISON<br /> <br />SIMPLE LISTING<br />*****PROC PRINT****;<br />title 'Simple Listing' ;<br />proc pr原创 2011-04-12 21:08:00 · 1305 阅读 · 0 评论 -
Data步与Base模块程序
<br />对同一个问题,论坛里面的大牛通常可以给出不同的解决方案。其中,DATA步和BASE模块程序就可以殊途同归。SAS Global Forum 2011中有篇文章对部分情况作了概括,《Choosing the Road Less Traveled: Performing Similar Tasks with either SAS® <br /> DATA Step Processing or with Base SAS® Procedures》 ——Kathryn McLawhorn, SAS I原创 2011-04-15 11:33:00 · 781 阅读 · 0 评论 -
Scalability of Table Lookup Techniques(摘录)
author:Rick Langston, SAS Institute Inc., Cary, NCTHE FIVE TECHNIQUESFor the purposes of comparing resource utilization, we created a SAS data set of key/label pairs that consists ofincrementing numbers from 1 to n, with labels being the number using the Z原创 2011-04-22 20:01:00 · 632 阅读 · 0 评论 -
Some examples about perl expression
详见:http://www2.sas.com/proceedings/sugi29/265-29.pdf ***Primary functions: PRXPARSE, PRXMATCH;/*Program 1: Using a Perl regular expres转载 2011-09-16 16:02:43 · 740 阅读 · 0 评论 -
Reading "Using SAS/IML to Generate Weighted Chi-Square Statistics"
这篇文章逻辑性很强,脉络清晰,这样的思维能力就是所谓的逻辑了吧.文章将计算加权卡方统计量分作12个小环节,具体如下:1.设定矩阵假设存在一药物作用的患者样本,它有K(1,2,...,K)个观测,两种(i,j)处理,,将所有观测数据写成矩阵形式,就可以得到一个K*2的矩原创 2011-09-19 11:49:33 · 905 阅读 · 0 评论 -
读取文件问题
tianwild在其日志中做过详细的记录,题为《读取文件夹下所有相同文件》,链接为http://www.mysas.net/sns/index.php?app=blog&mod=Index&act=show&id=1834&mid=43恰巧,mysas论坛上有一问,不转载 2011-09-23 21:34:35 · 1130 阅读 · 0 评论 -
Techniques for Effectively Selecting Groups of Variables
by---------Stuart Pollack, TNS Healthcare, Blue Bell, PA ABSTRACTSurvey data often contains a large number of variables as each questi转载 2011-08-28 10:27:51 · 459 阅读 · 0 评论 -
Data Step Hash Objects as Programming Tools(2)
A PEEK UNDER THE HOODWe have just seen the tip of the hash iceberg from the outside. An inquiring mind would like to know: What is inside?转载 2011-08-29 15:18:31 · 1161 阅读 · 0 评论 -
Pros and Cons of X command vs. SYSTASK command
ABSTRACTMoving and managing files across a network can be easy or sometimes challenging. There are a few ways to copy and move files acros转载 2011-10-03 12:14:48 · 1179 阅读 · 0 评论 -
分层抽样Selecting a Stratified Sample with PROC SURVEYSELECT
声明:该文作者是Diana Suhr, University of Northern Colorado,摘自SAS Global Forum 2009. AbstractStratified random sampling is simple and efficient using PROC FREQ and PROC SURVEYSELECT. A routine wasde转载 2011-03-12 21:53:00 · 2295 阅读 · 0 评论