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

SIMPLE_CUBIC_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/List. List contains variable x.

a

Numeric. Default is a = self$prm$a.

b

Numeric. Default is b = self$prm$b.

sigma

Positive numeric. Default is sigma = self$prm$sigma.

Value

A numeric value.

Examples


mod <- simple_cubic_model(-1, 1, 0.5)
dat <- mod$gen(1000, fit_model = TRUE)
mod$sample_effect_size(dat)

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