Stata Package
hcost (updated July 17, 2019): Stata program for estimating mean health costs and cost-effectiveness analysis within a time horizon with possibly censored data. Contains 4 files:
1. hcost.ado: main program for hcost command. Copy hcost.ado to "C:\ado\personal" before using it.
2. hcost.sthlp: help file for hcsot command
3. TestExample.do: an example to show how to use hcost command
4. example.dta: Simulated data file for test purpose
Update log:
30 Aug, 2018: add additional program to avoid error of "subscript invalid" when time limit l is too large.
16 Jul, 2019: optimize program to increase computation speed; add additional data checking procedure to identify potential data errors before calculation.
1. hcost.ado: main program for hcost command. Copy hcost.ado to "C:\ado\personal" before using it.
2. hcost.sthlp: help file for hcsot command
3. TestExample.do: an example to show how to use hcost command
4. example.dta: Simulated data file for test purpose
Update log:
30 Aug, 2018: add additional program to avoid error of "subscript invalid" when time limit l is too large.
16 Jul, 2019: optimize program to increase computation speed; add additional data checking procedure to identify potential data errors before calculation.
Find and install the package in Stata directly (up-to-date version st0399_1 available in Stata now)
Command in Stata: "search st0399_1" or "search hcost"
Reference
Chen, S., Rolfes, J. and Zhao, H. (2015) Estimation of mean health care costs and incremental cost-effectiveness ratios with possibly censored data, The Stata Journal, 15: 698-711. link
2020 update log for st0399_1
2020 update log for st0399_1