Hello
I desperately need help with double precision variables.
I have a dataset of approximately 2000 hospital admissions.
In this dataset I have two variables of dates (m/d/yyyy) and time points (hour and minutes h:m). One variable of date and time of hospital admission and another variable of date and time of hospital discharge. The variables have the format numeric (double).
An example of my dataset and the mentioned variables:
Patient-ID 4289 AND hospital admission 1/10/2015 9:30 AND hospital discharge 2/10/2015 12.50
Patient-ID 387 AND hospital admission 12/3/2015 10:43 AND hospital discharge 12/3/2015 20:05
Can anybody help me?
I desperately need help with double precision variables.
I have a dataset of approximately 2000 hospital admissions.
In this dataset I have two variables of dates (m/d/yyyy) and time points (hour and minutes h:m). One variable of date and time of hospital admission and another variable of date and time of hospital discharge. The variables have the format numeric (double).
An example of my dataset and the mentioned variables:
Patient-ID 4289 AND hospital admission 1/10/2015 9:30 AND hospital discharge 2/10/2015 12.50
Patient-ID 387 AND hospital admission 12/3/2015 10:43 AND hospital discharge 12/3/2015 20:05
- I would very much like to estimate mean time of length of hospital stay for this group of patients
- I would also like to look at which time of day the patients are hospitalized, which means I need to look at the time point separately
- Is it possible get information on whether admission is on a weekday or weekend from a date variable?
Can anybody help me?
Comment