I am analysing an unevenly spaced times series, and am hoping to generate descriptive statistics on the cumulative time spent below a specific threshold value during that time series.
I imagine any function would need to model the "gaps" between times using a linear algebraic equation. Is there an easy way of doing this in Stata?
My real-world application is a series of randomly measured systolic blood pressures on the same individual over time.
My question is: During our observation period, over what period of collective/cumulative time did the individual have a blood pressure less than 100?
This individual may have had several dips in blood pressure below 100, before returning above 100 during a series of measures.
Being above 100, does not "make up" for times below 100 (ie its not an averaging problem).
Disclosure: I'm a clinician by background, not a statistician. No doubt there will be a command that does this. I've searched the archives under a number of terms to no avail. Thanks for your assistance.
I imagine any function would need to model the "gaps" between times using a linear algebraic equation. Is there an easy way of doing this in Stata?
My real-world application is a series of randomly measured systolic blood pressures on the same individual over time.
My question is: During our observation period, over what period of collective/cumulative time did the individual have a blood pressure less than 100?
This individual may have had several dips in blood pressure below 100, before returning above 100 during a series of measures.
Being above 100, does not "make up" for times below 100 (ie its not an averaging problem).
Disclosure: I'm a clinician by background, not a statistician. No doubt there will be a command that does this. I've searched the archives under a number of terms to no avail. Thanks for your assistance.
Comment