Skip to main content

All Questions

Tagged with
1 vote
0 answers
13 views

Am I using the correct test statistic for a binomial glm using the type III Anova function in the package car?

I am trying to look at how the likelihood of event Y is influenced by two factors A (5 levels) and B (2 levels) and my model is as follows: ...
Insect_biologist's user avatar
5 votes
2 answers
166 views

Why do I get a negative chi-squared value in my type III ANOVA output for my binomial GLM?

I am trying to look at how the likelihood of event X occurring is affected by three factors A (5 levels), B (2 levels) and C (3 levels). To do this I have run a binomial glm followed by a type 3 ANOVA ...
Insect_biologist's user avatar
3 votes
1 answer
160 views

Why does the Type-3 ANOVA using LRT via car::Anova() give different result than term-by-term LRT model comparison via anova() in R?

With this very simple data: ...
Couchiagna's user avatar
6 votes
1 answer
981 views

What exactly do Anova sums of squares represent in lmer models?

In a lme4::lmer model, the anova function returns an sequential analysis of variance table. As explained on page 34 of http://...
mjandrews's user avatar
  • 281
3 votes
0 answers
1k views

Is the F test in ANOVA a likelihood ratio or Wald's one?

I'm trying to figure out, if the F test in ANOVA is the Wald's test or LRT? I learned, that the LRT compare nested models and "assess" the reduction in residual variance. This would justify ...
Blitzkordk's user avatar
3 votes
0 answers
92 views

Regarding the type 2 or 3 ANOVA, does the analysis via model reduction correspond to LRT and via contrasts - to Wald approach?

I noticed, that in R we can obtain type 2 and type 3 ANOVA in many ways in unbalanced designs: For example, for type-2 car::Anova(...type=2), by running anova() over a sequence of models with swapped ...
Tereira's user avatar
  • 91
2 votes
1 answer
235 views

Why use an ANOVA/LRT to test for significance of a factor?

I've been asked to use a likelihood ratio test to test for the significance of a main effect in a linear model. I have done so as follows: anova(model1, model2) ...
Characas's user avatar
  • 121
0 votes
1 answer
118 views

Testing independence and setting constraint matrices in a multinomial logit model in R

I have a data set the looks like this (called rand_df as this is a random subset from the much larger dataframe): ...
David Smith's user avatar
1 vote
2 answers
4k views

ANOVA vs likelihood ratio test (different result)

I found the likelihood ratio test has a very similar setup as ANOVA: we are essentially testing if adding an additional variable would significantly increase the fitness. So I run both statistical ...
Taotao Tan's user avatar
2 votes
2 answers
235 views

On the P-value of the variance of random intercept in glmer model

I'm using a logistic mixed-effect model with random intercept through glmer function from lme4 package. I want to test the ...
user1988's user avatar
  • 155
0 votes
1 answer
49 views

Does the R anova() or car::Anova() care of the type 1 error being a series of LR tests over nested models?

As in the question. Isn't it that the output of anova(model, model_reduced) or car::Anova(model, type=3) makes the problem of multiple comparisons? What about the aov(), which is type 1 ANOVA, but ...
CuriousAsker10's user avatar
4 votes
2 answers
1k views

How can I show that the LRT of $H_0:\theta_0=\theta_1=...=\theta_k$ is given by the F test under one-way ANOVA assumptions?

I am a bit curious as to how I can show this. I am aware that you can find this by using the union-intersection test, but it has been hinted that one can use the LRT test to find that LRT for $H_0$ is ...
Ron Snow's user avatar
  • 2,103
1 vote
0 answers
59 views

Why do the car::Anova(test="LRT", type=3) and anova(test="LRT") slightly differ in the output (details inside) [duplicate]

Let's say we have this data: ...
Damasco's user avatar
  • 163
2 votes
0 answers
104 views

Using likelihood ratio test to compare 2 nested simple linear models instead of anova

Is it valid to use a likelihood ratio test to compare 2 nested linear models instead of anova? I'm trying to assess whether the quadratic model is a better fit to the data. I know anova seems to be ...
Erika_Hammerl246's user avatar
1 vote
1 answer
218 views

Select mixed model same degree of freedom

When I have a two mixed models (lme function) with different df then ANOVA summary shows the p-value of likelihood ratio test as following : ...
user210804's user avatar

15 30 50 per page