pspp-builds.git
13 years agolexer: New functions lex_spec_missing(), lex_spec_only_once().
Ben Pfaff [Sat, 5 Nov 2011 23:34:56 +0000 (16:34 -0700)]
lexer: New functions lex_spec_missing(), lex_spec_only_once().

These functions don't have many users yet but they make logical
sense to me.

13 years agolexer: Use error helper functions in more situations.
Ben Pfaff [Sat, 5 Nov 2011 23:23:05 +0000 (16:23 -0700)]
lexer: Use error helper functions in more situations.

The error helpers print error messages that are just as helpful
as handwritten error messages in most cases, especially now
that the error messages include column numbers.  They also
have advantages for i18n.

One important purpose of this commit is to remove several
strings from q2c.c that require translation but currently are
not translatable.

13 years agolexer: Drop lexer parameter from lex_sbc_missing().
Ben Pfaff [Sat, 5 Nov 2011 20:07:44 +0000 (13:07 -0700)]
lexer: Drop lexer parameter from lex_sbc_missing().

There's no point in passing in the lexer and using lex_error(),
because the extra information that lex_error() outputs does
not help the user find the error.

13 years agolexer: New function lex_error_expecting().
Ben Pfaff [Sat, 5 Nov 2011 18:23:23 +0000 (11:23 -0700)]
lexer: New function lex_error_expecting().

This centralizes some fairly common strings into lexer.c.

13 years agoLOOP: Correctly implement MXLOOPS and add a test.
Ben Pfaff [Sat, 5 Nov 2011 23:11:59 +0000 (16:11 -0700)]
LOOP: Correctly implement MXLOOPS and add a test.

Previously the MXLOOPS value was implemented incorrectly: the
loop would actually iterate MXLOOPS+1 times.  This commit fixes
the problem.

13 years agosettings: Implement MXLOOPS subcommand.
Ben Pfaff [Sat, 5 Nov 2011 23:10:54 +0000 (16:10 -0700)]
settings: Implement MXLOOPS subcommand.

It had been overlooked.

The following commit adds a test.

13 years agosettings: Update default MXLOOPS and document.
Ben Pfaff [Sat, 5 Nov 2011 23:09:18 +0000 (16:09 -0700)]
settings: Update default MXLOOPS and document.

MXLOOPS should be 40 by default, for compatibility.

13 years agoSET: Warn for more obsolete subcommands.
Ben Pfaff [Sat, 5 Nov 2011 19:44:27 +0000 (12:44 -0700)]
SET: Warn for more obsolete subcommands.

13 years agodoc: Remove reference to unimplemented SET PAGER command.
Ben Pfaff [Sun, 6 Nov 2011 03:22:40 +0000 (20:22 -0700)]
doc: Remove reference to unimplemented SET PAGER command.

Bug #33632.
Reported by John Darrington.

13 years agolexer: Rename 'close' to 'destroy' in struct lex_reader_class.
Ben Pfaff [Sat, 5 Nov 2011 04:45:49 +0000 (21:45 -0700)]
lexer: Rename 'close' to 'destroy' in struct lex_reader_class.

This seems like a cleaner solution to the problem of Gnulib
sometimes defining 'close' as a macro than to add an extra
include file and a big comment.

13 years agogui: Fix spelling error in macro name.
Ben Pfaff [Wed, 2 Nov 2011 05:04:02 +0000 (22:04 -0700)]
gui: Fix spelling error in macro name.

13 years agogui: Make .csv available for output export with File|Export.
Ben Pfaff [Wed, 2 Nov 2011 05:02:56 +0000 (22:02 -0700)]
gui: Make .csv available for output export with File|Export.

The hard-coded 6 here was wrong: there are 7 file formats.
It's better to use the n_FT constant.

13 years agogui: Fix configuring Unicode box characters.
Ben Pfaff [Wed, 2 Nov 2011 04:54:46 +0000 (21:54 -0700)]
gui: Fix configuring Unicode box characters.

