hcost {ccostr} | R Documentation |
Simulated data from the stata hcost package
Description
Simulated data from the stata hcost package
Usage
data(hcost)
Format
A data frame with 9882 rows and 7 variables:
- id
id seperating individuals
- start
start of specified cost
- stop
end of specified cost
- cost
cost in given period
- trt
treatment variable
- delta
event variable, 0 = censored
- surv
survival period
Source
References
Chen S, Rolfes J, Zhao H (2015). “Estimation of Mean Health Care Costs and Incremental Cost-effectiveness Ratios with Possibly Censored Data.” The Stata Journal: Promoting communications on statistics and Stata, 15(3), 698–711. ISSN 1536-867X, doi: 10.1177/1536867X1501500305, The Stata Journal.
Examples
data(hcost)
[Package ccostr version 0.1.0 Index]