Skip to content

Using anova vs. Anova for linear mixed model

4 messages · Alday, Phillip, Kevin Chu, John Fox +1 more

#
Dear Jon, dear Kevin,

I suspect Kevin is using lmerTest and not lme4 directly. lmerTest does have a type argument for anova()  and defaults to the Satterthwaite ddf approximation.

Phillip

Sent from my mobile, please excuse the brevity.
#
Hello Dr. Alday and Dr. Fox,

Thank you for your replies. I am indeed using the anova method from lmerTest with the default Satterthwaite method for estimating ddf.

I am not a statistics expert (I am a graduate student in electrical and computer engineering), so I do not entirely understand the differences between ANOVA types. I ran the anova method using the three ANOVA types, but I obtained very similar p-values. The part I am suspicious about is that the sum of squares for the STRATEGY factor is exactly equal to 0, which I suspect may be due to the missing cells.

My question: Do I need to specify any arguments in the anova method so that it can handle missing cells?

Thank you,
Kevin
On Sep 13, 2019, at 11:08 AM, Alday, Phillip <Phillip.Alday at mpi.nl<mailto:Phillip.Alday at mpi.nl>> wrote:
Dear Jon, dear Kevin,

I suspect Kevin is using lmerTest and not lme4 directly. lmerTest does have a type argument for anova()  and defaults to the Satterthwaite ddf approximation.

Phillip

Sent from my mobile, please excuse the brevity.
#
Dear Kevin,

My brief advice is to use "type-II" tests (and to say that "type-I", i.e., sequential, tests are rarely sensible). The different "types" of tests address different hypotheses (unless the data are balanced), and it really isn't a good to do all of them in the same analysis.

The distinctions among the "types" of tests are sufficiently intricate that I'd rather not address them in an email, and the presence of empty cells complicates the matter. Depending on the configuration of empty cells, for example, some interactions might not be estimable and in any event will not be estimable in their entirety. You could do some reading (for example, these issues are addressed in my Applied Regression Analysis and Generalized Linear Models text), but I suggest that you seek competent statistical help, which is surely available locally at Duke. I suspect that there are substantive statistical issues concerning sparsity of data that need to be addressed on a non-mechanical level.

Best,
 John
  -----------------------------
  John Fox, Professor Emeritus
  McMaster University
  Hamilton, Ontario, Canada
  Web: http::/socserv.mcmaster.ca/jfox
1 day later
#
You may also want to try "drop1" native to the lme4 package for comparison
On Sun, Sep 15, 2019 at 9:38 AM Kevin Chu <kevin.m.chu at duke.edu> wrote: