Jan's Blog

Author: jvdl

SAS LOCF For Multiple Variables

It is often necessary to replace missing measurements with the closest, previous measurement. This technique is referred to as LOCF (last observation carried forward). In this example, we will create a dataset with 4 columns: subject ID, visit number, body weight, and systolic blood pressure. Thereafter, we will sort the dataset to ensure it is […]

Back to top