This helper function constructs the theoretical effect sizes and distribution statistics four (normal, lognormal, Laplace & gamma) given specific parameter values for the distributions and is used to support the calculation of population statistics for two and four group experiments.
calculatePopulationStatistics(mean, std, type ="n")
Arguments
mean: The theoretical central location parameter for the distribution specified by the type parameter.
std: The theoretical spread parameter for the distribution specified by the type parameter.
type: String identifying the distribution, 'n' for normal, 'ln' for lognormal, 'lap' for Laplace, 'g' for Gamm
Returns
dataframe containing the expected standardized effect size, mean, variance,skewness and kurtosis statistics for samples from the specific distribution