Generate a cost-effectiveness acceptability curve (CEAC) from a fitted CEA regression model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ceac(x, wtp_max, wtp_step, QALYs = "QALYs", Costs = "Costs", ...)
## S3 method for class 'cea_estimate'
ceac(
x,
wtp_max,
wtp_step,
QALYs = "QALYs",
Costs = "Costs",
estimand = "ATE",
method = "delta",
R,
sim = "parametric",
...
)
## S3 method for class 'cea_boot'
ceac(x, wtp_max, wtp_step, QALYs = "QALYs", Costs = "Costs", ...)
|
x |
|
wtp_max |
Maximum willingness-to-pay level for calculation. |
wtp_step |
Interval between calculated willingness-to-pay levels. |
QALYs, Costs |
Names of the variables in |
... |
Passed to |
estimand |
String scalar. Whether to calculate the average treatment effect (ATE), average treatment effect on the treated (ATT), or average treatment effect on the controls (ATC). Only used for non-linear models. |
method |
Which method to use. Currently only 'boot' (bootstrap) is implemented. |
R |
The number of bootstrap replicates. |
sim |
A character vector indicating the type of simulation required. Possible values are "ordinary" (the default), "parametric", "balanced", or "permutation". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.