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













1












$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.










share|cite|improve this question











$endgroup$
















    1












    $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.










    share|cite|improve this question











    $endgroup$














      1












      1








      1





      $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.










      share|cite|improve this question











      $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






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Mar 22 at 20:24







      Winston

















      asked Mar 17 at 20:47









      WinstonWinston

      10910




      10910




















          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
          );



          );













          draft saved

          draft discarded


















          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















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Moe incest case Sentencing See also References Navigation menu"'Australian Josef Fritzl' fathered four children by daughter""Small town recoils in horror at 'Australian Fritzl' incest case""Victorian rape allegations echo Fritzl case - Just In (Australian Broadcasting Corporation)""Incest father jailed for 22 years""'Australian Fritzl' sentenced to 22 years in prison for abusing daughter for three decades""RSJ v The Queen"

          Do native speakers use “ultima” and “proxima” frequently in spoken English?How do native speakers say 'the light bulb has stopped working'the difference between “to revamp” ,“enhance” and “overhaul”How do we tell our currently running year of age?What's the layperson's term for words like “am”, “be”, “were”?How do I speak about a respectful person?Finger distance in musicWhat do we call English with dots and dashes?Do native speakers use 'so-so'?How to express “friends that I only know them on internet” English?Does “Until when” sound natural for native speakers?

          Who is our nearest planetary neighbor, on average?Santa Claus flies to the South PoleSeven Spheres of Unequal Mass, a weighing problem with a twistDescribe a large integerFast Mental Calculation of $7.5^7$Math in Space (without the help of celebrities)Find the value of $bigstar$: Puzzle 8 - InequalityWho drinks beer while running anyway?A Crucial DeliveryRanking And AverageHow long will my money last at roulette?