Σ
SDCalc
KatamtamanMga Aplikasyon·12 min

Cohen’s d at mga Kalkulasyon ng Effect Size

I-master ang mga kalkulasyon ng effect size kabilang ang Cohen’s d, Hedges’ g, at Glass’s delta. Matutunan kung paano sukatin ang praktikal na kahalagahan lampas sa p-values gamit ang standard deviation.

Lampas sa Statistical Significance: Pag-unawa sa Effect Size

Sinusukat ng effect size ang laki ng pagkakaiba o relasyon, na independent sa laki ng sample. Habang sinasabi ng p-values kung statistically significant ang isang epekto, sinasabi naman ng effect sizes kung gaano ka-praktikal na makabuluhan ang epektong iyon. Napakahalaga ng pagkakaibang ito para sa evidence-based na paggawa ng desisyon sa pananaliksik, medisina, edukasyon, at negosyo.

Isipin ang isang pharmaceutical trial kung saan nagpakita ng statistically significant na pagpapabuti (p < 0.001) ang bagong gamot kumpara sa placebo. Kung walang effect size, hindi mo malalaman kung 0.1% o 50% ang pagpapabuti. Nagbibigay ang effect size ng mahalagang kontekstong ito, na tumutulong sa mga stakeholder na matukoy kung sulit ba ang epekto sa gastos, side effects, o pagsisikap ng implementasyon.

Ang pinakakaraniwang effect size measure para sa paghahambing ng dalawang grupo ay ang Cohen’s d, na nag-e-express ng pagkakaiba ng mga mean sa standard deviation units. Ang standardization na ito ay nagpapahintulot ng paghahambing sa iba't ibang pag-aaral at mga sukat.

Bakit Mahalaga ang Effect Size

Ang statistical significance ay lubos na naiimpluwensyahan ng laki ng sample. Sa sapat na malaking sample, kahit maliit na pagkakaiba ay nagiging “significant.” Sa kabilang banda, ang mahahalagang epekto ay maaaring hindi maabot ang significance sa maliliit na samples. Nilulutas ng effect size ang problemang ito sa pamamagitan ng pagbibigay ng sample-size-independent na sukatan.

Ang Significance Trap

Ang isang pag-aaral na may n=10,000 ay maaaring magpakita ng p < 0.001 para sa pagkakaiba na 0.5 punto sa 100-point na sukat. Ito ay statistically significant ngunit walang praktikal na kahulugan (d ≈ 0.05). Palaging i-report ang effect sizes kasama ng p-values.

Mga pangunahing dahilan upang gumamit ng effect size:

  • Meta-analysis: Maaaring pagsamahin ang effect sizes sa iba’t ibang pag-aaral upang tantiyahin ang kabuuang epekto
  • Power analysis: Kinakailangan upang kalkulahin ang kinakailangang laki ng sample para sa mga susunod na pag-aaral
  • Praktikal na desisyon: Tumutulong sa pagtukoy kung sulit ba ang pagpapatupad ng mga interbensyon
  • Replication: Nagbibigay ng target para sa mga replication studies

Cohen’s d: Ang Standard Effect Size Measure

Ini-express ng Cohen’s d ang pagkakaiba ng dalawang group means sa units ng pooled standard deviation:

Cohen’s d

d = (M₁ - M₂) / sp

Kung saan M₁ at M₂ ang mga group mean, at sp ang pooled standard deviation na kinalkula bilang:

Pooled Standard Deviation

sp = √[((n₁-1)s₁² + (n₂-1)s₂²) / (n₁+n₂-2)]

Ang tanda ng d ay nagpapahiwatig ng direksyon: positibo kapag M₁ > M₂, negatibo kapag M₁ < M₂. Madalas ang absolute value |d| ang ini-report kapag malinaw ang direksyon mula sa konteksto.

Bakit Pooled ang Standard Deviation?

Ang pooling ay nag-assume na parehong grupo ay may pantay na population variances. Nagbibigay ito ng mas stable na estimate kaysa sa paggamit ng SD ng alinmang grupo nang mag-isa, at tumutugma sa mga assumptions ng independent samples t-test.

Mga Alternatibong Effect Size Measures

Bagama’t pinakakaraniwan ang Cohen’s d, may mga alternatibo para sa mga partikular na sitwasyon:

Hedges’ g: Bias-Corrected Effect Size

Bahagyang ino-overestimate ng Cohen’s d ang population effect size sa maliliit na samples. Nag-a-apply ang Hedges’ g ng correction factor:

Hedges’ g Correction

g = d × (1 - 3/(4(n₁+n₂) - 9))

Para sa mga sample na higit sa 20 bawat grupo, halos walang pagkakaiba. Para sa maliliit na samples (n < 20), mas mainam ang Hedges’ g.

Glass’s Δ: Kapag Magkaiba ang Variances

Kapag ang isang grupo ay control na may kilalang variability, gamitin lamang ang standard deviation ng control group bilang denominator:

Glass’s Delta

Δ = (M₁ - M₂) / s_control

Kapaki-pakinabang ito kapag ang treatment ay maaaring makaapekto sa variance (hal., isang interbensyon na mas nakatutulong sa mga low performers kaysa sa mga high performers).

