Simulate likelihood ratios post-hoc

samplesEmp(Nsample = 100, N, Temp, alphaEmp)

Arguments

Nsample

It can be fixed or given by the user

N

The sample size N per group

Temp

Empirical t-value

alphaEmp

Empirical level of significance

Value

Simulate likelihood ratios with demp: obtained empirical effectsize pow: the desired power (1−β) Tval: t value p: Calculated PCDF values D|L(d=0|x) ?

Examples

if (FALSE) {
samplesEmp(Nsample = 100, N = 30, Temp = 3, alphaEmp = 0.05)
}