likelihood.Rd
Calculate likelihood of data under model
likelihood(sample_mean = 0, sample_se = 0.1, sample_df = 99, model = c("H0", "normal", "uniform"), ..., steps = 2000)
sample_mean | the observed sample mean |
---|---|
sample_se | the observed sample standard error |
sample_df | the observed sample degrees of freedom |
model | the model under which to calculate likelihood (H0, normal or uniform |
... | model parameters (mean, sd and tail for normal, lower and upper for uniform) |
steps | the number of steps to integrate over |
double