The ID varible is unique to each patient, and identifies them. The X
variable is a metric for each day. I want to test all the observations in
this dataset to see (1) how they performed during caertain time periods
(i.e. how any patient's X changed between the period 7/2/05-7/4/05, etc).
First I have to somehow screen for that. If they were in the given date
range, then I have to calculate the percentage change in X. Also, I want to
calculate the percentage change in X for each observation (as identified by
the variable ID). The trouble I am having is that the trial periods are of
different lengths. Any help would be appreciated!