Is it wrong to choose a regressor based on MSE?












4












$begingroup$


I see many people on the web assuming that R² is not an appropriate metric to select a regressor instead of another, suggesting AIC or BIC to do so. From my view, it means that its almost preferable to avoid complex models, even if they're more accurate (I'm not sure if this view is correct).



My question is what is wrong about using MSE? And to see if the model is better than "always predict the mean", just check R²?



Another reason that I insist on using them to prefer a regressor instead of another (even not sure of its appropriateness) is that sklearn does use R² as default scoring function for GridSearchCV.










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Also, to choose the best predictive model, you should probably rely on something like Mean Squared Predicted Error (MSPE) rather than (MSE). The difference is subtle, but very important. See here for an explanation. stats.stackexchange.com/questions/20741/…
    $endgroup$
    – StatsStudent
    Feb 10 at 19:24


















4












$begingroup$


I see many people on the web assuming that R² is not an appropriate metric to select a regressor instead of another, suggesting AIC or BIC to do so. From my view, it means that its almost preferable to avoid complex models, even if they're more accurate (I'm not sure if this view is correct).



My question is what is wrong about using MSE? And to see if the model is better than "always predict the mean", just check R²?



Another reason that I insist on using them to prefer a regressor instead of another (even not sure of its appropriateness) is that sklearn does use R² as default scoring function for GridSearchCV.










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Also, to choose the best predictive model, you should probably rely on something like Mean Squared Predicted Error (MSPE) rather than (MSE). The difference is subtle, but very important. See here for an explanation. stats.stackexchange.com/questions/20741/…
    $endgroup$
    – StatsStudent
    Feb 10 at 19:24
















4












4








4





$begingroup$


I see many people on the web assuming that R² is not an appropriate metric to select a regressor instead of another, suggesting AIC or BIC to do so. From my view, it means that its almost preferable to avoid complex models, even if they're more accurate (I'm not sure if this view is correct).



My question is what is wrong about using MSE? And to see if the model is better than "always predict the mean", just check R²?



Another reason that I insist on using them to prefer a regressor instead of another (even not sure of its appropriateness) is that sklearn does use R² as default scoring function for GridSearchCV.










share|cite|improve this question









$endgroup$




I see many people on the web assuming that R² is not an appropriate metric to select a regressor instead of another, suggesting AIC or BIC to do so. From my view, it means that its almost preferable to avoid complex models, even if they're more accurate (I'm not sure if this view is correct).



My question is what is wrong about using MSE? And to see if the model is better than "always predict the mean", just check R²?



Another reason that I insist on using them to prefer a regressor instead of another (even not sure of its appropriateness) is that sklearn does use R² as default scoring function for GridSearchCV.







regression scikit-learn r-squared






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Feb 10 at 18:24









Adelson DiasAdelson Dias

7419




7419








  • 1




    $begingroup$
    Also, to choose the best predictive model, you should probably rely on something like Mean Squared Predicted Error (MSPE) rather than (MSE). The difference is subtle, but very important. See here for an explanation. stats.stackexchange.com/questions/20741/…
    $endgroup$
    – StatsStudent
    Feb 10 at 19:24
















  • 1




    $begingroup$
    Also, to choose the best predictive model, you should probably rely on something like Mean Squared Predicted Error (MSPE) rather than (MSE). The difference is subtle, but very important. See here for an explanation. stats.stackexchange.com/questions/20741/…
    $endgroup$
    – StatsStudent
    Feb 10 at 19:24










1




1




$begingroup$
Also, to choose the best predictive model, you should probably rely on something like Mean Squared Predicted Error (MSPE) rather than (MSE). The difference is subtle, but very important. See here for an explanation. stats.stackexchange.com/questions/20741/…
$endgroup$
– StatsStudent
Feb 10 at 19:24






$begingroup$
Also, to choose the best predictive model, you should probably rely on something like Mean Squared Predicted Error (MSPE) rather than (MSE). The difference is subtle, but very important. See here for an explanation. stats.stackexchange.com/questions/20741/…
$endgroup$
– StatsStudent
Feb 10 at 19:24












1 Answer
1






active

oldest

votes


















4












$begingroup$

It is not wrong. If you want to choose simple model, mean squared error won't help you. AIC and BIC penalize models with more parameters, even if they fit slightly better, so they help you with choosing simple model that still fits well. If you want accurate predictions, choose the model that does accurate predictions as judged with some criterion for that like mean squared, or absolute, error, or something else. It depends on if you want to use the model to understand something better (then you want simple, easily interpretable model), or you are interested only in making predictions (then you choose most accurate model, while it sometimes may not matter if it's complicated, but check if it doesn't overfit).






share|cite|improve this answer











$endgroup$













    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: "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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f391768%2fis-it-wrong-to-choose-a-regressor-based-on-mse%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









    4












    $begingroup$

    It is not wrong. If you want to choose simple model, mean squared error won't help you. AIC and BIC penalize models with more parameters, even if they fit slightly better, so they help you with choosing simple model that still fits well. If you want accurate predictions, choose the model that does accurate predictions as judged with some criterion for that like mean squared, or absolute, error, or something else. It depends on if you want to use the model to understand something better (then you want simple, easily interpretable model), or you are interested only in making predictions (then you choose most accurate model, while it sometimes may not matter if it's complicated, but check if it doesn't overfit).






    share|cite|improve this answer











    $endgroup$


















      4












      $begingroup$

      It is not wrong. If you want to choose simple model, mean squared error won't help you. AIC and BIC penalize models with more parameters, even if they fit slightly better, so they help you with choosing simple model that still fits well. If you want accurate predictions, choose the model that does accurate predictions as judged with some criterion for that like mean squared, or absolute, error, or something else. It depends on if you want to use the model to understand something better (then you want simple, easily interpretable model), or you are interested only in making predictions (then you choose most accurate model, while it sometimes may not matter if it's complicated, but check if it doesn't overfit).






      share|cite|improve this answer











      $endgroup$
















        4












        4








        4





        $begingroup$

        It is not wrong. If you want to choose simple model, mean squared error won't help you. AIC and BIC penalize models with more parameters, even if they fit slightly better, so they help you with choosing simple model that still fits well. If you want accurate predictions, choose the model that does accurate predictions as judged with some criterion for that like mean squared, or absolute, error, or something else. It depends on if you want to use the model to understand something better (then you want simple, easily interpretable model), or you are interested only in making predictions (then you choose most accurate model, while it sometimes may not matter if it's complicated, but check if it doesn't overfit).






        share|cite|improve this answer











        $endgroup$



        It is not wrong. If you want to choose simple model, mean squared error won't help you. AIC and BIC penalize models with more parameters, even if they fit slightly better, so they help you with choosing simple model that still fits well. If you want accurate predictions, choose the model that does accurate predictions as judged with some criterion for that like mean squared, or absolute, error, or something else. It depends on if you want to use the model to understand something better (then you want simple, easily interpretable model), or you are interested only in making predictions (then you choose most accurate model, while it sometimes may not matter if it's complicated, but check if it doesn't overfit).







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Feb 10 at 19:27

























        answered Feb 10 at 19:16









        TimTim

        57.4k9126218




        57.4k9126218






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f391768%2fis-it-wrong-to-choose-a-regressor-based-on-mse%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

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?