Simulated data from the stata hcost package
data(hcost)
A data frame with 9882 rows and 7 variables:
id seperating individuals
start of specified cost
end of specified cost
cost in given period
treatment variable
event variable, 0 = censored
survival period
Chen2015ccostr
# NOT RUN { data(hcost) # }
Run the code above in your browser using DataCamp Workspace