Interpret a multiple linear regression when Y is log transformed [duplicate]Interpretation of log transformed predictor and/or responseHow to interpret logarithmically transformed coefficients in linear regression?Does the first line of interaction output from lmer contain all levels of variables?Interpretation of log transformed coefficients, OLS regressionDummy variables in multiple regressionCoefficients linear and log-linear regression modelHow to find y values given x values and summary statistics on yInteraction effects with three dummy variables - interpretationInterpretation of variable in a probit modelinterpreting HLM coefficientsInterpretation of interaction term in a probit estimation
What does a yield inside a yield do?
What does this colon mean? It is not labeling, it is not ternary operator
Why is B♯ higher than C♭ in 31-ET?
How to give very negative feedback gracefully?
What is the most remote airport from the center of the city it supposedly serves?
Point of the the Dothraki's attack in GoT S8E3?
How to improve/restore vintage Peugeot bike, or is it even worth it?
How can I get a job without pushing my family's income into a higher tax bracket?
What word means "to make something obsolete"?
How could a planet have most of its water in the atmosphere?
Python password manager
Where can I go to avoid planes overhead?
Sub query result is 0
Junior developer struggles: how to communicate with management?
Does this article imply that Turing-Computability is not the same as "effectively computable"?
I caught several of my students plagiarizing. Could it be my fault as a teacher?
Was there ever a Kickstart that took advantage of 68020+ instructions that would work on an A2000?
Is induction neccessary for proving that every injective mapping of a finite set into itself is a mapping onto itself?
For a benzene shown in a skeletal structure, what does a substituent to the center of the ring mean?
How can I support myself financially as a 17 year old with a loan?
Unknowingly ran an infinite loop in terminal
Manager is threatning to grade me poorly if I don't complete the project
Selecting a secure PIN for building access
What happens to the Time Stone
Interpret a multiple linear regression when Y is log transformed [duplicate]
Interpretation of log transformed predictor and/or responseHow to interpret logarithmically transformed coefficients in linear regression?Does the first line of interaction output from lmer contain all levels of variables?Interpretation of log transformed coefficients, OLS regressionDummy variables in multiple regressionCoefficients linear and log-linear regression modelHow to find y values given x values and summary statistics on yInteraction effects with three dummy variables - interpretationInterpretation of variable in a probit modelinterpreting HLM coefficientsInterpretation of interaction term in a probit estimation
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
This question already has an answer here:
Interpretation of log transformed predictor and/or response
3 answers
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?
regression data-transformation interpretation logarithm
New contributor
$endgroup$
marked as duplicate by COOLSerdash, Richard Hardy, Siong Thye Goh, kjetil b halvorsen, Michael Chernick Apr 27 at 20:49
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
$begingroup$
This question already has an answer here:
Interpretation of log transformed predictor and/or response
3 answers
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?
regression data-transformation interpretation logarithm
New contributor
$endgroup$
marked as duplicate by COOLSerdash, Richard Hardy, Siong Thye Goh, kjetil b halvorsen, Michael Chernick Apr 27 at 20:49
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
$begingroup$
This question already has an answer here:
Interpretation of log transformed predictor and/or response
3 answers
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?
regression data-transformation interpretation logarithm
New contributor
$endgroup$
This question already has an answer here:
Interpretation of log transformed predictor and/or response
3 answers
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?
This question already has an answer here:
Interpretation of log transformed predictor and/or response
3 answers
regression data-transformation interpretation logarithm
regression data-transformation interpretation logarithm
New contributor
New contributor
edited Apr 27 at 17:42
Richard Hardy
28.6k644131
28.6k644131
New contributor
asked Apr 27 at 14:37
maSmaS
311
311
New contributor
New contributor
marked as duplicate by COOLSerdash, Richard Hardy, Siong Thye Goh, kjetil b halvorsen, Michael Chernick Apr 27 at 20:49
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by COOLSerdash, Richard Hardy, Siong Thye Goh, kjetil b halvorsen, Michael Chernick Apr 27 at 20:49
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
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.2approx 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
Apr 27 at 15:45
1
$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
Apr 27 at 15:47
$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
Apr 27 at 16:08
$begingroup$
Also: inference on transformed variables $ne$ inference on un-transformed variables.
$endgroup$
– Alexis
Apr 27 at 16:57
$begingroup$
@maS using base N results in model $y=e^b_0log N+b_1log N x_1$, where you solve for $a_i=b_ilog N$. It's one to one.
$endgroup$
– gunes
Apr 27 at 17:36
add a comment |
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.2approx 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
Apr 27 at 15:45
1
$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
Apr 27 at 15:47
$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
Apr 27 at 16:08
$begingroup$
Also: inference on transformed variables $ne$ inference on un-transformed variables.
$endgroup$
– Alexis
Apr 27 at 16:57
$begingroup$
@maS using base N results in model $y=e^b_0log N+b_1log N x_1$, where you solve for $a_i=b_ilog N$. It's one to one.
$endgroup$
– gunes
Apr 27 at 17:36
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.2approx 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
Apr 27 at 15:45
1
$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
Apr 27 at 15:47
$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
Apr 27 at 16:08
$begingroup$
Also: inference on transformed variables $ne$ inference on un-transformed variables.
$endgroup$
– Alexis
Apr 27 at 16:57
$begingroup$
@maS using base N results in model $y=e^b_0log N+b_1log N x_1$, where you solve for $a_i=b_ilog N$. It's one to one.
$endgroup$
– gunes
Apr 27 at 17:36
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.2approx 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.2approx 1.22$, i.e. $22%$. The case is similar for your continuous variable.
answered Apr 27 at 15:20
gunesgunes
8,5091418
8,5091418
$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
Apr 27 at 15:45
1
$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
Apr 27 at 15:47
$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
Apr 27 at 16:08
$begingroup$
Also: inference on transformed variables $ne$ inference on un-transformed variables.
$endgroup$
– Alexis
Apr 27 at 16:57
$begingroup$
@maS using base N results in model $y=e^b_0log N+b_1log N x_1$, where you solve for $a_i=b_ilog N$. It's one to one.
$endgroup$
– gunes
Apr 27 at 17:36
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
Apr 27 at 15:45
1
$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
Apr 27 at 15:47
$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
Apr 27 at 16:08
$begingroup$
Also: inference on transformed variables $ne$ inference on un-transformed variables.
$endgroup$
– Alexis
Apr 27 at 16:57
$begingroup$
@maS using base N results in model $y=e^b_0log N+b_1log N x_1$, where you solve for $a_i=b_ilog N$. It's one to one.
$endgroup$
– gunes
Apr 27 at 17:36
$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
Apr 27 at 15:45
$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
Apr 27 at 15:45
1
1
$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
Apr 27 at 15:47
$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
Apr 27 at 15:47
$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
Apr 27 at 16:08
$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
Apr 27 at 16:08
$begingroup$
Also: inference on transformed variables $ne$ inference on un-transformed variables.
$endgroup$
– Alexis
Apr 27 at 16:57
$begingroup$
Also: inference on transformed variables $ne$ inference on un-transformed variables.
$endgroup$
– Alexis
Apr 27 at 16:57
$begingroup$
@maS using base N results in model $y=e^b_0log N+b_1log N x_1$, where you solve for $a_i=b_ilog N$. It's one to one.
$endgroup$
– gunes
Apr 27 at 17:36
$begingroup$
@maS using base N results in model $y=e^b_0log N+b_1log N x_1$, where you solve for $a_i=b_ilog N$. It's one to one.
$endgroup$
– gunes
Apr 27 at 17:36
add a comment |