What is saturated model used in glm in R?Binary Logistic Regression Model ProcessingWhen to use likelihood ratio test?Logistic regression with interactionsLogistic regression MLE example. What is this “logistic function”?Trouble analysing data set in RCalculate distribution of mean and variance given Gaussian data pointsModeling discrete data with a skew normal distribution and associated statistical testingProblem on the Interpretation of Specfic Regression Equation VariablesGLM model not corresponding to exploratory analysis (R-studio)Linear Regression Assumption: Normality of residual vs normality of variables
How to run a prison with the smallest amount of guards?
How did Arya survive the stabbing?
How to safely derail a train during transit?
How do I extract a value from a time formatted value in excel?
Why are there no referendums in the US?
How can I kill an app using Terminal?
Detecting if an element is found inside a container
How does Loki do this?
Do the temporary hit points from Reckless Abandon stack if I make multiple attacks on my turn?
How to be diplomatic in refusing to write code that breaches the privacy of our users
What does "I’d sit this one out, Cap," imply or mean in the context?
What is the difference between "behavior" and "behaviour"?
Is there a problem with hiding "forgot password" until it's needed?
How to write papers efficiently when English isn't my first language?
How do scammers retract money, while you can’t?
Balance Issues for a Custom Sorcerer Variant
Is expanding the research of a group into machine learning as a PhD student risky?
What can we do to stop prior company from asking us questions?
Gears on left are inverse to gears on right?
Type int? vs type int
Is a stroke of luck acceptable after a series of unfavorable events?
What is the intuitive meaning of having a linear relationship between the logs of two variables?
Where does the Z80 processor start executing from?
Why escape if the_content isnt?
What is saturated model used in glm in R?
Binary Logistic Regression Model ProcessingWhen to use likelihood ratio test?Logistic regression with interactionsLogistic regression MLE example. What is this “logistic function”?Trouble analysing data set in RCalculate distribution of mean and variance given Gaussian data pointsModeling discrete data with a skew normal distribution and associated statistical testingProblem on the Interpretation of Specfic Regression Equation VariablesGLM model not corresponding to exploratory analysis (R-studio)Linear Regression Assumption: Normality of residual vs normality of variables
$begingroup$
So, I've read on stack exchange (glm summary explained) that residual deviance computed in the glm output is just the likelihood ratio chi-square stat comparing the saturated model to the reduced model. 1) But what saturated model is used? 2) How is the log likelihood evaluated at mle estimates computed for the given saturated model?
For simplicity, let's assume the glm is from the normal family and is just standard linear regression.
1)As I understand it a saturated model has as many parameters as data points-so there should be several (infinite) possible saturated models. For example, suppose you have two explanatory variables with four data points. One possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_1x_2+b_4$ or another possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_2^2+b_4$.
2)Regardless of the saturated model wouldn't the mle estimates for these coefficients just be found by solving the system directly using these four data points (as R naturally computes them)? Indeed, these would lead you to an infinite likelihood as residuals would be 0.
statistics linear-regression
$endgroup$
add a comment |
$begingroup$
So, I've read on stack exchange (glm summary explained) that residual deviance computed in the glm output is just the likelihood ratio chi-square stat comparing the saturated model to the reduced model. 1) But what saturated model is used? 2) How is the log likelihood evaluated at mle estimates computed for the given saturated model?
For simplicity, let's assume the glm is from the normal family and is just standard linear regression.
1)As I understand it a saturated model has as many parameters as data points-so there should be several (infinite) possible saturated models. For example, suppose you have two explanatory variables with four data points. One possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_1x_2+b_4$ or another possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_2^2+b_4$.
2)Regardless of the saturated model wouldn't the mle estimates for these coefficients just be found by solving the system directly using these four data points (as R naturally computes them)? Indeed, these would lead you to an infinite likelihood as residuals would be 0.
statistics linear-regression
$endgroup$
add a comment |
$begingroup$
So, I've read on stack exchange (glm summary explained) that residual deviance computed in the glm output is just the likelihood ratio chi-square stat comparing the saturated model to the reduced model. 1) But what saturated model is used? 2) How is the log likelihood evaluated at mle estimates computed for the given saturated model?
For simplicity, let's assume the glm is from the normal family and is just standard linear regression.
1)As I understand it a saturated model has as many parameters as data points-so there should be several (infinite) possible saturated models. For example, suppose you have two explanatory variables with four data points. One possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_1x_2+b_4$ or another possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_2^2+b_4$.
2)Regardless of the saturated model wouldn't the mle estimates for these coefficients just be found by solving the system directly using these four data points (as R naturally computes them)? Indeed, these would lead you to an infinite likelihood as residuals would be 0.
statistics linear-regression
$endgroup$
So, I've read on stack exchange (glm summary explained) that residual deviance computed in the glm output is just the likelihood ratio chi-square stat comparing the saturated model to the reduced model. 1) But what saturated model is used? 2) How is the log likelihood evaluated at mle estimates computed for the given saturated model?
For simplicity, let's assume the glm is from the normal family and is just standard linear regression.
1)As I understand it a saturated model has as many parameters as data points-so there should be several (infinite) possible saturated models. For example, suppose you have two explanatory variables with four data points. One possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_1x_2+b_4$ or another possible saturated model could be $y=b_1x_1+b_2x_2+b_3x_2^2+b_4$.
2)Regardless of the saturated model wouldn't the mle estimates for these coefficients just be found by solving the system directly using these four data points (as R naturally computes them)? Indeed, these would lead you to an infinite likelihood as residuals would be 0.
statistics linear-regression
statistics linear-regression
edited Mar 22 at 20:24
Winston
asked Mar 17 at 20:47
WinstonWinston
10910
10910
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2fmath.stackexchange.com%2fquestions%2f3152063%2fwhat-is-saturated-model-used-in-glm-in-r%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- 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%2fmath.stackexchange.com%2fquestions%2f3152063%2fwhat-is-saturated-model-used-in-glm-in-r%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