Commit 14b3603043 "ascii: Add support for multibyte characters"
changed how the box characters are configured but failed to
update psppire-output-window.c, so attempting to paste a table
into an application that accepts UTF-8 text would output many
warnings like "unknown option `box[0201]'" and not actually use
Unicode box characters.

This fixes the problem.

13 years agoNew object: psppire-lex-reader
John Darrington [Sun, 23 Oct 2011 17:44:42 +0000 (19:44 +0200)]
New object: psppire-lex-reader

This object reads lexer input direct from a GtkBuffer instead of converting to a string first.

13 years agoRemove duplicate #include lines
John Darrington [Sun, 23 Oct 2011 12:42:51 +0000 (14:42 +0200)]
Remove duplicate #include lines

13 years agoRemove labelling options from Crosstabs GUI
John Darrington [Mon, 24 Oct 2011 18:06:04 +0000 (20:06 +0200)]
Remove labelling options from Crosstabs GUI

The previous change removed the label options from the crosstabs commmand,
but didn't update the gui accordingly.  This change fixes that.

13 years agoUse variable labels in crosstabs.
John Darrington [Wed, 19 Oct 2011 17:55:00 +0000 (19:55 +0200)]
Use variable labels in crosstabs.

Use a variable's label instead of its name (if it has one) in the crosstabs
output.  Removed the FORMAT=LABEL subcommand which is no longer supported
by spss.  Updated documentation to reflect the code.

13 years agoRemove redundant error message.
John Darrington [Wed, 12 Oct 2011 09:44:01 +0000 (11:44 +0200)]
Remove redundant error message.

This error message is not required, because lex_force_string already emits such message.

13 years agoConsolidate some very similar user visible strings
John Darrington [Wed, 12 Oct 2011 09:41:10 +0000 (11:41 +0200)]
Consolidate some very similar user visible strings

13 years agoAdded some missing gettext macros
John Darrington [Wed, 12 Oct 2011 07:02:15 +0000 (09:02 +0200)]
Added some missing gettext macros

13 years agoFix potential problems with non-literal printf arguments.
John Darrington [Sun, 9 Oct 2011 14:42:56 +0000 (16:42 +0200)]
Fix potential problems with non-literal printf arguments.

In a few places we were passing a constructed string to a printf-like
function as its format argument.  This could have been problematic if
the constructed string had contained a % (for example due to that
character occuring in a variable label).  This change avoids those
situations.

13 years agoFix incorrectly ordered arguments to xcalloc
John Darrington [Fri, 7 Oct 2011 12:15:35 +0000 (14:15 +0200)]
Fix incorrectly ordered arguments to xcalloc

The gnulib xcalloc call has the following signature:
 void *calloc(size_t N, size_t S);
where N is the number of objects and S is the size of each object.
In many places, we had these arguments transposed. In many implementations
this doesn't matter since the two arguments are simply multiplied together.
However, on some systems this can cause problems (ie crash), if S is zero.
This change fixes all calls where the size was being passes as the first
argument instead of the second.

13 years agoFixed a crash in the oneway command
John Darrington [Fri, 7 Oct 2011 11:28:19 +0000 (13:28 +0200)]
Fixed a crash in the oneway command

13 years agoAdd a warning to GLM until we've sorted out its problems
John Darrington [Thu, 6 Oct 2011 07:28:45 +0000 (09:28 +0200)]
Add a warning to GLM until we've sorted out its problems

13 years agoRemove visibility from the univariate analysis menu until it works better
John Darrington [Thu, 6 Oct 2011 07:15:00 +0000 (09:15 +0200)]
Remove visibility from the univariate analysis menu until it works better

13 years agoAdded a base parameter to the interaction_case_hash function
John Darrington [Wed, 5 Oct 2011 13:52:18 +0000 (15:52 +0200)]
Added a base parameter to the interaction_case_hash function

