Description Usage Arguments Value Examples
CI_smd_one
returns the point estimate and confidence interval
for the standardized mean difference between a sample mean and
a population/reference mean
\mjdeqn d_1 = \fracX - \musMdiff = (X - mu)/s
1 2 3 4 5 6 7 8 9 | CI_smd_one(
comparison_m,
comparison_s,
comparison_n,
population_m = 0,
population_s = NULL,
conf_level = 0.95,
correct_bias = TRUE
)
|
comparison_m |
Mean from the sample |
comparison_s |
Standard deviation from the sample |
comparison_n |
Sample size |
population_m |
Optional value for population mean; defaults to 0 |
population_s |
Optional value for population sd; defaults to NULL. If NULL function returns a CI based on the sample standard deviation and a t-distribution. If a numeric value is passed, returns a CI based on population_s and a normal-distribution |
conf_level |
The confidence level in decimal form. Defaults to 0.95. |
Returns a list with these named elements:
effect_size - the point estimate; d = (comparison_m - population_m)/s
lower - lower bound of the CI
upper - upper bound of the CI
numerator - the numerator for Cohen's d_biased; (comparison_m - population_m)
denominator - the denominator for Cohen's d_biased; population_s if passed, otherwise comparison_s
df - the degrees of freedom used for correction and CI calculation
se - the standard error of the estimate; warning not totally sure about this yet
moe - margin of error; 1/2 length of the CI
d_biased - Cohen's d without correction applied
properties - a list of properties for the result
Properties
d_name - if equal variance assumed d_s, otherwise d_avg
d_name_html - html representation of d_name
denominator_name - if equal variance assumed sd_pooled otherwise sd_avg
denominator_name_html - html representation of denominator name
bias_corrected - TRUE/FALSE if bias correction was applied
message - a message explaining denominator and correction status
message_html - html representation of message
1 2 3 4 5 | CI_smd_one(
comparison_m = 10,
comparison_s = 3,
comparison_n = 25
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.