What does Deviance mean in lmerIf the log-likelihood is negative, should we choose it? - model comparisonWhat to conclude about these models? Random intercept + Fixed Slope vs. Random intercept and SlopeInterpreting output of analysis of deviance table from anova() model comparisonHow can mixed-effect and fixed-effect generalised linear models be compared using BIC?Output interpretation of mixed anova with lme4 package in RHow to interpret the output of lmerTest::ranova in R?Why are the coefficients of REML and ML estimation the same? What does that mean?
Showing that the limit of non-eigenvector goes to infinity
How to gently end involvement with an online community?
Localization at a multiplicative set is a localization at a prime ideal if local
Who was president of the USA?
Is for(( ... )) ... ; a valid shell syntax? In which shells?
How to find out the average duration of the peer-review process for a given journal?
How do I get toddlers to stop asking for food every hour?
Can a Rogue PC teach an NPC to perform Sneak Attack?
Which book is the Murderer's Gloves magic item from?
How to prevent clipped screen edges on my TV, HDMI-connected?
Is there any way to keep a player from killing an NPC?
Why are non-collision-resistant hash functions considered insecure for signing self-generated information
How do proponents of Sola Scriptura address the ministry of those Apostles who authored no parts of Scripture?
Most natural way to use the negative with つもり
How do thermal tapes transfer heat despite their low thermal conductivity?
Is “I am getting married with my sister” ambiguous?
How to respectfully refuse to assist co-workers with IT issues?
Why do all fields in a QFT transform like *irreducible* representations of some group?
“T” in subscript in formulas
Architectural feasibility of a tiered circular stone keep
Are the A380 engines interchangeable (given they are not all equipped with reverse)?
Is "The life is beautiful" incorrect or just very non-idiomatic?
Would it be possible to have a GMO that produces chocolate?
Papers on arXiv solving the same problem at the same time
What does Deviance mean in lmer
If the log-likelihood is negative, should we choose it? - model comparisonWhat to conclude about these models? Random intercept + Fixed Slope vs. Random intercept and SlopeInterpreting output of analysis of deviance table from anova() model comparisonHow can mixed-effect and fixed-effect generalised linear models be compared using BIC?Output interpretation of mixed anova with lme4 package in RHow to interpret the output of lmerTest::ranova in R?Why are the coefficients of REML and ML estimation the same? What does that mean?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
Probably a rather silly question, but I would like to have a clear explanation of what deviance in linear mixed models (using lmer) is.
For instance, how do I interpret it along AIC, BIC, and LOgLik in the anova output below, when conducting a model comparison.
Thanks in advance!

r mixed-model lme4-nlme
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment |
$begingroup$
Probably a rather silly question, but I would like to have a clear explanation of what deviance in linear mixed models (using lmer) is.
For instance, how do I interpret it along AIC, BIC, and LOgLik in the anova output below, when conducting a model comparison.
Thanks in advance!

r mixed-model lme4-nlme
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment |
$begingroup$
Probably a rather silly question, but I would like to have a clear explanation of what deviance in linear mixed models (using lmer) is.
For instance, how do I interpret it along AIC, BIC, and LOgLik in the anova output below, when conducting a model comparison.
Thanks in advance!

r mixed-model lme4-nlme
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
Probably a rather silly question, but I would like to have a clear explanation of what deviance in linear mixed models (using lmer) is.
For instance, how do I interpret it along AIC, BIC, and LOgLik in the anova output below, when conducting a model comparison.
Thanks in advance!

