What is Hedges’ g Calculator?

Hedges’ g Calculator is an online tool that can be used to calculate the effect size of a given set of data. It is based on the Hedges’ g formula, which is a measure of the magnitude of a treatment effect in a meta-analysis. Hedges’ g is a standardized measure of the effect size, which allows researchers to compare the effects of different treatments across studies. The calculator allows users to easily calculate the effect size for a given set of data.

@import url(‘https://fonts.googleapis.com/css?family=Droid+Serif|Raleway’);

.axis–y .domain {
display: none;
}

h1 {
text-align: center;
font-size: 50px;
margin-bottom: 0px;
font-family: ‘Raleway’, serif;
}

p {
color: black;
margin-bottom: 15px;
margin-top: 15px;
font-family: ‘Raleway’, sans-serif;
}

#words {
color: black;
font-family: Raleway;
max-width: 550px;
margin: 25px auto;
line-height: 1.75;
padding-left: 100px;
}

#words_calc {
color: black;
font-family: Raleway;
max-width: 550px;
margin: 25px auto;
line-height: 1.75;
padding-left: 100px;
}

#hr_top {
width: 30%;
margin-bottom: 0px;
border: none;
height: 2px;
color: black;
background-color: black;
}

#hr_bottom {
width: 30%;
margin-top: 15px;
border: none;
height: 2px;
color: black;
background-color: black;
}

#words label, input {
display: inline-block;
vertical-align: baseline;
width: 350px;
}

#buttonCalc {
border: 1px solid;
border-radius: 10px;
margin-top: 20px;
padding: 10px 10px;
cursor: pointer;
outline: none;
background-color: white;
color: black;
font-family: ‘Work Sans’, sans-serif;
border: 1px solid grey;
/* Green */
}

#buttonCalc:hover {
background-color: #f6f6f6;
border: 1px solid black;
}

#words_intro {
color: black;
font-family: Raleway;
max-width: 550px;
margin: 25px auto;
line-height: 1.75;
}

is a way to measure , which gives us an idea of how much two groups differ. It is used as an alternative to Cohen’s D when the sample sizes between two groups is not equal.
To calculate Hedges’ g, simply fill in the information below and then click the “Calculate” button.

Hedges’ g: 0.296451

function calc() {

//get input values
var x1 = +document.getElementById(‘x1’).value;
var s1 = +document.getElementById(‘s1’).value;
var n1 = +document.getElementById(‘n1’).value;
var x2 = +document.getElementById(‘x2’).value;
var s2 = +document.getElementById(‘s2’).value;
var n2 = +document.getElementById(‘n2’).value;

//calculate stuff
var diff = Math.abs(x1-x2);
var pool = Math.sqrt(((n1-1)*s1*s1 – (-1*((n2-1)*s2*s2)))/(n1-(-1*n2)-2));
var g = diff/pool;

//output probabilities
document.getElementById(‘g’).innerHTML = g.toFixed(6);
}

x