WARNING: You may have unbalanced quotation marks.

April 27, 2010
By

SAS can allow the strings up to 32,767 characters long but some times SAS will write a Warning message ‘WARNING: The quoted string currently being processed has become more than 262 characters long. You may have unbalanced quotation marks.’, when...
Read more »

How to do data cleaning

April 26, 2010
By
How to do data cleaning

1) How to use SAS to merge base and look-up tables ? pro and con?1. array 2. sort-sort-merge;3. proc sql; 4. proc format; 5. hash objectCoding efficiency: 3>2>4>1>5I/O resource: 5>4>1>3>2flexibility: 3>>others2) What are the common methods for large...
Read more »

PROC LOGISTIC: Concordant and discordant

April 25, 2010
By

Description of concordant and discordant in SAS PROC LOGISTIC Part of the default output from PROC LOGISTIC is a table that has entries including`percent concordant’ and `percent discordant’. To me, this implies the percent that would corre...
Read more »

SAS v R: Getting help

April 25, 2010
By

I introduced this series the other day. Next up in the list is “getting help”. In both SAS and R, there are many sources of help. SAS has one that the usual R package does not have – technical support – although if you read the ...
Read more »

How to transpose data

April 25, 2010
By
How to transpose data

"http://www.mitbbs.com/article_t/Statistics/31224273.html"Derive new var in data step --> reshape data in proc transpose --> use proc sql to generate reportdata one;input good P1 P2 P3 P4 P5 P6 P7 P8 P9 P10;if sum(of good-P10)=11 then yes=1;else yes=0...
Read more »

Improve the Boost macro from Prof. Rayens, W and Dr. Johnson, K

April 21, 2010
By

In Chapter 2 of the book "Pharmaceutical Statistics Using SAS: A Practical Guide" (SAS Press), Prof. Rayens, W and Dr. Johnson K. presented their SAS implementation of boost algorithms, including AdaBoost, RealBoost, GentleBoost and LogitBoost. The o...
Read more »

SAS v. R: Ease of learning

April 19, 2010
By

Two days ago, I wrote an introduction to this series. Today, I will discuss ease of learning. Unlike the earlier post (and, I hope, most of the ones to come) this one is inherently subjective. “Ease of learning” is not the same for everyone...
Read more »

SAS vs. R: Introduction and request

April 17, 2010
By

Lately, across the statistical blogosphere, the repeating discussion of R vs. SAS has started up again. In this series of posts, I’ll offer my opinions of the programs, and supply some information. In this post, I introduce the series and say a l...
Read more »

CALL EXECUTE: Easy way to print or sort multiple files.

April 17, 2010
By

When printing multiple files, or sorting multiple datasets, the traditional method is to write multiple steps as below. Proc print data=libref.ae; var _all_; run; Proc print data=libref.conmed; var _all_; run; Proc print data=libref.demog; var _...
Read more »

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.