Hi Stata-users

I would like to depict a Kaplan-Meier failure estimate graph with annual event rates on y-axis, biomarker values (continuous variable) on x-axis — stratified by gender.

Any advice on how I should calculate annual event rates to be shown on y-axis in this set-up?

TIA
/Edina

Stata 13.1