projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Categoricals: Use moments instead of keeping cc count ourselves
[pspp]
/
src
/
language
/
stats
/
sign.c
diff --git
a/src/language/stats/sign.c
b/src/language/stats/sign.c
index 07a2499e9f70ab2b850a8d7a7db1727d1b5a4bf5..754b0d7dfcd6b47c08d62f6f4db05ab8a6e90812 100644
(file)
--- a/
src/language/stats/sign.c
+++ b/
src/language/stats/sign.c
@@
-19,7
+19,7
@@
#include <data/variable.h>
#include <libpspp/str.h>
#include <data/variable.h>
#include <libpspp/str.h>
-#include <output/tab
le
.h>
+#include <output/tab.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_randist.h>
#include "npar.h"
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_randist.h>
#include "npar.h"
@@
-52,13
+52,11
@@
output_frequency_table (const struct two_sample_test *t2s,
const struct dictionary *dict)
{
int i;
const struct dictionary *dict)
{
int i;
- struct tab_table *table = tab_create (3, 1 + 4 * t2s->n_pairs
, 0
);
+ struct tab_table *table = tab_create (3, 1 + 4 * t2s->n_pairs);
const struct variable *wv = dict_get_weight (dict);
const struct fmt_spec *wfmt = wv ? var_get_print_format (wv) : & F_8_0;
const struct variable *wv = dict_get_weight (dict);
const struct fmt_spec *wfmt = wv ? var_get_print_format (wv) : & F_8_0;
- tab_dim (table, tab_natural_dimensions, NULL, NULL);
-
tab_title (table, _("Frequencies"));
tab_headers (table, 2, 0, 1, 0);
tab_title (table, _("Frequencies"));
tab_headers (table, 2, 0, 1, 0);
@@
-108,9
+106,7
@@
output_statistics_table (const struct two_sample_test *t2s,
const struct sign_test_params *param)
{
int i;
const struct sign_test_params *param)
{
int i;
- struct tab_table *table = tab_create (1 + t2s->n_pairs, 4, 0);
-
- tab_dim (table, tab_natural_dimensions, NULL, NULL);
+ struct tab_table *table = tab_create (1 + t2s->n_pairs, 4);
tab_title (table, _("Test Statistics"));
tab_title (table, _("Test Statistics"));