[R] question about the anova() function for deviance analysis

Bert Gunter bgunter.4567 at gmail.com
Mon Apr 17 03:16:22 CEST 2017

This list is about R programming; your question seems mostly about
statistics, and is therefore off topic here. I suggest you consult a
local statistical expert who *is* comfortable with such statistical
analyses. In general, partitions of sums of squares in statistical
models can depend on the order of model terms, but you have provided
so little information that I doubt that anyone can guess to what
exactly you refer.


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Sun, Apr 16, 2017 at 6:46 AM, Sophie Dubois
<sophie.dubois at anastats.fr> wrote:
> Dear Maintener,
>> I have recently had a bad experience with the anova() function.
>> Indeed, I wanted to process a deviance analysis between 2 mixed linear
>> models and I was really surprise to see that depending on the ordre in
>> which I gave my models, the function did not the same thing: once it
>> makes the anova of the first model and in the other ordre, it makes a
>> deviance analysis.
>> I make lots of formations to researchers who are not always very
>> comfortable either with R or with some statistical analysis and they
>> were really very disturbed by that.
>> Could this be possible to "secure" this anova function in order that
>> it does the same thing whatever the order in which the models are given?
>> Hope I was clear enought and many thanks in advance for your regard
>> about my question.
>> Best regards, Sophie
> --
> Sophie Dubois
> sophie.dubois at anastats.fr
> ---
> L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
> https://www.avast.com/antivirus
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list