HETER_MODEL-cash-sample_effect_size: Compute the sample based effect size of the simulated data

HETER_MODEL$sample_effect_sizeR Documentation

Compute the sample based effect size of the simulated data

Description

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.

Value

A single numeric value.

Examples


mod <- heter_model(a = 0, b = 16)
mod$sample_effect_size(mod$gen(100))

TengMCing/visage documentation built on Aug. 28, 2024, 3:27 p.m.