[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GLM factorial analysis
From: |
Jason Stover |
Subject: |
Re: GLM factorial analysis |
Date: |
Tue, 16 Aug 2011 20:59:37 -0400 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Aug 16, 2011 at 08:49:48PM -0400, Jason Stover wrote:
> 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.
...but then I noticed you rewrote it...