Calling R From SAS

The statistics literature is filled with example code and sample data in R. Sometimes I find myself wanting to work through some provided sample data and compare the output from R with SAS code. In this post, I’ll show how to connect R and SAS so that you can load and execute R code straight from within SAS. ...

Dec 22, 2023 · 2 min · 268 words · D. Michael Senter

Univariate Missing Data with PROC MI

In Chapter 3 of van Buuren’s Flexible Imputation of Missing Data a variety of methods for imputing univariate missing data are presented. This post will summarize these techniques and show how to implement them in SAS. ...

Aug 13, 2023 · 7 min · 1306 words · D. Michael Senter

Life Expectancy Data

A look at the distribution of age at death based on social security mortality tables to see how long we can expect to be in retirement for.

Sep 2, 2022 · 4 min · 800 words · D. Michael Senter