Add 10 buttons to enhance SAS 9.3 environment
One striking change in SAS 9.3 is that everything is HTMLized. Adding user-defined buttons to the toolbar of SAS’s windowing environment would make coding more efficient. 1. Clear log and result The...
View ArticleA test to count missing values for large data
This morning Rick introduced how to count the missing frequencies for all variables in a dataset, including character and numeric variables. He provided two solutions by either PROC FREQ or PROC IML. I...
View ArticleA test to count missing values for large data
This morning Rick introduced how to count the missing frequencies for all variables in a dataset, including character and numeric variables. He provided two solutions by either PROC FREQ or PROC IML. I...
View ArticleA test to count missing values for large data
This morning Rick introduced how to count the missing frequencies for all variables in a dataset, including character and numeric variables. He provided two solutions by either PROC FREQ or PROC IML. I...
View ArticleRick Wicklin’s 195th blog post
Today I ran a SAS routine to check the KPIs for a few websites I am interested in. I accidentally found the total number of posts on Rick Wicklin’s blog is going to approach 200 pretty soon. I followed...
View ArticleRick Wicklin’s 195th blog post
Today I ran a SAS routine to check the KPIs for a few websites I am interested in. I accidentally found the total number of posts on Rick Wicklin’s blog is going to approach 200 pretty soon. I followed...
View ArticleRick Wicklin’s 195th blog post
Today I ran a SAS routine to check the KPIs for a few websites I am interested in. I accidentally found the total number of posts on Rick Wicklin’s blog is going to approach 200 pretty soon. I followed...
View ArticleMerry Christmas!
Just for fun. data cars; set sashelp.cars; length label $10.; keep invoice weight enginesize type label; if _n_ = 1 then label = 'Merry'; if _n_ = 50 then label = 'Christmas'; run; proc sgplot data =...
View ArticleValentine’s Day
Happy Valentine's Day! data one; do t = 1 to 3*constant("pi") by 0.05; x = 16*sin(t)**3; y = 13*cos(t) - 5*cos(2*t) - 2*cos(3*t) - cos(4*t); output; end; run; data two; set one; if _n_ = 70 then label...
View ArticleMahalanobis distances on a heat map
I just learned Mahalanobis distance from Rick’s blog post yesterday, and realized its significance in detecting outliers. One of SAS’s online documents shows how to use PCA method to find Mahalanobis...
View Article