Is it wrong to choose a regressor based on MSE?
$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.
regression scikit-learn r-squared
$endgroup$
add a comment |
$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.
regression scikit-learn r-squared
$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
add a comment |
$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.
regression scikit-learn r-squared
$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
regression scikit-learn r-squared
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
$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).
$endgroup$
add a comment |
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
});
}
});
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%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
$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).
$endgroup$
add a comment |
$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).
$endgroup$
add a comment |
$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).
$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).
edited Feb 10 at 19:27
answered Feb 10 at 19:16
Tim♦Tim
57.4k9126218
57.4k9126218
add a comment |
add a comment |
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%2f391768%2fis-it-wrong-to-choose-a-regressor-based-on-mse%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
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