I would like to compare weight gain in my cohort of babies at different stages, e.g. before and after stoma closure. I have 20 patients (17 survivors) listed by record_id. Each has a set of data that was checked at 6-14 day intervals. The relevant variables that need to be incorporated are:
record_id
wtgainperday (weight gain per day)
ageweight (recording the age in days that weight gain was calculated)
ageclos (the age of baby when stoma closed NB there may not be a weight gain per day calculation on the same day as ageclos, so need help to code for "previous nearest wtgainperday")
Thank you
record_id
wtgainperday (weight gain per day)
ageweight (recording the age in days that weight gain was calculated)
ageclos (the age of baby when stoma closed NB there may not be a weight gain per day calculation on the same day as ageclos, so need help to code for "previous nearest wtgainperday")
Thank you
Comment