z_comparison.m contains incorrect formula

Bug #1220356 reported by Lynn Paul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ModelGUI
Fix Released
Undecided
andrew reid

Bug Description

The script "z_comparison.m" contains an incorrect formula.
D = R1_Z.*sqrt(N1-3) - R2_Z.*sqrt(N2-3);

Fisher's formula for comparing z values is:
D = (R1_Z - R2_Z) / sqrt(1/(N1-3)+1/(N2-3));
-- Fisher in 1921, On the probable error of a coefficient of correlation deduced from a small sample, Metron, 1, 3-32.

Lynn Paul (lkpaul)
summary: - z_transform.m contains incorrect formula
+ z_comparison.m contains incorrect formula
description: updated
Revision history for this message
andrew reid (typically) wrote :

Thanks for the report, this is part of a Matlab library that hasn't been officially released, and is not part of the ModelGUI project. The formula has been fixed and should soon replace the link currently located on the ModelGUI Wiki site. Once it is, this bug will be changed to "fix released".

Changed in modelgui:
status: New → Fix Committed
assignee: nobody → andrew reid (typically)
Revision history for this message
andrew reid (typically) wrote :

Correct script is now included in new library on the Wiki page (http://mgui.wikidot.com/mgui-neuro-civet-matlab). The file in question is now called "lib_areid.zip".

Changed in modelgui:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.