13 years agoFix crash on parseing invalid GLM syntax
John Darrington [Wed, 5 Oct 2011 06:10:55 +0000 (08:10 +0200)]
Fix crash on parseing invalid GLM syntax

13 years agoImplemented the SET=TNUMBERS subcommand
John Darrington [Thu, 29 Sep 2011 11:22:00 +0000 (13:22 +0200)]
Implemented the SET=TNUMBERS subcommand

13 years agoOptimisation for the type3 sum of squares procedure
John Darrington [Thu, 29 Sep 2011 08:37:02 +0000 (10:37 +0200)]
Optimisation for the type3 sum of squares procedure

13 years agoCorrected example files. Closes bug #34343
John Darrington [Thu, 29 Sep 2011 08:35:26 +0000 (10:35 +0200)]
Corrected example files. Closes bug #34343

13 years agoFixed a crash in REGRESSION when there were no non-missing values.
John Darrington [Wed, 28 Sep 2011 17:55:45 +0000 (19:55 +0200)]
Fixed a crash in REGRESSION when there were no non-missing values.

13 years agoMove interaction subset predicates out of glm.c into interaction.c
John Darrington [Fri, 23 Sep 2011 13:56:45 +0000 (15:56 +0200)]
Move interaction subset predicates out of glm.c into interaction.c

Renamed function:   is_subset --> interaction_is_proper_subset
                    drop_from_submodel --> interaction_is_subset
and moved them into interaction.c  This seems to me to be easier
to understand, and more efficient.

13 years agoGLM: Add a test for a full factorial anova example
John Darrington [Fri, 23 Sep 2011 12:58:01 +0000 (14:58 +0200)]
GLM: Add a test for a full factorial anova example

13 years agoSmake give correct dependencies where they are well defined
John Darrington [Fri, 23 Sep 2011 12:29:40 +0000 (14:29 +0200)]
Smake give correct dependencies where they are well defined

13 years agoAdded dialog box for univariate anova.
John Darrington [Sun, 25 Sep 2011 11:22:56 +0000 (13:22 +0200)]
Added dialog box for univariate anova.

Added a dialog box to conduct a univariate anova using the GLM
command.  Currently only entry of the dependent variable and the
factors are possible.   Choosing the interactions must be done
through syntax, if the default is not what the user wants.

13 years agoFix warnings and remove conditional compilation which is no longer necessary
John Darrington [Tue, 20 Sep 2011 19:02:01 +0000 (21:02 +0200)]
Fix warnings and remove conditional compilation which is no longer necessary

13 years agoFixed type 3 sums of squares for models containing interactions
Jason H Stover [Sun, 18 Sep 2011 21:10:17 +0000 (17:10 -0400)]
Fixed type 3 sums of squares for models containing interactions

13 years agoAdded a summary introduction to INSTALL, to try to make it less frightening to inexpe...
John Darrington [Sat, 10 Sep 2011 07:25:28 +0000 (09:25 +0200)]
Added a summary introduction to INSTALL, to try to make it less frightening to inexperienced users

13 years agoMoved call to gl_NEXT_HEADER outside the conditional.
John Darrington [Tue, 6 Sep 2011 19:48:48 +0000 (21:48 +0200)]
Moved call to gl_NEXT_HEADER outside the conditional.

Fixes bug #33585

13 years agoFile Open dialog: disable encoding selector when not applicable
John Darrington [Sat, 3 Sep 2011 12:14:50 +0000 (14:14 +0200)]
File Open dialog: disable encoding selector when not applicable

13 years agoFilter file choosers by mimetype instead of file name
John Darrington [Sat, 3 Sep 2011 11:29:47 +0000 (13:29 +0200)]
Filter file choosers by mimetype instead of file name

13 years agoAvoid compiler warnings about uninitialised variables.
John Darrington [Sat, 3 Sep 2011 04:54:16 +0000 (06:54 +0200)]
Avoid compiler warnings about uninitialised variables.

