Hi,
Apologies if this is a repeat but can't find the answer searching.
I'm very new to SAS and have inherited a large data set to analyse.
The data is medication records in an Excel sheet. 1000 patients, with up to 15 years data for each.
Some data which should have been collected is missing - this is labelled '.'
However, some data is not recorded 'deliberately' eg because the patient died / was discharged. These observations are labeled '88'.
In the analysis I need to account for data which should have been collected, but the '88' values need to be ignored.
Does anyone have any suggestions as to how I can tell SAS not to include these observations in any analysis?
Many thanks,
Jim