1. Introduction When you have two data files, you can combine them by merging them side by side, matching up observations based on an identifier. For example, below we have…
Read More
Search Results for: what stat should i use
Missing data in SAS | SAS Learning Modules
1. Introduction This module will explore missing data in SAS, focusing on numeric missing data. It will describe how to indicate missing data in your raw data files, how missing…
Read More
SAS system options | SAS Learning Modules
This module will illustrate some of the system options offered by the SAS system. 1. SAS system options System options are global instructions that affect the entire SAS session and…
Read More
Subsetting data in SAS | SAS Learning Modules
1. Introduction This module demonstrates how to select variables using the keep and drop statements, using keep and drop data step options records, and using the subsetting if and delete…
Read More
Reshaping data wide to long in SAS | SAS Learning Modules
Basic reshaping data wide to long This link will take you to a SAS macro called %tolong for reshaping data from wide format to long format. This link will take…
Read More
Reshaping data long to wide in SAS | SAS Learning Modules
Basic reshaping data long to wide This link will take you to a SAS macro called %towide for reshaping data from long format to wide format. This link will take…
Read More
Reshaping data wide to long using a data step | SAS Learning Modules
There are several ways to reshape data. You can reshape the data using proc transpose or reshape the data in a data step. The following will illustrate how to reshape…
Read More
SAS Class Notes
SAS is a powerful statistical package that runs on many platforms, including Windows and Unix. This class is designed for people who are just getting started using SAS. The students…
Read More
Intro to Generalized Linear Models by Annette J. Dobson, Chapter 2 | SAS Textbook Examples
SAS Textbook Examples Generalized Estimating Equations by James W. Hardin and Joseph M. Hilbe Chapter 2 Model Construction and Estimating Equations Model on page 35 using data set https://stats.idre.ucla.edu/wp-content/uploads/2016/02/ship.sas7bdat. proc…
Read More
Intro to Generalized Linear Models by Annette J. Dobson, Chapter 2 | SAS Textbook Examples
SAS Textbook Examples Generalized Estimating Equations by James W. Hardin and Joseph M. Hilbe Chapter 2 Model Construction and Estimating Equations Model on page 35 using data set https://stats.idre.ucla.edu/wp-content/uploads/2016/02/ship.sas7bdat. proc…
Read More
