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







1












$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










share|cite|improve this question







New contributor




maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$












  • $begingroup$
    Possible duplicate of Interpretation of log transformed predictor
    $endgroup$
    – COOLSerdash
    25 mins ago


















1












$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










share|cite|improve this question







New contributor




maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$












  • $begingroup$
    Possible duplicate of Interpretation of log transformed predictor
    $endgroup$
    – COOLSerdash
    25 mins ago














1












1








1





$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










share|cite|improve this question







New contributor




maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$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






share|cite|improve this question







New contributor




maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question







New contributor




maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question






New contributor




maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









maSmaS

61




61




New contributor




maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






maS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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




$begingroup$
Possible duplicate of Interpretation of log transformed predictor
$endgroup$
– COOLSerdash
25 mins ago










1 Answer
1






active

oldest

votes


















2












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






share|cite|improve this answer









$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












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.










draft saved

draft discarded


















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









2












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






share|cite|improve this answer









$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
















2












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






share|cite|improve this answer









$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














2












2








2





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






share|cite|improve this answer









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







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










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


















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










maS is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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 did Captain America manage to do this?

迪纳利

南乌拉尔铁路局