How to use the RETAIN statement
In this module we learn about the RETAIN statement. As SAS works one observation at a time and does not carry over any values from one observation to the next, we will learn how we can use the RETAIN statement to allow us to do just that.
We will learn how we can RETAIN a baseline value and calculate the change from baseline for every observation.
Options
Take Test
Certificate