projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CROSSTABS: Don't calculate ASE for symmetric Somers' d.
[pspp]
/
src
/
language
/
stats
/
crosstabs.q
diff --git
a/src/language/stats/crosstabs.q
b/src/language/stats/crosstabs.q
index 21947ee45785426476716947b4581cc65ec3fac6..e3f5aee1d573ec8dc105d085538cc677090fcd26 100644
(file)
--- a/
src/language/stats/crosstabs.q
+++ b/
src/language/stats/crosstabs.q
@@
-18,8
+18,8
@@
- How to calculate significance of symmetric and directional measures?
- How to calculate ASE for asymmetric lambda?
- How to calculate significance of symmetric and directional measures?
- How to calculate ASE for asymmetric lambda?
- -
ASE of Goodman and Kruskal's tau is not calculated.
- -
ASE of symmetric somers' d is wrong.
+ -
How to calculate ASE for symmetric Somers' d?
+ -
How to calculate ASE for Goodman and Kruskal's tau?
- Approx. T of uncertainty coefficient is wrong.
*/
- Approx. T of uncertainty coefficient is wrong.
*/
@@
-2535,7
+2535,7
@@
calc_symmetric (struct crosstabs_proc *proc, struct pivot_table *pt,
if (proc->statistics & (1u << CRS_ST_D))
{
somers_d_v[0] = (P - Q) / (.5 * (Dc + Dr));
if (proc->statistics & (1u << CRS_ST_D))
{
somers_d_v[0] = (P - Q) / (.5 * (Dc + Dr));
- somers_d_ase[0] =
2. * btau_var / (Dr + Dc) * sqrt (Dr * Dc)
;
+ somers_d_ase[0] =
SYSMIS
;
somers_d_t[0] = (somers_d_v[0]
/ (4 / (Dc + Dr)
* sqrt (ctau_cum - pow2 (P - Q) / pt->total)));
somers_d_t[0] = (somers_d_v[0]
/ (4 / (Dc + Dr)
* sqrt (ctau_cum - pow2 (P - Q) / pt->total)));