MLE of $lambda$ Given $f(x;lambda)=1-dfrac{2}{3}lambda+lambdasqrt{x}$












1












$begingroup$



$f(x;lambda)=1-dfrac{2}{3}lambda+lambdasqrt{x} ; 0le xle1 $



$0$ otherwise




What is the maximum likelihood estimate of the parameter $lambda$ based on two independent observations $x_1=dfrac{1}{4}$ and $x_2=dfrac{9}{16}$



My input



Liklihood function of the sample is given by



$L(lambda)=prod_{i=1}^{2}f(x_i;lambda)=(1-dfrac{2}{3}lambda+lambdasqrt{x_i})$



=$(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



$log(L(lambda)=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



$=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})+log(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



Am I following correct path ? Can someone tell me ?










share|cite|improve this question









$endgroup$

















    1












    $begingroup$



    $f(x;lambda)=1-dfrac{2}{3}lambda+lambdasqrt{x} ; 0le xle1 $



    $0$ otherwise




    What is the maximum likelihood estimate of the parameter $lambda$ based on two independent observations $x_1=dfrac{1}{4}$ and $x_2=dfrac{9}{16}$



    My input



    Liklihood function of the sample is given by



    $L(lambda)=prod_{i=1}^{2}f(x_i;lambda)=(1-dfrac{2}{3}lambda+lambdasqrt{x_i})$



    =$(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



    $log(L(lambda)=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



    $=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})+log(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



    Am I following correct path ? Can someone tell me ?










    share|cite|improve this question









    $endgroup$















      1












      1








      1





      $begingroup$



      $f(x;lambda)=1-dfrac{2}{3}lambda+lambdasqrt{x} ; 0le xle1 $



      $0$ otherwise




      What is the maximum likelihood estimate of the parameter $lambda$ based on two independent observations $x_1=dfrac{1}{4}$ and $x_2=dfrac{9}{16}$



      My input



      Liklihood function of the sample is given by



      $L(lambda)=prod_{i=1}^{2}f(x_i;lambda)=(1-dfrac{2}{3}lambda+lambdasqrt{x_i})$



      =$(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



      $log(L(lambda)=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



      $=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})+log(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



      Am I following correct path ? Can someone tell me ?










      share|cite|improve this question









      $endgroup$





      $f(x;lambda)=1-dfrac{2}{3}lambda+lambdasqrt{x} ; 0le xle1 $



      $0$ otherwise




      What is the maximum likelihood estimate of the parameter $lambda$ based on two independent observations $x_1=dfrac{1}{4}$ and $x_2=dfrac{9}{16}$



      My input



      Liklihood function of the sample is given by



      $L(lambda)=prod_{i=1}^{2}f(x_i;lambda)=(1-dfrac{2}{3}lambda+lambdasqrt{x_i})$



      =$(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



      $log(L(lambda)=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



      $=log(1-dfrac{2}{3}lambda+lambdasqrt{x_1})+log(1-dfrac{2}{3}lambda+lambdasqrt{x_2})$



      Am I following correct path ? Can someone tell me ?







      statistical-inference maximum-likelihood






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 10 at 12:04









      Daman deepDaman deep

      751318




      751318






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          You are correct, but in this case it is easier to optimize the likelihood instead of the log-likelihood as it is a polynomial. So begin{align}L(lambda)&=left(1+left(sqrt{x_1}-frac23right)lambdaright)left(1+left(sqrt{x_2}-frac23right)lambdaright)\&=left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)lambda^2+left(sqrt{x_1}+sqrt{x_2}-frac43right)lambda+1\ implies L'left(hatlambdaright)&=2left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)hatlambda+sqrt{x_1}+sqrt{x_2}-frac43=0end{align} There you can simply solve for $hatlambda$ and check whether it is a maximum or minimum.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            $hat lambda =8 $ But my lambda coming out to be $3 $ can you check if its coming out $8$ or not ?
            $endgroup$
            – Daman deep
            Jan 10 at 13:22












          • $begingroup$
            Even to optimize a polynomial, especially expressed as a product, using logarithms is often the way to go.
            $endgroup$
            – Did
            Jan 10 at 13:32










          • $begingroup$
            @Did I suppose for quadratics and cubics then; once you differentiate them they are easy to factor
            $endgroup$
            – TheSimpliFire
            Jan 10 at 14:16











          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%2f3068556%2fmle-of-lambda-given-fx-lambda-1-dfrac23-lambda-lambda-sqrtx%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









          0












          $begingroup$

          You are correct, but in this case it is easier to optimize the likelihood instead of the log-likelihood as it is a polynomial. So begin{align}L(lambda)&=left(1+left(sqrt{x_1}-frac23right)lambdaright)left(1+left(sqrt{x_2}-frac23right)lambdaright)\&=left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)lambda^2+left(sqrt{x_1}+sqrt{x_2}-frac43right)lambda+1\ implies L'left(hatlambdaright)&=2left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)hatlambda+sqrt{x_1}+sqrt{x_2}-frac43=0end{align} There you can simply solve for $hatlambda$ and check whether it is a maximum or minimum.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            $hat lambda =8 $ But my lambda coming out to be $3 $ can you check if its coming out $8$ or not ?
            $endgroup$
            – Daman deep
            Jan 10 at 13:22












          • $begingroup$
            Even to optimize a polynomial, especially expressed as a product, using logarithms is often the way to go.
            $endgroup$
            – Did
            Jan 10 at 13:32










          • $begingroup$
            @Did I suppose for quadratics and cubics then; once you differentiate them they are easy to factor
            $endgroup$
            – TheSimpliFire
            Jan 10 at 14:16
















          0












          $begingroup$

          You are correct, but in this case it is easier to optimize the likelihood instead of the log-likelihood as it is a polynomial. So begin{align}L(lambda)&=left(1+left(sqrt{x_1}-frac23right)lambdaright)left(1+left(sqrt{x_2}-frac23right)lambdaright)\&=left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)lambda^2+left(sqrt{x_1}+sqrt{x_2}-frac43right)lambda+1\ implies L'left(hatlambdaright)&=2left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)hatlambda+sqrt{x_1}+sqrt{x_2}-frac43=0end{align} There you can simply solve for $hatlambda$ and check whether it is a maximum or minimum.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            $hat lambda =8 $ But my lambda coming out to be $3 $ can you check if its coming out $8$ or not ?
            $endgroup$
            – Daman deep
            Jan 10 at 13:22












          • $begingroup$
            Even to optimize a polynomial, especially expressed as a product, using logarithms is often the way to go.
            $endgroup$
            – Did
            Jan 10 at 13:32










          • $begingroup$
            @Did I suppose for quadratics and cubics then; once you differentiate them they are easy to factor
            $endgroup$
            – TheSimpliFire
            Jan 10 at 14:16














          0












          0








          0





          $begingroup$

          You are correct, but in this case it is easier to optimize the likelihood instead of the log-likelihood as it is a polynomial. So begin{align}L(lambda)&=left(1+left(sqrt{x_1}-frac23right)lambdaright)left(1+left(sqrt{x_2}-frac23right)lambdaright)\&=left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)lambda^2+left(sqrt{x_1}+sqrt{x_2}-frac43right)lambda+1\ implies L'left(hatlambdaright)&=2left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)hatlambda+sqrt{x_1}+sqrt{x_2}-frac43=0end{align} There you can simply solve for $hatlambda$ and check whether it is a maximum or minimum.






          share|cite|improve this answer









          $endgroup$



          You are correct, but in this case it is easier to optimize the likelihood instead of the log-likelihood as it is a polynomial. So begin{align}L(lambda)&=left(1+left(sqrt{x_1}-frac23right)lambdaright)left(1+left(sqrt{x_2}-frac23right)lambdaright)\&=left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)lambda^2+left(sqrt{x_1}+sqrt{x_2}-frac43right)lambda+1\ implies L'left(hatlambdaright)&=2left(sqrt{x_1}-frac23right)left(sqrt{x_2}-frac23right)hatlambda+sqrt{x_1}+sqrt{x_2}-frac43=0end{align} There you can simply solve for $hatlambda$ and check whether it is a maximum or minimum.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 10 at 13:15









          TheSimpliFireTheSimpliFire

          12.4k62460




          12.4k62460












          • $begingroup$
            $hat lambda =8 $ But my lambda coming out to be $3 $ can you check if its coming out $8$ or not ?
            $endgroup$
            – Daman deep
            Jan 10 at 13:22












          • $begingroup$
            Even to optimize a polynomial, especially expressed as a product, using logarithms is often the way to go.
            $endgroup$
            – Did
            Jan 10 at 13:32










          • $begingroup$
            @Did I suppose for quadratics and cubics then; once you differentiate them they are easy to factor
            $endgroup$
            – TheSimpliFire
            Jan 10 at 14:16


















          • $begingroup$
            $hat lambda =8 $ But my lambda coming out to be $3 $ can you check if its coming out $8$ or not ?
            $endgroup$
            – Daman deep
            Jan 10 at 13:22












          • $begingroup$
            Even to optimize a polynomial, especially expressed as a product, using logarithms is often the way to go.
            $endgroup$
            – Did
            Jan 10 at 13:32










          • $begingroup$
            @Did I suppose for quadratics and cubics then; once you differentiate them they are easy to factor
            $endgroup$
            – TheSimpliFire
            Jan 10 at 14:16
















          $begingroup$
          $hat lambda =8 $ But my lambda coming out to be $3 $ can you check if its coming out $8$ or not ?
          $endgroup$
          – Daman deep
          Jan 10 at 13:22






          $begingroup$
          $hat lambda =8 $ But my lambda coming out to be $3 $ can you check if its coming out $8$ or not ?
          $endgroup$
          – Daman deep
          Jan 10 at 13:22














          $begingroup$
          Even to optimize a polynomial, especially expressed as a product, using logarithms is often the way to go.
          $endgroup$
          – Did
          Jan 10 at 13:32




          $begingroup$
          Even to optimize a polynomial, especially expressed as a product, using logarithms is often the way to go.
          $endgroup$
          – Did
          Jan 10 at 13:32












          $begingroup$
          @Did I suppose for quadratics and cubics then; once you differentiate them they are easy to factor
          $endgroup$
          – TheSimpliFire
          Jan 10 at 14:16




          $begingroup$
          @Did I suppose for quadratics and cubics then; once you differentiate them they are easy to factor
          $endgroup$
          – TheSimpliFire
          Jan 10 at 14:16


















          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%2f3068556%2fmle-of-lambda-given-fx-lambda-1-dfrac23-lambda-lambda-sqrtx%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

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          SQL update select statement

          'app-layout' is not a known element: how to share Component with different Modules