Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Computes the Hedges g statistic measuring an "effects size" difference between two lists of data
ResourceFunction["HedgesG"][{lst1,lst2}] computes the "effects size" difference between two sets of data lst1 and lst2 by dividing the difference of the means of each set by the pooled standard deviation of both sets of data. |
Compute the Hedges g statistic for two lists of data:
In[1]:= |
Out[1]= |
Compute the Hedges g statistic of symbolic data, assuming that the elements of the data are real:
In[2]:= |
Out[2]= |
The function can work on complex values, although its meaning in that case is unclear:
In[3]:= |
Out[3]= |
Find the interval in which x must fall in order for the Hedges g statistic to exceed 0.8 (this provides a measure of when two sets of data have large differences between them):
In[4]:= |
Out[4]= |
The pooled standard deviation of two data samples is the difference in the means of the two samples divided by their Hedges' g statistic:
In[5]:= |
Out[5]= |
The Hedges' g statistic of two lists is the negative of the Hedges g statistic of the same lists in the reverse order:
In[6]:= |
Out[6]= |
The function will not evaluate unless each inner list has a length greater than 1:
In[7]:= |
Out[7]= |
The function will not evaluate if there are more than two inner lists:
In[8]:= |
Out[8]= |
This work is licensed under a Creative Commons Attribution 4.0 International License