calculatePopulationStatistics | R Documentation |
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")
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 |
dataframe containing the expected standardized effect size, mean, variance,skewness and kurtosis statistics for samples from the specific distribution
Barbara Kitchenham and Lech Madeyski
reproducer:::calculatePopulationStatistics(mean=0, std=1, type='l')
# RawMean RawVariance RawEffectSize RawSkewness RawKurtosis
#1 1.648721 4.670774 0.762874 6.184877 88.54343
reproducer:::calculatePopulationStatistics(mean=0, std=1, type='n')
# RawMean RawVariance RawEffectSize RawSkewness RawKurtosis
# 1 0 1 0 0 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.