Some compilers produced warnings about possible use of
uninitialised variables (although such use was in fact not possible)
These warnings were harmless (perhaps even erroneous) but
it's no problem to avoid them.

13 years agoFix make makedistcheck and re-organize icon paths.
John Darrington [Fri, 2 Sep 2011 18:59:54 +0000 (20:59 +0200)]
Fix make makedistcheck and re-organize icon paths.

This change does several things:

* renamed psppicon.png to pspp.png - The word "icon" is redundant
  (it's also a misuse of English).

* Changed the install target of the existing 16x16 pictograms out of the apps
  directory. Instead, they now go in a directory of their own called "pspp".
  This is more in line with what other applications seem to do.  It also makes
  it a lot easier to deal uninstall them, since we can be reasonably sure that
  everything in the "pspp" directory was put there by us.

* Ensures that make distcheck passes.

13 years agoGLM: Disable the interactions option until it actually gives the right results
John Darrington [Sun, 28 Aug 2011 12:01:51 +0000 (14:01 +0200)]
GLM: Disable the interactions option until it actually gives the right results

13 years agoAdded an implementation of the median test
John Darrington [Sun, 28 Aug 2011 10:39:51 +0000 (12:39 +0200)]
Added an implementation of the median test

13 years agoFix build error if "close" macro is not always visible.
Ben Pfaff [Fri, 26 Aug 2011 03:28:26 +0000 (20:28 -0700)]
Fix build error if "close" macro is not always visible.

Harry Thijssen <pspp@sjpaes.nl> reported the following errors
with recent Gnulib on Win32:

src/language/lexer/lexer.c: In function 'lex_source_destroy':
src/language/lexer/lexer.c:1455: error: 'const struct
    lex_reader_class' has no member named 'rpl_close'
src/language/lexer/lexer.c:1456: error: 'const struct
    lex_reader_class' has no member named 'rpl_close'

The problem was that the Gnulib substitute for <unistd.h>
defines close to rpl_close, but this macro definition wasn't
visible when lexer.c included lexer.h and became visible later.
This commit fixes the problem by making sure that the macro
definition is always visible in lexer.h.

A better solution would probably be to rename the 'close'
member to something other than a standard POSIX function name.

The change to control-stack.h is just precautionary; Harry
didn't report the same problem there.

13 years agorange-set: Fix typo in comment.
Ben Pfaff [Thu, 25 Aug 2011 03:51:47 +0000 (20:51 -0700)]
range-set: Fix typo in comment.

13 years agoImprove paste to Openoffice.org &c
John Darrington [Wed, 24 Aug 2011 07:29:49 +0000 (09:29 +0200)]
Improve paste to Openoffice.org &c

Added "css" and "borders" options to the html driver, and
set these options to false when generating clipboard data.
This produces better looking results when cut & pasting to
OOo

13 years agoUpdate the recommended gnulib commit, since it contains an important w32 fix
John Darrington [Tue, 23 Aug 2011 19:29:52 +0000 (21:29 +0200)]
Update the recommended gnulib commit, since it contains an important w32 fix

13 years agoFix warnings
John Darrington [Tue, 23 Aug 2011 19:26:20 +0000 (21:26 +0200)]
Fix warnings

13 years agopo: Add French translation from http://translationproject.org
Ben Pfaff [Tue, 23 Aug 2011 16:07:56 +0000 (09:07 -0700)]
po: Add French translation from translationproject.org

13 years agogui: Add missing $(DESTDIR) to install rule.
Ben Pfaff [Sun, 21 Aug 2011 23:57:13 +0000 (16:57 -0700)]
gui: Add missing $(DESTDIR) to install rule.

Also, delete white space from otherwise blank line.

13 years agoglade: Fix building libglade_psppire.
Ben Pfaff [Sat, 20 Aug 2011 21:47:25 +0000 (14:47 -0700)]
glade: Fix building libglade_psppire.

Otherwise GCC can't find the gtksourceview header files.

13 years agogui: Streamline pspp.desktop
Matìj Cepl [Sat, 20 Aug 2011 10:49:02 +0000 (12:49 +0200)]
gui: Streamline pspp.desktop

Remove the extension for Icon (unnecessary, in case in
future we want to provide for example SVG icon) and removed
unnecessary keys. Do we know for fact that we will never ever
support Notifications? And I guess if we provide the .desktop and
executable as part of the same tarball/package there is not much
chance we would have binary missing. I have also added a Czech
translation of keys.

Signed-off-by: Matìj Cepl <mcepl@redhat.com>
13 years agoMerge remote branch 'origin/sourceview'
John Darrington [Sat, 20 Aug 2011 05:52:41 +0000 (07:52 +0200)]
Merge remote branch 'origin/sourceview'

13 years agopo: Update Spanish translation from translation-project.org.
Ben Pfaff [Fri, 19 Aug 2011 04:36:48 +0000 (21:36 -0700)]
po: Update Spanish translation from translation-project.org.

13 years agopo: Update Catalan translation from translation-project.org.
Ben Pfaff [Fri, 19 Aug 2011 04:35:04 +0000 (21:35 -0700)]
po: Update Catalan translation from translation-project.org.

13 years agogui: Ignore the -psn_xxx option passed to Mac desktop apps.
Ben Pfaff [Thu, 18 Aug 2011 04:57:17 +0000 (21:57 -0700)]
gui: Ignore the -psn_xxx option passed to Mac desktop apps.

Jeremy Lavergne <jeremy@lavergne.gotdns.org> reports that this
is necessary to make PSPPIRE launch gracefully on the Mac.

13 years agoUpgrade to newest Gnulib to help relocatable-prog on Mac OS X.
Ben Pfaff [Tue, 16 Aug 2011 05:39:53 +0000 (22:39 -0700)]
Upgrade to newest Gnulib to help relocatable-prog on Mac OS X.

--enable-relocatable currently fails on Mac OS X due to a link
error related to symbols that Gnulib is supposed to replace.
I see that Gnulib has the following commits, not previously in
PSPP, that mention related changes:

357d319 relocatable-lib: Move AC_LIBOBJ invocations to module description.
c2d8c01 relocatable-prog: Move AC_LIBOBJ invocations to module description.
325f131 relocatable-prog-wrapper: Fix possible link error.
886f850 relocatable-prog-wrapper: Assume strerror() exists.
02d4f86 relocatable-prog-wrapper: Update after module 'areadlink' changed.
d14f18b relocatable-prog-wrapper: Update after module 'areadlink' changed.
69c99f3 * lib/relocwrapper.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
ef11bf4 * lib/relocatable.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
10d90c8 * lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
4e51bc9 unictype/property-byname: Reduce the number of load-time relocations.
fb6aa6a relocatable-prog: fix link error

This commit updates PSPP to capture those changes.  It also
makes the changes recommended by Gnulib's NEWS.

13 years agoAdded an implementation for the One Sample Kolmogorov-Smirnov Test
John Darrington [Sat, 13 Aug 2011 16:05:37 +0000 (18:05 +0200)]
Added an implementation for the One Sample Kolmogorov-Smirnov Test

13 years agoImplemented the KMO and Bartlett test in the FACTOR command
John Darrington [Sun, 31 Jul 2011 14:21:36 +0000 (16:21 +0200)]
Implemented the KMO and Bartlett test in the FACTOR command

13 years agoSet the "local-only" property on GtkFileChooser widgets to FALSE
John Darrington [Sun, 7 Aug 2011 09:38:37 +0000 (11:38 +0200)]
Set the "local-only" property on GtkFileChooser widgets to FALSE

13 years agorange-set: Skip some tests on llvm-gcc 4.2.
Ben Pfaff [Wed, 13 Jul 2011 04:52:37 +0000 (21:52 -0700)]
range-set: Skip some tests on llvm-gcc 4.2.

These tests seem to trigger a bug in llvm-gcc 4.2 on Mac OS X
10.8.0.  Experimentation shows that the bug is more likely to
be triggered by the test code than the code under test, so skip
them.

I spent some time trying to narrow down the problem enough to
make a bug report to the llvm-gcc developers, but I ran out of
time before I finished with that.

Thanks to Jeremy Lavergne <jeremy@lavergne.gotdns.org> for
reporting the problem.

13 years agoOneway Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 14:19:23 +0000 (16:19 +0200)]
Oneway Dialog: Cosmetic Improvements

