A Reference Class to represent the EVPI

Share:

Description

An object that combines three others objects : object_inmb, object_pop, object_var_inmb.

Fields

object_inmb

: an instance that inherits the INMB_DIRECT

object_var_inmb

: an instance that inherits the VAR_INMB_DIRECT

object_pop

: an instance that inherits the POP

step_ref

(default=1) : to define the ratio (step_ref/step_exp) for group allocation during the study

step_exp

(default=1) : to define the ratio (step_ref/step_exp) for group allocation during the study

Methods

get_N():

return the estimated optimal sample size for the study

get_N_exp():

return the estimated number of individuals in the experimental group

get_N_ref():

return the estimated number of participants to include in the reference group

get_k(N_exp):

return the ratio (step_ref/step_exp) for group allocation

set_N_ref(N_ref):

sets the number of individuals in the reference group (N_exp will be automatically calculated according to the ratio)

set_N_exp(N_exp):

sets the number of individuals in the experimental group (N_ref will be automatically calculated according to the ratio)

set_object_inmb(object_inmb):

sets object_inmb for this EVPI_DECREASE object

set_object_var_inmb(object_var_inmb):

sets object_var_inmb for this EVPI_DECREASE object

set_object_pop(object_pop):

sets object_pop for this EVPI_DECREASE object