I have a dataset on blood pressure control over time. The event is blood pressure control (bp_control where 1 is yes and 0 is no). Time is measured in days. I want to limit the period of observation to 500 days. I wrote the following code but I keep getting this error "invalid numlist".
I will appreciate help to fix this error.
Thank you,
Al Bothwell
Code:
stset days, failure(bp_control==1) id(ptid) exit(bp_control==1 time>days(500))
I will appreciate help to fix this error.
Thank you,
Al Bothwell