esc_phi {esc} | R Documentation |
Compute effect size from Phi coefficient
Description
Compute effect size from phi coefficient
Usage
esc_phi(
phi,
p,
totaln,
es.type = c("d", "g", "or", "logit", "r", "f", "eta", "cox.or", "cox.log"),
study = NULL
)
Arguments
phi |
The phi value. One of |
p |
The p-value of the chi-squared or phi-value. |
totaln |
A vector of total sample size(s). |
es.type |
Type of effect size that should be returned.
|
study |
Optional string with the study name. Using |
Value
The effect size es
, the standard error se
, the variance
of the effect size var
, the lower and upper confidence limits
ci.lo
and ci.hi
, the weight factor w
and the
total sample size totaln
.
Note
This effect size should only be used for data from 2x2 frequency
tables. Furthermore, use this approximation for the effect size only,
if information about the 2x2 frequencies or proportions are not available.
Else, esc_2x2
or esc_bin_prop
provide better
estimates for the effect size.
References
Lipsey MW, Wilson DB. 2001. Practical meta-analysis. Thousand Oaks, Calif: Sage Publications
Wilson DB. 2016. Formulas Used by the "Practical Meta-Analysis Effect Size Calculator". Unpublished manuscript: George Mason University
Examples
# Effect size based on chi-squared value
esc_phi(phi = .67, totaln = 100)
# Effect size based on p-value of chi-squared
esc_phi(p = .003, totaln = 100)