Hypothetical variance of the Incremental Net Monetary Benefit. If data are available this variance can be calculated based of the common standard deviation of costs in each group (sdc), the common standard deviation of effectiveness in each group (sde), lambda (create_object_lambda), and the coefficient of correlation (rho) between the difference in costs (dc) and the difference in effectiveness (de)

1 | ```
create_object_var_inmb(sdc, sde, rho, object_lambda)
``` |

`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 |

create_object_var_inmb returns an object of class VAR_INMB which inherits from the class VAR_INMB_DIRECT

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

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()
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.