Simulate likelihood ratios post-hoc under H0 ?

samplesEmp0(Nsample, 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 p: Calculated PCDF values D|L(d=0|x) ? Tval: t value ncp: non-centrality-parameter of the t-distribution demp: obtained empirical effectsize

Examples

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