## Replace Missing Values with Zero

Missing values are part of the game when you are dealing with data. This post shows you two different ways of replacing missing values with zero in SAS.

Read MoreDec 29, 2017 | Beginner Tips, Data Manipulation

Missing values are part of the game when you are dealing with data. This post shows you two different ways of replacing missing values with zero in SAS.

Read MoreIn my college days studying mathematical finance, derivative pricing theory was among the hottest of topics. The first model that is usually taught in these classes is the famous Black-Scholes option pricing model. This post shows different ways of computing Black-Scholes prices in SAS.

Read MoreDec 15, 2017 | Linear Modelling, SAS/IML, Statistics

Linear regression is one of the simplest statistical models and is easily fitted in SAS. In this post I present a short explanation of the linear regression model and different ways to fit the model with SAS/STAT procedures and the IML language.

Read MoreDec 8, 2017 | Linear Modelling, Statistics

Knowing your data well is one of the first steps in many statistical applications. Assessing the distribution of single variables is one way of getting to know your data. This post presents an example of doing so with PROC UNIVARIATE.

Read MoreDec 1, 2017 | Beginner Tips, Data Manipulation, Time Series

Dates are everywhere in data science. Whether you are doing statistical analysis, data manipulation or something else in SAS, you will often have to work with date values. Therefore it is important to understand how SAS interprets dates and how to manipulate them correctly.

Read MoreSASnrd.com is my blog, where I write about SAS programming and its applications in data science, graphing and statistical modelling.

I assume that you have at least basic knowledge of the SAS programming language. If not, click the Learn SAS Programming menu, where I recommend basic SAS learning material.

**About me:** I hold a MSc in Math-Economics and I work as an analyst in a Pricing/BI department in a Danish Insurance Company. This site is a spare time project to share SAS knowledge and to keep myself on an steep and ongoing learning curve by continuously sharpening my SAS skills.

You are welcome to contact me through the Contact Form or at SASnrd@SASnrd.com

Recent updates to SAS Grid Manager introduced many interesting new features, including the ability to handle more diverse workloads. In this post, we'll take a look at the steps required to get your SAS Grid Manager environment set up accept

In a scatter plot that displays many points, it can be important to visualize the density of the points. Scatter plots (indeed, all plots that show individual markers) can suffer from overplotting, which means that the graph does not

North Carolina is one of those key "swing states" that might possibly decide a national presidential election. And with such an election coming up next year (2020), I thought I would have a look at the voter registration data to

Just when you think you’ve seen it all, life can surprise you in a big way, making you wonder what else you've missed. That is what happened when I recently had a chance to work with the SAS® Scalable Performance

A moving average is a statistical technique that is used to smooth a time series. My colleague, Cindy Wang, wrote an article about the Hull moving average (HMA), which is a time series smoother that is sometimes used as

Yesterday we had a 'special election' here in NC, to elect new members to the House of Representatives for Congressional Districts 3 and 9. The election got a lot of national news coverage, therefore I thought people might like seeing

Portion of Figure 3 by Bull et al. (Nature, 2019) I often use axis tables in PROC SGPLOT in SAS to add a table of text to a graph so that the table values

I recently had the incredible opportunity to attend **SAS Global Forum** in Dallas as a presenter and New SAS Professional Award recipient. At the conference, I was able to learn more about SAS features and applications, share my knowledge of

SASPy is a powerful Python library that interfaces with SAS and can help with your machine-learning solutions. SASPy was created for Python programmers to leverage the power of SAS within their Python scripts. If you are not familiar with SASPy,