13 years agoNpar K-related Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 14:09:35 +0000 (16:09 +0200)]
Npar K-related Dialog: Cosmetic Improvements

13 years agoDescriptives Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 14:01:57 +0000 (16:01 +0200)]
Descriptives Dialog: Cosmetic Improvements

13 years agoBinomial Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 13:54:02 +0000 (15:54 +0200)]
Binomial Dialog: Cosmetic Improvements

13 years agoRegression Dialog: Cosmetic improvements
John Darrington [Sat, 30 Jul 2011 13:50:31 +0000 (15:50 +0200)]
Regression Dialog: Cosmetic improvements

13 years agoK-Means Dialog: Cosmetic improvements
John Darrington [Sat, 30 Jul 2011 13:43:08 +0000 (15:43 +0200)]
K-Means Dialog: Cosmetic improvements

13 years agoCorrelations Dialog: Cosmetic improvements
John Darrington [Sat, 30 Jul 2011 13:37:58 +0000 (15:37 +0200)]
Correlations Dialog: Cosmetic improvements

13 years agoFactor Dialog: Add mnemonics
John Darrington [Sat, 30 Jul 2011 12:14:18 +0000 (14:14 +0200)]
Factor Dialog: Add mnemonics

13 years agoAdded use-underline and mnemonic-widget properties to PsppireScanf
John Darrington [Sat, 30 Jul 2011 12:01:29 +0000 (14:01 +0200)]
Added use-underline and mnemonic-widget properties to PsppireScanf