r mixed-model lme4-nlme
r mixed-model lme4-nlme
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 8 hours ago
Helio Cuve
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 9 hours ago
Helio CuveHelio Cuve
83 bronze badges
83 bronze badges
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Helio Cuve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The deviance for a linear mixed model is defined as follows:
deviance=−2∗log likelihood
The deviance is an index of model fit: a model with a higher deviance provides a poorer model fit to the data than a model with a lower deviance.
When comparing two linear mixed effects models such as yours, you are essentially asking whether introducing additional fixed effects into the model (which will utilize additional degrees of freedom) will significantly improve the model fit.
From your R output, you can see that adding the terms tasc and tasc:condition to your simpler model which includes only the term condition in its fixed effects part lead to an improvement in model fit (as captured by the smaller deviance). This improvement is statistically significant given the reported p-value is statistically significant. Here, I used that tasc*condition is the same as tasc + condition + tasc:condition.
See here for more examples on interpreting deviance: https://web.stanford.edu/class/psych252/section/Mixed_models_tutorial.html.
$endgroup$
1
$begingroup$
thank you for the explanation @Isabella Ghement!
$endgroup$
– Helio Cuve
6 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "65"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Helio Cuve is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f423515%2fwhat-does-deviance-mean-in-lmer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The deviance for a linear mixed model is defined as follows:
deviance=−2∗log likelihood
The deviance is an index of model fit: a model with a higher deviance provides a poorer model fit to the data than a model with a lower deviance.
When comparing two linear mixed effects models such as yours, you are essentially asking whether introducing additional fixed effects into the model (which will utilize additional degrees of freedom) will significantly improve the model fit.
From your R output, you can see that adding the terms tasc and tasc:condition to your simpler model which includes only the term condition in its fixed effects part lead to an improvement in model fit (as captured by the smaller deviance). This improvement is statistically significant given the reported p-value is statistically significant. Here, I used that tasc*condition is the same as tasc + condition + tasc:condition.
See here for more examples on interpreting deviance: https://web.stanford.edu/class/psych252/section/Mixed_models_tutorial.html.
$endgroup$
1
$begingroup$
thank you for the explanation @Isabella Ghement!
$endgroup$
– Helio Cuve
6 hours ago
add a comment |
$begingroup$
The deviance for a linear mixed model is defined as follows:
deviance=−2∗log likelihood
The deviance is an index of model fit: a model with a higher deviance provides a poorer model fit to the data than a model with a lower deviance.
When comparing two linear mixed effects models such as yours, you are essentially asking whether introducing additional fixed effects into the model (which will utilize additional degrees of freedom) will significantly improve the model fit.
From your R output, you can see that adding the terms tasc and tasc:condition to your simpler model which includes only the term condition in its fixed effects part lead to an improvement in model fit (as captured by the smaller deviance). This improvement is statistically significant given the reported p-value is statistically significant. Here, I used that tasc*condition is the same as tasc + condition + tasc:condition.
See here for more examples on interpreting deviance: https://web.stanford.edu/class/psych252/section/Mixed_models_tutorial.html.
$endgroup$
1
$begingroup$
thank you for the explanation @Isabella Ghement!
$endgroup$
– Helio Cuve
6 hours ago
add a comment |
$begingroup$
The deviance for a linear mixed model is defined as follows:
deviance=−2∗log likelihood
The deviance is an index of model fit: a model with a higher deviance provides a poorer model fit to the data than a model with a lower deviance.
When comparing two linear mixed effects models such as yours, you are essentially asking whether introducing additional fixed effects into the model (which will utilize additional degrees of freedom) will significantly improve the model fit.
From your R output, you can see that adding the terms tasc and tasc:condition to your simpler model which includes only the term condition in its fixed effects part lead to an improvement in model fit (as captured by the smaller deviance). This improvement is statistically significant given the reported p-value is statistically significant. Here, I used that tasc*condition is the same as tasc + condition + tasc:condition.
See here for more examples on interpreting deviance: https://web.stanford.edu/class/psych252/section/Mixed_models_tutorial.html.
$endgroup$
The deviance for a linear mixed model is defined as follows:
deviance=−2∗log likelihood
The deviance is an index of model fit: a model with a higher deviance provides a poorer model fit to the data than a model with a lower deviance.
When comparing two linear mixed effects models such as yours, you are essentially asking whether introducing additional fixed effects into the model (which will utilize additional degrees of freedom) will significantly improve the model fit.
From your R output, you can see that adding the terms tasc and tasc:condition to your simpler model which includes only the term condition in its fixed effects part lead to an improvement in model fit (as captured by the smaller deviance). This improvement is statistically significant given the reported p-value is statistically significant. Here, I used that tasc*condition is the same as tasc + condition + tasc:condition.
See here for more examples on interpreting deviance: https://web.stanford.edu/class/psych252/section/Mixed_models_tutorial.html.
edited 5 hours ago
answered 6 hours ago
Isabella GhementIsabella Ghement
10.1k2 gold badges8 silver badges25 bronze badges
10.1k2 gold badges8 silver badges25 bronze badges
1
$begingroup$
thank you for the explanation @Isabella Ghement!
$endgroup$
– Helio Cuve
6 hours ago
add a comment |
1
$begingroup$
thank you for the explanation @Isabella Ghement!
$endgroup$
– Helio Cuve
6 hours ago
1
1
$begingroup$
thank you for the explanation @Isabella Ghement!
$endgroup$
– Helio Cuve
6 hours ago
$begingroup$
thank you for the explanation @Isabella Ghement!
$endgroup$
– Helio Cuve
6 hours ago
add a comment |
Helio Cuve is a new contributor. Be nice, and check out our Code of Conduct.
Helio Cuve is a new contributor. Be nice, and check out our Code of Conduct.
Helio Cuve is a new contributor. Be nice, and check out our Code of Conduct.
Helio Cuve is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Cross Validated!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f423515%2fwhat-does-deviance-mean-in-lmer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown