projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lexer: New function lex_ofs_representation().
[pspp]
/
src
/
language
/
stats
/
t-test-indep.c
diff --git
a/src/language/stats/t-test-indep.c
b/src/language/stats/t-test-indep.c
index b4cb430f198250625a93c0f9334f3b0e07506ce4..3bfc7775cc5698dcd3bb95090c59705561817368 100644
(file)
--- a/
src/language/stats/t-test-indep.c
+++ b/
src/language/stats/t-test-indep.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011
, 2020
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-82,7
+82,7
@@
indep_run (struct tt *tt, const struct variable *gvar,
struct ccase *c;
struct casereader *r;
struct ccase *c;
struct casereader *r;
- struct pair_stats *ps =
xcalloc (tt->n_vars, sizeof *p
s);
+ struct pair_stats *ps =
XCALLOC (tt->n_vars, struct pair_stat
s);
int v;
int v;
@@
-112,7
+112,7
@@
indep_run (struct tt *tt, const struct variable *gvar,
for (v = 0; v < tt->n_vars; ++v)
{
const union value *val = case_data (c, tt->vars[v]);
for (v = 0; v < tt->n_vars; ++v)
{
const union value *val = case_data (c, tt->vars[v]);
- if (var_is_value_missing (tt->vars[v], val
, tt->exclude)
)
+ if (var_is_value_missing (tt->vars[v], val
) & tt->exclude
)
continue;
moments_pass_one (ps[v].mom[grp], val->f, w);
continue;
moments_pass_one (ps[v].mom[grp], val->f, w);
@@
-135,7
+135,7
@@
indep_run (struct tt *tt, const struct variable *gvar,
for (v = 0; v < tt->n_vars; ++v)
{
const union value *val = case_data (c, tt->vars[v]);
for (v = 0; v < tt->n_vars; ++v)
{
const union value *val = case_data (c, tt->vars[v]);
- if (var_is_value_missing (tt->vars[v], val
, tt->exclude)
)
+ if (var_is_value_missing (tt->vars[v], val
) & tt->exclude
)
continue;
moments_pass_two (ps[v].mom[grp], val->f, w);
continue;
moments_pass_two (ps[v].mom[grp], val->f, w);
@@
-158,7
+158,7
@@
indep_run (struct tt *tt, const struct variable *gvar,
for (v = 0; v < tt->n_vars; ++v)
{
const union value *val = case_data (c, tt->vars[v]);
for (v = 0; v < tt->n_vars; ++v)
{
const union value *val = case_data (c, tt->vars[v]);
- if (var_is_value_missing (tt->vars[v], val
, tt->exclude)
)
+ if (var_is_value_missing (tt->vars[v], val
) & tt->exclude
)
continue;
levene_pass_three (ps[v].nl, val->f, w, gv);
continue;
levene_pass_three (ps[v].nl, val->f, w, gv);
@@
-269,6
+269,7
@@
indep_test (const struct tt *tt, const struct pair_stats *ps)
N_("Mean Difference"), PIVOT_RC_OTHER,
N_("Std. Error Difference"), PIVOT_RC_OTHER);
pivot_category_create_group (
N_("Mean Difference"), PIVOT_RC_OTHER,
N_("Std. Error Difference"), PIVOT_RC_OTHER);
pivot_category_create_group (
+ /* xgettext:no-c-format */
group, N_("95% Confidence Interval of the Difference"),
N_("Lower"), PIVOT_RC_OTHER,
N_("Upper"), PIVOT_RC_OTHER);
group, N_("95% Confidence Interval of the Difference"),
N_("Lower"), PIVOT_RC_OTHER,
N_("Upper"), PIVOT_RC_OTHER);