13 years agoReplaced the function widget_scanf with a new widget psppire_scanf
John Darrington [Sat, 30 Jul 2011 10:18:21 +0000 (12:18 +0200)]
Replaced the function widget_scanf with a new widget psppire_scanf

13 years agoReliability Dialog: Fix broken mnemonics
John Darrington [Fri, 29 Jul 2011 15:59:48 +0000 (17:59 +0200)]
Reliability Dialog: Fix broken mnemonics

13 years agoPsppireKeypad: Correct the parent class declaration
John Darrington [Fri, 29 Jul 2011 09:54:38 +0000 (11:54 +0200)]
PsppireKeypad: Correct the parent class declaration

13 years agoFix problem building under Gtk+2.18
John Darrington [Fri, 29 Jul 2011 14:12:38 +0000 (16:12 +0200)]
Fix problem building under Gtk+2.18

13 years agoMakefile.am: update location of gitlog-to-changelog script
John Darrington [Thu, 28 Jul 2011 19:39:23 +0000 (21:39 +0200)]
Makefile.am: update location of gitlog-to-changelog script

13 years agoChi-square Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:50:12 +0000 (19:50 +0200)]
Chi-square Dialog: Cosmetic changes

13 years agoFrequencies Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:25:28 +0000 (19:25 +0200)]
Frequencies Dialog: Cosmetic changes

13 years agoCrosstabs Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:04:58 +0000 (19:04 +0200)]
Crosstabs Dialog: Cosmetic changes

13 years agoFix crash in Correlations
John Darrington [Thu, 28 Jul 2011 10:16:14 +0000 (12:16 +0200)]
Fix crash in Correlations

