projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
now builds frequency tables
[pspp]
/
src
/
language
/
stats
/
mcnemar.c
diff --git
a/src/language/stats/mcnemar.c
b/src/language/stats/mcnemar.c
index dbe5813ae48ab7beca5fbd5d4d97349699aa952a..a12800726dfec6ae94af4b0ff724e7785f6c021d 100644
(file)
--- a/
src/language/stats/mcnemar.c
+++ b/
src/language/stats/mcnemar.c
@@
-83,7
+83,7
@@
mcnemar_execute (const struct dataset *ds,
struct casereader *r = input;
struct casereader *r = input;
- struct mcnemar *mc =
xcalloc (t2s->n_pairs, sizeof *mc
);
+ struct mcnemar *mc =
XCALLOC (t2s->n_pairs, struct mcnemar
);
for (i = 0 ; i < t2s->n_pairs; ++i)
{
for (i = 0 ; i < t2s->n_pairs; ++i)
{
@@
-100,10
+100,10
@@
mcnemar_execute (const struct dataset *ds,
const union value *value0 = case_data (c, (*vp)[0]);
const union value *value1 = case_data (c, (*vp)[1]);
const union value *value0 = case_data (c, (*vp)[0]);
const union value *value1 = case_data (c, (*vp)[1]);
- if (var_is_value_missing ((*vp)[0], value0
, exclude)
)
+ if (var_is_value_missing ((*vp)[0], value0
) & exclude
)
continue;
continue;
- if (var_is_value_missing ((*vp)[1], value1
, exclude)
)
+ if (var_is_value_missing ((*vp)[1], value1
) & exclude
)
continue;
continue;