On Sat, Aug 13, 2011 at 05:28:48PM +0000, John Darrington wrote:
> On Fri, Aug 12, 2011 at 05:37:20PM -0400, Jason Stover wrote:
>
> I looked into this problem. Briefly stated, this happens because the
> meaning of "type 3 sums of squares" changes in the presence of
> interactions. The fix should be simple enough, but requires get_ssq
> to know which variables, if any, went into an interaction. Is there an
> easy way to do this?
>
> Yes.
>
> struct interaction which is defined in src/math/interaction.h is a transparent
> struct defined as follows:
>
> struct interaction
> {
> size_t n_vars;
> const struct variable **vars;
> };
>
>
> So it's easy to add a function which checks if a variable is a member of an
> interaction.
Interesting that I didn't know about this, because git log seems to say
I wrote much of it.
-Jason
_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev