Compute simulated productivity costs given simulated disease progression including costs from temporary disability, permanent disability, and premature mortality.
sim_prod_costs(econmod, patients, params = iviNSCLC::params_costs_prod, dr = 0.03, retirement_age = 65, method = "hca")
| econmod | An economic model of class  | 
|---|---|
| patients | A  | 
| params | An object of the same format as  | 
| dr | Discount rate. | 
| retirement_age | A numeric scalar denoting age at retirement. | 
| method | Method used to compute productivity losses. Currently only supports
the "human capital approach" ( | 
An object of class "prod_costs", which is a data.table 
containing productivity costs. Columns are:
The cost category.
The discount rate.
sample from econmod$disprog_
strategy_id from econmod$disprog_
Productivity costs.
See the example in the tutorial.