|
⇤ ← Revision 1 as of 2011-11-02 16:31:56
Size: 1313
Comment:
|
Size: 1365
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| Line 6: | Line 5: |
| sgn(T-B)[abs(T-B)] / [(abs(B) + abs(T)] if T and B have different signs | sgn(T-B)[abs(T-B)] / [(abs(B) + abs(T)] if T and B have different signs or |
| Line 10: | Line 9: |
| or, provided B is nonzero, as a percentage change (PC) as | Alternatively, provided B is nonzero, we can express the difference in errors as a percentage change (PC) by |
Difference in errors adjusted for overall number when the errors have different signs
Suppose we have error scores which can take positive or negative values, of equal importance, on two conditions, baseline (B) and treatment (T) then assuming at least one of B and T are non-zero the difference in the errors adjusted for total number can be expressed using absolute values, abs(), as
sgn(T-B)[abs(T-B)] / [(abs(B) + abs(T)] if T and B have different signs or
[abs(T) - abs(B)] / [(abs(B) + abs(T)] if T and B have the same sign
Alternatively, provided B is nonzero, we can express the difference in errors as a percentage change (PC) by
sgn(T-B) 100[abs(T-B)] / abs(B), T and B have different signs
100[abs(T) - abs(B)]/abs(B) = 100(SF - 1), T and B have the same sign
where SF is the scaling factor relating to T and B.
For example if T and B both have the same sign and the number of errors doubles (SF=2) it follows abs(T) - abs(B) = 2 abs(B) so abs(T) = 2 abs(B) which gives a 100 (2abs(B)- abs(B))/abs(B) = 100% increase in errors from baseline.
If we ignore the absolute values in the above formulae we can end up with misleading values due to failing to ignore the signs of B and T. For example we have scores of -3 for B and +2 for T then the total number of errors B+A = -1 where in fact there are 5 errors made in total.
