Skip to main content

All Questions

Tagged with
0 votes
0 answers
31 views

Log Transforming variables already in percentage [duplicate]

I'm running a regression analysis and I'd like to know if log transforming a percentage value is ok. My y-values are already in percentages and my x-values in absolute numbers. But I'd like to know by ...
Allan's user avatar
  • 1
0 votes
0 answers
38 views

Should I use log transformation on Target Encoding values ​to avoid heteroscedasticity?

The dataset I'm working with contains categorical variables with several classes. To do its pre-processing I chose to use Target Encoder. With numerical variables I used MinMaxScaler. When training ...
Damodara's user avatar
0 votes
0 answers
74 views

E appearing in Regression table [duplicate]

I am trying to run a regression between oil price in the US over a 60 year period and REAL GDP. I have run a simple linear regression (I also do not know if this is appropriate or not--should I be ...
useromagh820's user avatar
0 votes
1 answer
711 views

X intercept of a log-log linear model in R using lm ()

A linear regression on dependent and predictor variable was run on simulated data after log transformation. ...
Rabin KC's user avatar
0 votes
1 answer
54 views

Log-Log model errors are not normal

I am trying to model sales as a function of various variables (debt, number of employees, competitors etc.). For this I have transformed both dependent and independent variables using natural ...
cremorna's user avatar
  • 103
2 votes
1 answer
44 views

Normal Linear Model: Prediction of original variable from log transformed variable? [duplicate]

Suppose we have observations $(x_1,y_1),\dots, (x_n,y_n)$ which for some reason cannot be modelled reasonably using a Normal Linear Model. Assume we instead model the log transformed response ...
Jacobiman's user avatar
  • 147
2 votes
1 answer
66 views

What is the equation of a line fitting a log-log model computed in R?

I am currently stuck, wanting to extract a line function from my fitted line on my log-log model. ...
Marieke de Geest's user avatar
1 vote
0 answers
35 views

When should I transform variables? [duplicate]

I am a bit confused when to use, and how to identify the need to use the following transformations: log, quadratic and inverse, in a linear model. Usually the models I'm looking at have around 8-10 ...
JohnFire's user avatar
  • 133
1 vote
0 answers
21 views

Log-transform independent variables in a linear model

I have a linear model where some independent variables are probabilities (such as word predictability) and some are integers which are greater than 1 (such as years of experience). However, for all of ...
Adam_G's user avatar
  • 371
1 vote
0 answers
65 views

Converting coefficients from a linear model into percentages

I've got two different sets of regression models, one set is linear and the other log-log. The two models have the same independent variables but different dependent variables. I'm looking for a way ...
Orla's user avatar
  • 11
1 vote
0 answers
380 views

What types of transformation besides logarithm can I use for a linear regression? [closed]

I'm used to use log transformation in linear regression, most of times so I can get a normally distributed variable (even though I know this is not a requirement). I was wondering, what other ...
Dumb ML's user avatar
  • 217
3 votes
0 answers
51 views

Alternative to plug-in estimation for log-tranformed linear model

I want to estimate a relationship of the form: $$y=ax^b\times\epsilon$$ If I log this model i get: $$\log(y)=\log(a)+b\log(x)+ \log(\epsilon)$$ If I then proceed and estimate this model using a ...
Sebastian's user avatar
  • 3,104
0 votes
1 answer
268 views

Why do we use natural logarithm in categorical outcome variables

I'm reading a chapter on categorical outcome variables (chi-square & log linear analysis) and the author, in an effort of fitting a linear model, said that because the outcome variable is a ...
Mehdi Rezzag Hebla's user avatar
1 vote
1 answer
144 views

Log-transformations and concave functions

Consider a linear equation $O = SW$ with $O \in \mathbb{R}^{g \times n}, S \in \mathbb{R}^{g \times k}, W \in \mathbb{R}^{k \times n}$, with $g \gg n, g \gg k, k < n$. $W$ is a frequency matrix and ...
drgxfs's user avatar
  • 1,134
0 votes
1 answer
2k views

Logged control variable in linear probability model

I am wondering how a logged control variable is interpreted in a linear probability model. The interpretation in the following lin-log model is clear: (1) y = b0 + b1*log(x1) Here, a 1% increase in ...
Wolfgang Schönramer's user avatar

15 30 50 per page