Interpret a multiple linear regression when Y is log transformed
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
$begingroup$
I have the following multiple linear regression model:
Log(y) = B0 + B1X1 + B2X2 + B3x3 + e.
X1 is a dummy that can take 0 = male and 1 = female and
X2 and X3 are continuous variables.
I am not entirely sure on how to interpret the coefficients for the variables.
The coefficient for the dummy variable is 0,20. Does that mean, that changing from male to female (male is baseline) the Y will increase by an average of 20%. Is it directly translated into percentage?
And for the continuous variables, the coefficient for X2 is 0,1. Does that mean that increasing X2 with 1 unit increases Y with an average of 10%? Again is it directly translated into percentage?
Sorry for this basic question, i was not, however, able to find a clear answer if it is directly translated into percentages or not.
All the best
regression log
New contributor
$endgroup$
add a comment |
$begingroup$
I have the following multiple linear regression model:
Log(y) = B0 + B1X1 + B2X2 + B3x3 + e.
X1 is a dummy that can take 0 = male and 1 = female and
X2 and X3 are continuous variables.
I am not entirely sure on how to interpret the coefficients for the variables.
The coefficient for the dummy variable is 0,20. Does that mean, that changing from male to female (male is baseline) the Y will increase by an average of 20%. Is it directly translated into percentage?
And for the continuous variables, the coefficient for X2 is 0,1. Does that mean that increasing X2 with 1 unit increases Y with an average of 10%? Again is it directly translated into percentage?
Sorry for this basic question, i was not, however, able to find a clear answer if it is directly translated into percentages or not.
All the best
regression log
New contributor
$endgroup$
$begingroup$
Possible duplicate of Interpretation of log transformed predictor
$endgroup$
– COOLSerdash
25 mins ago
add a comment |
$begingroup$
I have the following multiple linear regression model:
Log(y) = B0 + B1X1 + B2X2 + B3x3 + e.
X1 is a dummy that can take 0 = male and 1 = female and
X2 and X3 are continuous variables.
I am not entirely sure on how to interpret the coefficients for the variables.
The coefficient for the dummy variable is 0,20. Does that mean, that changing from male to female (male is baseline) the Y will increase by an average of 20%. Is it directly translated into percentage?
And for the continuous variables, the coefficient for X2 is 0,1. Does that mean that increasing X2 with 1 unit increases Y with an average of 10%? Again is it directly translated into percentage?
Sorry for this basic question, i was not, however, able to find a clear answer if it is directly translated into percentages or not.
All the best
regression log
New contributor
$endgroup$
I have the following multiple linear regression model:
Log(y) = B0 + B1X1 + B2X2 + B3x3 + e.
X1 is a dummy that can take 0 = male and 1 = female and
X2 and X3 are continuous variables.
I am not entirely sure on how to interpret the coefficients for the variables.
The coefficient for the dummy variable is 0,20. Does that mean, that changing from male to female (male is baseline) the Y will increase by an average of 20%. Is it directly translated into percentage?
And for the continuous variables, the coefficient for X2 is 0,1. Does that mean that increasing X2 with 1 unit increases Y with an average of 10%? Again is it directly translated into percentage?
Sorry for this basic question, i was not, however, able to find a clear answer if it is directly translated into percentages or not.
All the best
regression log
regression log
New contributor
New contributor
New contributor
asked 1 hour ago
maSmaS
61
61
New contributor
New contributor
$begingroup$
Possible duplicate of Interpretation of log transformed predictor
$endgroup$
– COOLSerdash
25 mins ago
add a comment |
$begingroup$
Possible duplicate of Interpretation of log transformed predictor
$endgroup$
– COOLSerdash
25 mins ago
$begingroup$
Possible duplicate of Interpretation of log transformed predictor
$endgroup$
– COOLSerdash
25 mins ago
$begingroup$
Possible duplicate of Interpretation of log transformed predictor
$endgroup$
– COOLSerdash
25 mins ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Positive coefficients somehow indicate a positive effect, but they don't simply turn into percentages. There is a transformation. Let's say your model is $log y = b_0+b_1x_1$; this means $y=e^{b_0+b_1x_1}=A_0e^{b_1x_1}$. So, dummy or not, if $x_1$ increases by $1$ unit, $y$ increases by $e^{b_1}$, i.e. if $b_1=0.2$, $y$ increases by $e^{0.2}approx 1.22$, i.e. $22%$. The case is similar for your continuous variable.
$endgroup$
$begingroup$
I have read that if the natural log is used it is approximately translated into a percentage change, if the change in x is small. Is that correct?
$endgroup$
– maS
32 mins ago
$begingroup$
Yes, but approximate is the key term here, because Taylor expansion of $e^x$ is: $e^x=1+x+x^2/2!,...approx 1+x$ when $x$ is small. Which means $x%$ increase in something. Here, to execute this idea, your coefficients should be small.
$endgroup$
– gunes
30 mins ago
$begingroup$
Thanks gunes. Would you recommend using natural log then as my log transformation or what base should i use? cant seem to find a solid explanation of the choice
$endgroup$
– maS
8 mins ago
add a comment |
Your Answer
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
});
}
});
maS is a new contributor. Be nice, and check out our Code of Conduct.
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%2f405387%2finterpret-a-multiple-linear-regression-when-y-is-log-transformed%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$
Positive coefficients somehow indicate a positive effect, but they don't simply turn into percentages. There is a transformation. Let's say your model is $log y = b_0+b_1x_1$; this means $y=e^{b_0+b_1x_1}=A_0e^{b_1x_1}$. So, dummy or not, if $x_1$ increases by $1$ unit, $y$ increases by $e^{b_1}$, i.e. if $b_1=0.2$, $y$ increases by $e^{0.2}approx 1.22$, i.e. $22%$. The case is similar for your continuous variable.
$endgroup$
$begingroup$
I have read that if the natural log is used it is approximately translated into a percentage change, if the change in x is small. Is that correct?
$endgroup$
– maS
32 mins ago
$begingroup$
Yes, but approximate is the key term here, because Taylor expansion of $e^x$ is: $e^x=1+x+x^2/2!,...approx 1+x$ when $x$ is small. Which means $x%$ increase in something. Here, to execute this idea, your coefficients should be small.
$endgroup$
– gunes
30 mins ago
$begingroup$
Thanks gunes. Would you recommend using natural log then as my log transformation or what base should i use? cant seem to find a solid explanation of the choice
$endgroup$
– maS
8 mins ago
add a comment |
$begingroup$
Positive coefficients somehow indicate a positive effect, but they don't simply turn into percentages. There is a transformation. Let's say your model is $log y = b_0+b_1x_1$; this means $y=e^{b_0+b_1x_1}=A_0e^{b_1x_1}$. So, dummy or not, if $x_1$ increases by $1$ unit, $y$ increases by $e^{b_1}$, i.e. if $b_1=0.2$, $y$ increases by $e^{0.2}approx 1.22$, i.e. $22%$. The case is similar for your continuous variable.
$endgroup$
$begingroup$
I have read that if the natural log is used it is approximately translated into a percentage change, if the change in x is small. Is that correct?
$endgroup$
– maS
32 mins ago
$begingroup$
Yes, but approximate is the key term here, because Taylor expansion of $e^x$ is: $e^x=1+x+x^2/2!,...approx 1+x$ when $x$ is small. Which means $x%$ increase in something. Here, to execute this idea, your coefficients should be small.
$endgroup$
– gunes
30 mins ago
$begingroup$
Thanks gunes. Would you recommend using natural log then as my log transformation or what base should i use? cant seem to find a solid explanation of the choice
$endgroup$
– maS
8 mins ago
add a comment |
$begingroup$
Positive coefficients somehow indicate a positive effect, but they don't simply turn into percentages. There is a transformation. Let's say your model is $log y = b_0+b_1x_1$; this means $y=e^{b_0+b_1x_1}=A_0e^{b_1x_1}$. So, dummy or not, if $x_1$ increases by $1$ unit, $y$ increases by $e^{b_1}$, i.e. if $b_1=0.2$, $y$ increases by $e^{0.2}approx 1.22$, i.e. $22%$. The case is similar for your continuous variable.
$endgroup$
Positive coefficients somehow indicate a positive effect, but they don't simply turn into percentages. There is a transformation. Let's say your model is $log y = b_0+b_1x_1$; this means $y=e^{b_0+b_1x_1}=A_0e^{b_1x_1}$. So, dummy or not, if $x_1$ increases by $1$ unit, $y$ increases by $e^{b_1}$, i.e. if $b_1=0.2$, $y$ increases by $e^{0.2}approx 1.22$, i.e. $22%$. The case is similar for your continuous variable.
answered 56 mins ago
gunesgunes
8,2611418
8,2611418
$begingroup$
I have read that if the natural log is used it is approximately translated into a percentage change, if the change in x is small. Is that correct?
$endgroup$
– maS
32 mins ago
$begingroup$
Yes, but approximate is the key term here, because Taylor expansion of $e^x$ is: $e^x=1+x+x^2/2!,...approx 1+x$ when $x$ is small. Which means $x%$ increase in something. Here, to execute this idea, your coefficients should be small.
$endgroup$
– gunes
30 mins ago
$begingroup$
Thanks gunes. Would you recommend using natural log then as my log transformation or what base should i use? cant seem to find a solid explanation of the choice
$endgroup$
– maS
8 mins ago
add a comment |
$begingroup$
I have read that if the natural log is used it is approximately translated into a percentage change, if the change in x is small. Is that correct?
$endgroup$
– maS
32 mins ago
$begingroup$
Yes, but approximate is the key term here, because Taylor expansion of $e^x$ is: $e^x=1+x+x^2/2!,...approx 1+x$ when $x$ is small. Which means $x%$ increase in something. Here, to execute this idea, your coefficients should be small.
$endgroup$
– gunes
30 mins ago
$begingroup$
Thanks gunes. Would you recommend using natural log then as my log transformation or what base should i use? cant seem to find a solid explanation of the choice
$endgroup$
– maS
8 mins ago
$begingroup$
I have read that if the natural log is used it is approximately translated into a percentage change, if the change in x is small. Is that correct?
$endgroup$
– maS
32 mins ago
$begingroup$
I have read that if the natural log is used it is approximately translated into a percentage change, if the change in x is small. Is that correct?
$endgroup$
– maS
32 mins ago
$begingroup$
Yes, but approximate is the key term here, because Taylor expansion of $e^x$ is: $e^x=1+x+x^2/2!,...approx 1+x$ when $x$ is small. Which means $x%$ increase in something. Here, to execute this idea, your coefficients should be small.
$endgroup$
– gunes
30 mins ago
$begingroup$
Yes, but approximate is the key term here, because Taylor expansion of $e^x$ is: $e^x=1+x+x^2/2!,...approx 1+x$ when $x$ is small. Which means $x%$ increase in something. Here, to execute this idea, your coefficients should be small.
$endgroup$
– gunes
30 mins ago
$begingroup$
Thanks gunes. Would you recommend using natural log then as my log transformation or what base should i use? cant seem to find a solid explanation of the choice
$endgroup$
– maS
8 mins ago
$begingroup$
Thanks gunes. Would you recommend using natural log then as my log transformation or what base should i use? cant seem to find a solid explanation of the choice
$endgroup$
– maS
8 mins ago
add a comment |
maS is a new contributor. Be nice, and check out our Code of Conduct.
maS is a new contributor. Be nice, and check out our Code of Conduct.
maS is a new contributor. Be nice, and check out our Code of Conduct.
maS is a new contributor. Be nice, and check out our Code of Conduct.
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%2f405387%2finterpret-a-multiple-linear-regression-when-y-is-log-transformed%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
$begingroup$
Possible duplicate of Interpretation of log transformed predictor
$endgroup$
– COOLSerdash
25 mins ago