Hello All,
I would like use Stata to make a graph Hazard of rates values with a 95% over different values of a independent variable. But I am really stuck on how I can do this? I have been exploring the sts graph function but it seems to graph over time. I have attached an example of a similar graph that I would like to make. This example is taken from Strahilevitz. M., Odean, T, Barber, B, (2011) "Once Burned, Twice Shy: How Naive Learning, Counterfactuals, and Regret Affect the Repurchase of Stocks Previously Sold" Journal of Marketing Research, 48 pp. S102-S120, doi 10.1509/jmkr.48.SPL.S102,
In this graph, the hazard rate over different values of "Return Earned" are presented. In my data I have a variable "commission" and I want to graph hazard rate values over.
Any help would be greatly appreciated.
Regards,
Daniel Richards

I would like use Stata to make a graph Hazard of rates values with a 95% over different values of a independent variable. But I am really stuck on how I can do this? I have been exploring the sts graph function but it seems to graph over time. I have attached an example of a similar graph that I would like to make. This example is taken from Strahilevitz. M., Odean, T, Barber, B, (2011) "Once Burned, Twice Shy: How Naive Learning, Counterfactuals, and Regret Affect the Repurchase of Stocks Previously Sold" Journal of Marketing Research, 48 pp. S102-S120, doi 10.1509/jmkr.48.SPL.S102,
In this graph, the hazard rate over different values of "Return Earned" are presented. In my data I have a variable "commission" and I want to graph hazard rate values over.
Any help would be greatly appreciated.
Regards,
Daniel Richards
Comment