se.pbcor | R Documentation |
This function computes a point-biserial correlation and its standard error for two types of point-biserial correlations in 2-group designs using the estimated means, estimated standard deviations, and samples sizes. Equality of variances is not assumed. One type of point-biserial correlation uses an unweighted average of variances and is recommended for 2-group experimental designs. The other type of point-biserial correlation uses a weighted average of variances and is recommended for 2-group nonexperimental designs with simple random sampling (but not stratified random sampling). This function is useful in a meta-analysis of compatible point-biserial correlations where some studies used a 2-group experimental design and other studies used a 2-group nonexperimental design. The effect size estimate and standard error output from this function can be used as input in the meta.ave.cor.gen function.
se.pbcor(m1, m2, sd1, sd2, n1, n2, type)
m1 |
estimated mean for group 1 |
m2 |
estimated mean for group 2 |
sd1 |
estimated standard deviation for group 1 |
sd2 |
estimated standard deviation for group 2 |
n1 |
sample size for group 1 |
n2 |
sample size for group 2 |
type |
|
Returns a one-row matrix:
Estimate - estimated point-biserial correlation
SE - standard error
Bonett2020bvcmeta
se.pbcor(21.9, 16.1, 3.82, 3.21, 40, 40, 1)
# Should return:
# Estimate SE
# Point-biserial correlation: 0.6349786 0.05981325
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.