Random Sample Selection

May 9, 2010
By

Last week my manager asked me to randomly pick 10%observations from a large data set and then create a listing so that the Data management programmers can QC the data. I want to share some thoughts here … how easy and simple to do random sampling. ...
Read more »

It’s the added value that counts

May 7, 2010
By

Welcome to SAS Training Post, the official blog of SAS Training & Certification! My name is Michele Reister and I am the social media manager for SAS Education. This blog will be a channel to provide you with value-add educational content t...
Read more »

K-Nearest Neighbor in SAS

May 5, 2010
By

K-Nearest-Neighbor, aka KNN, is a widely used data mining tool and is often called memory-based/case-based/instance-based method as no model is fit. A good introduction to KNN can be find at , or @ Wiki. Typically, KNN algorithm relies on a soph...
Read more »

Next Project: Regularized Logistic Regression

May 5, 2010
By

L1 Regularized Logistic Regression effectively handles large number of predictors and serves variable selection simultaneously. indicates that L1 RLR can be implemented via IRLS-LARS algorithm. You can tweak PROC GLMSELECT in v9.2 for this. L2 R...
Read more »

Repeating a line of data

May 4, 2010
By

Repeating a line of a data set for each line in another Suppose you want to access the same information in every line of a data set, and that this information is data-dependent.  For example, suppose you want to add the 25th, 50th, and 75th per...
Read more »

Hey Look: There’s Log In

May 3, 2010
By

We are working on some changes to support.sas.com that I'll talk about here over the next few weeks. We tried to squeak a few in before leaving Cary for SAS Global Forum. If you didn't see these on the demo floor, let me point them out now. Thes...
Read more »

Conduct R analysis within SAS

April 30, 2010
By

%macro RScript(Rscript); data _null_; file "&Rscript"; infile cards; input; put _infile_; %mend; %macro CallR(Rscript, Rlog); systask command "C:\Progra~1\R\R-2.8.0\bin\R.exe CMD BATCH --vanilla --quiet ...
Read more »

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 »

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.