Compute the sample based effect size of the simulated data
Source:R/zzz_VI_MODEL.R
HETER_MODEL-cash-sample_effect_size.Rd
This function computes the sample based effect size of the simulated data.
Arguments
- dat
Dataframe. The number of rows of the data frame will be used.
- a
Numeric. Default is
a = self$prm$a
.- b
Numeric. Default is
b = self$prm$b
.- type
Character. Type of the effect size. Default is
type = NULL
.
Examples
mod <- heter_model(a = 0, b = 16)
mod$sample_effect_size(mod$gen(100))
#> [1] 160