samples30.RdCreating samples from H1, given alpha, effect size (d) and power
samples30(Nsample = 100, alpha, effectSize, pow, samp)It can be fixed or given by the user
level of significance (α = probability of type I error)
the hypothesized effect size
the desired power (1−β)
The output of samplesH1 function, it is necessary for Nest here
Simulated likelihood ratios L1x, L0x and Lplus0x
if (FALSE) {
samples30(Nsample = 100, alpha = 0.05, effectSize = 0.2, pow = 0.95, samp = samplesH1)
}