Description Fields Methods See Also Examples

Hypothetical variance of the Incremental Net Monetary Benefit.

`sdc`

: common standard deviation of costs in each group

`sde`

: common standard deviation of effectiveness in each group

`rho`

: coefficient of correlation between the difference in costs (dc) and the difference in effectiveness (de)

`object_lambda`

: an object lambda. Create one with create_object_lambda. It contains lambda : the ceiling cost-effectiveness ratio or maximum acceptable cost of a unit of effectiveness

- set_sdc(sdc):
Sets the common standard deviation of costs in each group for this VAR_INMB object

- set_sde(sde):
Sets the common standard deviation of effectiveness in each group for this VAR_INMB object

- set_rho(rho):
Sets the coefficient of correlation between the difference in costs (dc) and the difference in effectiveness (de)

- set_object_lambda(object_lambda):
Sets the object_lambda of this VAR_INMB object

- get_var_inmb():
Return the calculated hypothetical variance of the Incremental Net Monetary Benefit (INMB)

create_object_var_inmb_direct to directly provide a value for the variance of the Incremental Net Monetary Benefit

create_object_var_inmb_diff to calculate the theoretical standard deviation of the expected INB with different standard deviation in the reference and the experimental group

create_object_var_inmb the constructor

1 2 3 4 5 | ```
## First, create a lambda object
object_lambda <- create_object_lambda (20000)
## Then, create a var_inmb object
var_inmb <- create_object_var_inmb(sde=0.12, sdc=2100, rho=0.1, object_lambda=object_lambda)
var_inmb$get_var_inmb()
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.