Pag-interpret ng Effect Sizes: Mga Gabay ni Cohen

Iminungkahi ni Jacob Cohen ang mga sumusunod na convention para sa pag-interpret ng mga halaga ng d:

Effect Size (d)InterpretasyonOverlap
0.2Maliit85% overlap sa pagitan ng mga grupo
0.5Katamtaman67% overlap sa pagitan ng mga grupo
0.8Malaki53% overlap sa pagitan ng mga grupo
1.2Napakalaki40% overlap sa pagitan ng mga grupo
2.0Sobrang Laki19% overlap sa pagitan ng mga grupo

Mahalaga ang Konteksto

Mga rough guideline lamang ang mga ito, hindi absolute rules. Sa ilang larangan, ang d = 0.2 ay maaaring lubos na makabuluhan (hal., pagbawas ng panganib ng heart attack), habang sa iba ang d = 0.8 ay inaasahan (hal., tutoring vs. walang pagtuturo).

Worked Example: Educational Intervention

Sinusubukan ng isang paaralan ang bagong reading program. Control group (n=25): mean=72, SD=12. Treatment group (n=30): mean=79, SD=14. Kalkulahin ang Cohen’s d:

1

Kalkulahin ang Pooled Variance

sp² = [(25-1)(12)² + (30-1)(14)²] / (25+30-2) = [24×144 + 29×196] / 53 = [3456 + 5684] / 53 = 172.45
2

Kalkulahin ang Pooled SD

sp = √172.45 = 13.13
3

Kalkulahin ang Cohen’s d

d = (79 - 72) / 13.13 = 7 / 13.13 = 0.53
4

I-interpret

Isang medium effect size (d = 0.53). Humigit-kumulang kalahating standard deviation ang pagkakatataas ng marka ng treatment group kaysa control.

Ibig sabihin nito, kung random kang kukuha ng isang estudyante mula sa treatment group at isa mula sa control group, ang estudyante sa treatment ay magma-marka nang mas mataas humigit-kumulang 64% ng oras (kinalkula mula sa overlap).

Python Implementation

Kalkulahin ang effect sizes nang programmatically na may confidence intervals:

python
import numpy as np
from scipy import stats

def cohens_d(group1, group2):
    """Calculate Cohen's d for two independent groups."""
    n1, n2 = len(group1), len(group2)
    var1, var2 = np.var(group1, ddof=1), np.var(group2, ddof=1)

    # Pooled standard deviation
    pooled_std = np.sqrt(((n1-1)*var1 + (n2-1)*var2) / (n1+n2-2))

    # Cohen's d
    d = (np.mean(group1) - np.mean(group2)) / pooled_std
    return d

def hedges_g(group1, group2):
    """Calculate Hedges' g (bias-corrected effect size)."""
    n1, n2 = len(group1), len(group2)
    d = cohens_d(group1, group2)

    # Correction factor for small sample bias
    correction = 1 - 3 / (4*(n1+n2) - 9)
    return d * correction

# Example usage
control = [68, 72, 75, 70, 69, 74, 71, 73, 76, 72]
treatment = [75, 79, 82, 78, 80, 77, 81, 76, 83, 79]

d = cohens_d(treatment, control)
g = hedges_g(treatment, control)
print(f"Cohen's d: {d:.3f}")
print(f"Hedges' g: {g:.3f}")

Further Reading

How to Read This Article

A statistics tutorial is a practical interpretation guide, not just a formula dump. It refers to the assumptions, notation, and reporting language that analysts need when they explain a result to a teacher, manager, client, or reviewer. The article body covers the specific topic, while the sections below create a common interpretation frame that readers can reuse across related metrics.

Reading goalWhat to focus onCommon mistake
DefinitionWhat the metric is and what quantity it summarizesTreating the formula as self-explanatory
Formula choiceSample versus population assumptions and notationUsing n when n-1 is required or vice versa
InterpretationWhether the result indicates concentration, spread, or riskCalling a large value good or bad without context

Frequently Asked Questions

How should I interpret a high standard deviation?

A high standard deviation means the observations are spread farther from the mean on average. Whether that spread is acceptable depends on the context: wide dispersion might signal risk in finance, instability in manufacturing, or genuine natural variation in scientific data.

Why do some articles mention n while others mention n-1?

The denominator reflects the difference between population and sample formulas. Population variance and population standard deviation use N because the full dataset is known. Sample variance and sample standard deviation often use n-1 because Bessel’s correction reduces bias when estimating population spread from a sample.

What is a statistical interpretation guide?

A statistical interpretation guide is a page that moves beyond arithmetic and explains meaning. It tells you what a metric is, when the formula applies, and how to describe the result in plain English without overstating certainty.

Can I cite this article in a report?

You should cite the underlying authoritative reference for formal work whenever possible. This page is best used as an explanatory bridge that helps you understand the concept before quoting the original standard or handbook.

Why include direct citations on every article page?

Direct citations give readers a route to verify the definition, notation, and assumptions. That improves trust and reduces the chance that a simplified explanation is mistaken for the entire technical standard.

Authoritative References

These sources define the concepts referenced most often across our articles. Bessel's correction is a sample adjustment, variance is a squared measure of spread, and standard deviation is the square root of variance expressed in the same units as the data.