The Biostatistician working on this project requires the ‘DesatsLong.sas7bdat’ SAS® dataset be further simplified into the following longitudinal structure:
ID Week NumDays SumOfDesats AvgDesats
Codebook for the simplied SAS® dataset:
ID = Unique Subject Identifier
Week = ‘Week’ represents which week it is (a numeric value) when classifying the 84 days into several weeks.
NumDays = ‘NumDays’ represents the number of days corresponding to each week where the desaturation episodes were measured (and not missing).
SumOfDesats = ‘SumOfDesats’ represents the total number of desaturation episodes corresponding to each week.
AvgDesats = ‘AvgDesats’ represents the average number of desaturation episodes corresponding to each week.