Fit a proportional means regression model for weighted composite endpoint of recurrent event and death