13 years agoFix memory leak
John Darrington [Sun, 24 Jul 2011 09:11:20 +0000 (11:11 +0200)]
Fix memory leak

13 years agoglm.c: new function design_full to create default interactions
John Darrington [Sat, 23 Jul 2011 11:39:33 +0000 (13:39 +0200)]
glm.c: new function design_full to create default interactions

13 years agoFixed crash when interactions have no instances
John Darrington [Fri, 22 Jul 2011 17:35:43 +0000 (19:35 +0200)]
Fixed crash when interactions have no instances

13 years agoConstness
John Darrington [Fri, 22 Jul 2011 17:01:05 +0000 (19:01 +0200)]
Constness

13 years agoMade GLM as well as ONEWAY work
John Darrington [Fri, 22 Jul 2011 13:39:36 +0000 (15:39 +0200)]
Made GLM as well as ONEWAY work

13 years agoMove call to categoricals_done earlier in the covariance code
John Darrington [Fri, 22 Jul 2011 13:03:10 +0000 (15:03 +0200)]
Move call to categoricals_done earlier in the covariance code

13 years agoConstness
John Darrington [Fri, 15 Jul 2011 10:34:51 +0000 (12:34 +0200)]
Constness

13 years agoExtended the glm command to accept interactions. Unfortunately the ssqs are wrong
John Darrington [Thu, 14 Jul 2011 21:43:11 +0000 (23:43 +0200)]
Extended the glm command to accept interactions.  Unfortunately the ssqs are wrong

13 years agocategoricals.c: Fixed part of the dump function
John Darrington [Tue, 12 Jul 2011 09:29:35 +0000 (11:29 +0200)]
categoricals.c: Fixed part of the dump function

13 years agocategoricals.c: Rename var_params to interact_params
John Darrington [Tue, 12 Jul 2011 09:09:46 +0000 (11:09 +0200)]
categoricals.c: Rename var_params to interact_params

13 years agoRemove unused function
John Darrington [Mon, 11 Jul 2011 15:38:22 +0000 (17:38 +0200)]
Remove unused function

13 years agoFix ssq for interactions
John Darrington [Mon, 11 Jul 2011 14:47:18 +0000 (16:47 +0200)]
Fix ssq for interactions

13 years agoGLM: get_ssq: replace hardcoded 1 with cmd->n_dep_vars
John Darrington [Mon, 11 Jul 2011 06:58:46 +0000 (08:58 +0200)]
GLM: get_ssq: replace hardcoded 1 with cmd->n_dep_vars

13 years agoGLM: remove design_vars which are now superseeded by interactions
John Darrington [Thu, 7 Jul 2011 10:25:48 +0000 (12:25 +0200)]
GLM: remove design_vars which are now superseeded by interactions

13 years agoGLM: Fix memory leaks
John Darrington [Thu, 7 Jul 2011 10:14:29 +0000 (12:14 +0200)]
GLM: Fix memory leaks

13 years agoCategoricals: remove var member which is no longer required
John Darrington [Thu, 7 Jul 2011 09:39:21 +0000 (11:39 +0200)]
Categoricals: remove var member which is no longer required

13 years agoCategoricals: Replace single value by a case, so that interactions can be supported
John Darrington [Wed, 6 Jul 2011 18:56:42 +0000 (20:56 +0200)]
Categoricals: Replace single value by a case, so that interactions can be supported

13 years agoChange interaction functions to use cases rather than value arrays
John Darrington [Wed, 6 Jul 2011 15:54:32 +0000 (17:54 +0200)]
Change interaction functions to use cases rather than value arrays

13 years agoCategoricals to take interactions instead of variables.
John Darrington [Tue, 5 Jul 2011 17:45:31 +0000 (19:45 +0200)]
Categoricals to take interactions instead of variables.

This change alters the API of categoricals_create, so as to
accept an array of interactions instead of an array of variables.
Currently, however only interactions which contain exactly one
variable will run correctly.