1
$\begingroup$

I am analysing data using a GLM. In some GLM-s data is binary while in others the response variable is count data. I want to know if it is necessary to use an ANOVA after constructing the GLM model. Or is it enough to report the p-values of the GLM-s?

$\endgroup$
12
  • 1
    $\begingroup$ That depends on the hypothesis you are interested in testing. $\endgroup$
    – Roland
    Commented Jun 7, 2017 at 13:49
  • 2
    $\begingroup$ I just want to see the effect of one variable on the other, for example the effect of prey abundance on the number of weasels. I am not planning to check for differences between samples $\endgroup$
    – Kamal
    Commented Jun 7, 2017 at 14:48
  • 1
    $\begingroup$ You can test this within the GLM framework. With the kinds of data you describe, the ANOVA assumptions will not typically hold. $\endgroup$
    – Glen_b
    Commented Jun 8, 2017 at 5:59
  • 1
    $\begingroup$ It depends on what that ANOVA is doing. For example, if you want to test a multilevel factor variable in a linear regression with other predictors. you can't just look at the plain linear regression output. You could fit a sequence of linear models to test hypotheses like that (and call anova in R to get a p-value). Well you can do something quite similar with a GLM, but it's analysis of deviance and based on asymptotic chi-square tests rather than small-sample F results. You're not very clear about what things you want to find out. $\endgroup$
    – Glen_b
    Commented Jun 8, 2017 at 10:57
  • 1
    $\begingroup$ Then yeah it sounds like it's possible to see from the results of the various GLMs, though I'm not clear on all the details from this brief discussion. $\endgroup$
    – Glen_b
    Commented Jun 8, 2017 at 11:26

1 Answer 1

1
$\begingroup$

The ANOVA test, of the regression equation, is essentially a test to determine if your proposed model is "better" than simply modelling the outcome using only the mean (of the outcome).

As per your comments nothing is forcing you to run ANOVA style testing, but most standard software will compute it for you regardless. In your case it does not seem in particular relevant.

$\endgroup$
4
  • $\begingroup$ Thank you @Repmat. So ANOVA can also be conducted on GLM models which are constructed on binary data? $\endgroup$
    – ChzM
    Commented Jun 7, 2017 at 18:43
  • 1
    $\begingroup$ @kamel yes indeed, typically this is referred to as the chi square test of the (logit) model. $\endgroup$
    – Repmat
    Commented Jun 7, 2017 at 18:56
  • 1
    $\begingroup$ Usually it would be called an analysis of deviance. $\endgroup$ Commented Jun 7, 2017 at 19:16
  • 1
    $\begingroup$ Thank you for the help. I will then remove the ANOVA analysis from the paper since the GLM already proved the effect of one variable on the other. $\endgroup$
    – ChzM
    Commented Jun 8, 2017 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.