Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for anova summary tagged with
Search options not deleted

lme4 and nlme are R packages used for fitting linear, generalized linear and nonlinear mixed effects models. For general questions about mixed models use [mixed-model] tag.

1 vote
1 answer
2k views

summary(), anova() type 3, Anova() type 3 not producing similar results for lmer model

() type 3 and Anova() type 3 summary() and anova() type 3 I have tried options(contrasts = c("contr.sum", "contr.poly")) and it does not change any results. … I have run my pre-determined contrasts of interest using emmeans, which had high significance, so I'm having a hard time understanding why the Anova() type 3 and summary() aren't showing any significance …
iastatecy's user avatar
4 votes
1 answer
7k views

Differences between summary and anova function for multilevel (lmer) model

I have found that the summary() function and the anova() function from lmertest yield different results. … However, I am finding that the anova function does not return a significant interaction effect Origin:Fert, whereas the summary function reports that OriginCO:FertUnfertilized is significant. …
Jake's user avatar
  • 41
1 vote
1 answer
2k views

Different p values for anova and summary in lme

Here is the problem: when I run the anova command 'Religion' is significant, but it is not if I then run the summary of the saturated model. … . + Group:Religion) anova(baseline, GroupM, ReligionM, Group_Rel) summary(Group_Rel) and here is the output: # Model df AIC BIC logLik Test L.Ratio p-value # baseline 1 5 1822.944 …
Nicole's user avatar
  • 35
0 votes
0 answers
34 views

How do I interpret output of lmer summary and anova

I have created multiple linear mixed effect models to determine the effects of these variables on shannon diversity value. summary(lmer_model_precip) Linear mixed model fit by REML ['lmerMod'] Formula: … Error t value (Intercept) 0.06001 0.01213 4.945 Flower_Quantity -0.02689 0.02739 -0.982 Correlation of Fixed Effects: (Intr) Flowr_Qntty -0.778 anova(lmer_model_precip) Analysis …
daphniademon's user avatar
7 votes
1 answer
5k views

Big difference between a t-test and a F-test in a mixed model (anova vs summary in lmerTest)

As can be seen from the summary output below, the t.tests do not show a significant congruity effect (p = 0.12), while the anova output shows a very significant congruity effect (p = 2.8e-10). … I am therefore unsure what causes the very significant result in the anova output. …
Ishisht's user avatar
  • 237
1 vote
0 answers
105 views

Why an anova after lme (or lm) [duplicate]

I would like to understand why an anova is made on a lme (or lmer) and how to interpret the anova output. lm1 <- lme(EWL..mg.h. ~ Condition*Session + Condition*Sex + Condition*Mass, random = ~1|Individu … , data = data_respiro_acoustic) summary(m1) Anova(m1, type = c("III")) Summary Output : Linear mixed-effects model fit by REML Data: data_respiro_acoustic AIC BIC logLik 1232.332 …
Grosbedo Costo's user avatar
2 votes
0 answers
754 views

Discrepancy between `anova` and `summary` outputs with `lmer` in the presence of interactions [duplicate]

However, if I use both anova and summary, I obtain results that I am not sure on how to interpret. … As you can see, the t value from summary is 2.04 and the F value from anova is 0.0416. …
ariadello's user avatar
15 votes
1 answer
16k views

Conflicting results of summary() and anova() for a mixed model with interactions in lmer+lme...

In fact, it seems that the anova(model, type = 3) function is actually using type 2 SS, which we can verify by running anova(model, type = 2). … Here I am running only a single model using lmer and trying to understand why lmerTest::anova(model) and summary(model) are producing different P-values, despite the fact that they should be computed in …
James S.'s user avatar
  • 451
4 votes
1 answer
9k views

Output of fixed effects summary in lmerTest in R and post-hoc tests

I'm doing a two-factor ANOVA using the lmerTest package. Each factor has multiple levels. … But, I'm unsure how to interpret the summary table produced by summary() and how the numbers compare to the table produced by glht(). …
Brad's user avatar
  • 63
0 votes
2 answers
304 views

-1 in lmer() fixed effects changing df and ANOVA results

From my understanding, the addition of a -1 in the fixed effects of a lmer() model would avoid comparisons of factor levels to a baseline (e.g. the (intercept) in the model summary). … Prep library(lmerTest) mtcars$am<-as.factor(mtcars$am) Traditional model M1<-lmer(mpg~am*hp+(1|carb),data=mtcars) summary(M1) Estimate Std. …
U. Mena's user avatar
2 votes
1 answer
3k views

How to obtain the overall p-values for the main effects and interactions in a glmer model?

(m1) instead of summary(m1) I get: > anova(m1) Analysis of Variance Table Df Sum Sq Mean Sq F value trt 1 0.024 0.024 0.0238 test 2 89.561 44.780 44.7805 trt:test 2 54.305 27.153 … 27.1525 > How to get a report like anova(m1) but with associated p-values? …
Janja S.'s user avatar
1 vote
0 answers
886 views

lme with interaction: how to decide which treatment is more efficaceous? how to deal with p ...

My model is lme(var ~ treatment*period+side, method="ML", random=list(IDlog=~1), na.action=na.omit, data=changes) This is the anova of the model numDF denDF F-value p-value … .0001 treatment 2 473 3.49473 0.0311 period 4 473 12.51296 <.0001 side 1 473 12.16210 0.0005 treatment:period 8 473 2.02865 0.0416 and the summary
Martina's user avatar
  • 11
2 votes
1 answer
78 views

Type-3 ANOVA vs. t-test for binary variables in mixed effect model

Error t value Pr(>|t|) Gender2 -0.2443 0.1791 -1.364 0.1731 Information2 0.1605 0.3582 0.448 0.6543 Anova(fm1, type = 3) Anova Table (Type III tests) … This seems to solve the problem -- presumably lmerTest somehow does this automatically when calling a type 3 ANOVA. With contrast coding, the summary now matches the ANOVA for variables with 1 df. …
dhalpern's user avatar
0 votes
1 answer
6k views

Output interpretation of mixed anova with lme4 package in R

Since I have an unbalanced design (16, 19, 14 and 17 obs per group) after removing outliers, I wanted to use the lmer function to run a mixed anova (or mixed model now) in R. … (anova(lmer_mixed_ANOVA,type=3)) print(summary(lmer_mixed_ANOVA)) and I get this as output: [1] "data_RT_control" Analysis of Deviance Table (Type III Wald chisquare tests) Response: control_out …
Inkling's user avatar
  • 309
2 votes
1 answer
206 views

What is the difference between p-values in summary() and p-values given e.g. by emmeans?

I started with a maximal model and used LRTs (anova()) to remove non-significant predictors. … However, how do I know if the levels that are not shown in the summary (i.e. e.g. L23:INSTRUCTION1) are significant? …
max22's user avatar
  • 51

1
2 3 4 5
15
15 30 50 per page