Description Usage Arguments Details Value References Examples
quantifies the size of difference between sexes in measured traits.
1 |
x |
A data frame containing summary statistics. |
Trait |
Number of the column containing names of measured parameters, Default: 1 |
CI |
confidence interval coverage takes value from 0 to 1, Default: 0.95. |
B |
number of bootstrap samples for generating confidence intervals. Higher number means greater accuracy but slower execution. If NULL bootstrap confidence intervals are not produced, Default:NULL |
rand |
logical; if TRUE, uses random seed. If FALSE, then set.seed(42) for repeatability, Default: TRUE |
digits |
Number of significant digits, Default: 4 |
Calculates Hedges' (1981) g and its confidence intervals using the pooled standard deviation and correcting for bias. See Goulet-Pelletier and Cousineau (2018) for details of the calculations and D_index for description of the bootstrap.
a table of Hedge's g values with confidence interval for different traits.
Hedges, L. V. (1981). Distribution theory for Glass's estimator of effect size and related estimators. Journal of Educational Statistics, 6(2), 107-128.
Goulet-Pelletier, J.-C., & Cousineau, D. (2018). A review of effect sizes and their confidence intervals, part I: The Cohen's d family. The Quantitative Methods for Psychology, 14(4), 242-265.
1 2 3 4 5 6 7 8 9 | library(TestDimorph)
data("Cremains_measurements")
# Confidence intervals with non-central t distribution
Hedges_g(Cremains_measurements[1, ])
## Not run:
# confidence interval with bootstrapping
Hedges_g(Cremains_measurements[1, ], rand = FALSE, B = 1000)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.