Automate the placement of reference lines in PROC SGPLOT

November 11, 2020
By
Automate the placement of reference lines in PROC SGPLOT

The REFLINE statement in PROC SGPLOT is one of my favorite ways to augment statistical graphics such as scatter plots, series plots, and histograms. The REFLINE statement overlays a vertical or horizontal reference line on a graph. You can specify the location of the reference lines on the REFLINE statement.

The post Read more »

SAS Visual Analytics example: moving average

November 10, 2020
By
SAS Visual Analytics example: moving average

Data visualization has never been more widespread and consumed by a global audience as it has been this year with the Coronavirus pandemic. One visualization that is commonly used to display metrics of Coronavirus is a bar line chart where the bars display the actual values and the line is a moving average metric.

Read more »

How to organize your SAS projects in Git

November 10, 2020
By
How to organize your SAS projects in Git

As you begin managing your SAS code and projects in Git, here are a few guidelines for how to organize your work and collaborate with others.

The post How to organize your SAS projects in Git appeared first on The SAS Dummy.


Read more »

Moving from SAS Enterprise Guide to SAS Studio

November 10, 2020
By
Moving from SAS Enterprise Guide to SAS Studio

If you're a SAS Enterprise Guide user who is looking to move to SAS Studio, there is a lot to like about your new coding environment.

Moving from SAS Enterprise Guide to SAS Studio was published on SAS Users.


Read more »

Robust statistics for skewness and kurtosis

November 9, 2020
By
Robust statistics for skewness and kurtosis

Intuitively, the skewness of a unimodal distribution indicates whether a distribution is symmetric or not. If the right tail has more mass than the left tail, the distribution is "right skewed." If the left tail has more mass, the distribution is "left skewed." Thus, estimating skewness requires some estimates about

The post Read more »

Removing repeated characters in SAS strings

November 4, 2020
By
Removing repeated characters in SAS strings

SAS' Leonid Batkhan explains the data cleansing task of removing unwanted repeated characters in SAS character variables.

Removing repeated characters in SAS strings was published on SAS Users.


Read more »

The expected value of the tail of a distribution

November 4, 2020
By
The expected value of the tail of a distribution

The expected value of a random variable is essentially a weighted mean over all possible values. You can compute it by summing (or integrating) a probability-weighted quantity over all possible values of the random variable. The expected value is a measure of the "center" of a probability distribution. You can

The post Read more »

Tips to simulate binary and categorical variables

November 2, 2020
By
Tips to simulate binary and categorical variables

When there are two equivalent ways to do something, I advocate choosing the one that is simpler and more efficient. Sometimes, I encounter a SAS program that simulates random numbers in a way that is neither simple nor efficient. This article demonstrates two improvements that you can make to your

The post Read more »

The sample skewness is a biased statistic

October 28, 2020
By
The sample skewness is a biased statistic

The skewness of a distribution indicates whether a distribution is symmetric or not. The Wikipedia article about skewness discusses two common definitions for the sample skewness, including the definition used by SAS. In the middle of the article, you will discover the following sentence: In general, the are both biased

The post 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.