All Questions
18
questions
1
vote
1
answer
58
views
Calculating error metrics on log10(y) bayesian ridge regression model. Why does model perform better when trained on log10(y)?
I am using scikit learn's Bayesian ridge regression model and am training my model on log10(y), exponentiating (10 ** y_i) my predictions back to their original value, then calculating my error ...
3
votes
1
answer
175
views
E(log(x)) to E(x) [duplicate]
Sorry if this is a straightforward question, but I have tried digging into econometrics book and cannot find anything about it. I worked on a model with ...
0
votes
1
answer
477
views
why does log scale does not start at 0
I need help in understanding the curve shown in the image. As you can see in the image that I-V curves in (a) is for linear scale and it shows 0 Amps at 0 Volts. But for logarithm scale I-V curves in (...
1
vote
0
answers
280
views
Can we compare coefficients from log-log and log-linear regression?
We have two regressions
$$
ln(Y) = \alpha_1 + \beta_1 ln(X) + \epsilon \tag{1}\label{1}
$$
and
$$
ln(Y) = \alpha_2 + \beta_2 X + \epsilon \tag{2}\label{2}
$$
In the first case, a 1% increase in $X$ ...
0
votes
1
answer
49
views
Interpreting log multiple linear regression, backtransformations?
I'm investigating adherence to a special diet (that is scored from 0-18) in relation to C-reactive protein level and am in the process of building multiple linear regression models:
To achieve a ...
1
vote
2
answers
425
views
Why is $Y=\beta_0 x^{\beta_1} e$ a linear model?
Why is $Y=\beta_0 x^{\beta_1} e$ a linear model? When we apply the transform, it becomes $lnY = ln\beta_0+\beta_1 lnx +lne$, and why is it still linear when the $\beta_0$ part is under ln?
1
vote
0
answers
233
views
How can my confidence interval and p-value not be in line with each other in a linear difference-in-difference analysis in R?
I'm performing a linear difference-in-difference analysis with mental health care costs, log transformed (log10), as outcome measurement. Individuals are placed in a treatment or control group, and I ...
3
votes
0
answers
184
views
log transform in linear regression
Assume we have a data set and the theory suggests to model $Y \sim X$. We apply a simple linear regression and get the following:
Next, let us make a log transform of both $X$ and $Y$. The result is ...
5
votes
1
answer
8k
views
Need help understanding what a natural log transformation is actually doing and why specific transformations are required for linear regression [duplicate]
I’m taking an online “Intro to AI” course for which I’m doing some azure machine learning labs. This course is largely about how to apply azure ML solutions and, while there is an “essential math for ...
1
vote
0
answers
32
views
Log results in linear regression
I am just starting working with regression in R. I used some variables and their logs as well in the same regression equation. Unexpectedly, the results show significance of both, variables and their ...
3
votes
1
answer
2k
views
Linear regression - Can I log transform dependent variable and one of the independent ones and keep the rest not transformed? [duplicate]
I have model where my dependent variable is Total money spend and then I have independent variable Income and some other ...
0
votes
1
answer
212
views
Converting relative effect to absolute effect in log model
I have the following model;
log(daily sales) = intercept + B1*(event dummy) + error
My response variable(daily sales) is basically a daily time series and
'event dummy' is an indicator variable ...
16
votes
1
answer
11k
views
Correcting log-transformation bias in a linear model
I am using a log-transformation for my response variable in order to get a linear relationship between it and the explanatory variable. I have split my data to training set (70%) and evaluation set (...
1
vote
1
answer
6k
views
linear probability model interpretation
I have a question regarding the interpretation of a log independent variable in a linear-probability model.
For example: I have $\log(GDP)$ as my independent variable and the coefficient is 0.35. Can ...
2
votes
1
answer
3k
views
log transformation vs square root transformation, Can I do both? [duplicate]
I am analyzing ARIMA or multiple regression model. $Y= X_1 + X_2 + X_3 + X_4$
Can I have the log on Y and square root on X1 and square root on X2, at the same time? That is,
$\log Y = \sqrt{X_1} + ...