# Questions tagged [back-transformation]

Back transformation refers to efforts to reverse the effects of a transformation of one or more variables. Usually, the transformation has been done to meet assumptions of a model, but interest is in the original variable(s).

111 questions
Filter by
Sorted by
Tagged with
0answers
13 views

### Back Transformation on Multiple Linear Regression

I am currently using stock market time-series data that I have collected myself. This is volume data, not price, but that won't relate to this. I noticed heteroskedasticity in my model and other clues ...
0answers
12 views

### How to back transform “arm::rescale” function on logistic regression

In conducting a logistic regression model with glmer. My predictor variables were centered using arm::rescale. I would like to plot the predicted values but using their original scale rather than the ...
0answers
17 views

0answers
13 views

### First difference in logs transformation produces biased results on back-transformation [duplicate]

I have a strongly trended series where the trend appears to be exponential and I believe the errors tend to be proportional to the current value. In order to convert it to a stationary series for ...
0answers
9 views

### Reversing Log-transformed target after training : r2 score interpretation

I have been running a log-transform on my target values because the distribution appears to be highly right skewed as you can see in the picture. After having called ...
0answers
47 views

### Multiple linear regression - assumption of normaly distributed estimates

In linear regression, there is said that normal distribution of residuals is required. Other than that I have found that it can be violated if the dataset is large enough. But what is large enough? Is ...
0answers
25 views

### How to interpret a transformed linear regression model

I'm playing with the trafo R-package and this small data. After using the assumptions function, I found the log shift opt transformation is the best for normalizing ...
0answers
22 views

### metrics of backtransform from logit-normal

Suppose I generate iid random data, logit-normal, where the mean (0.8472979) corresponds to mu=0.7 on the back-transformed probability scale (i.e., expit(0.8472979)=0.7). SD of the iid sample on the ...
0answers
17 views

### Back-transformation in pairs function (lmer analysis)

I'm running lme4 and Im working with a dataset where the variables a,d,e are logtransformed. I wonder how to handle back-transformation concerning the "pairs" function. How do I get the ...
1answer
119 views

### Back transformed Median of log normal data, not equal to median of original data

l was working with these data: 160,320,160,160,320,320,160,320,160,320,160,320. I needed to calculate the median so decided to calculate while the data was log transformed and I would just back ...
0answers
21 views

### Transforming log-scaled splines regression outputs to an understandable scale

Please give me some advice. I am using brms package and mgcv package for two regression models: bernoulli lognormal The problem is that both of these models outputs are in lognormal scale. As much ...
0answers
55 views

### Backtransform a log-odds transformation of the dependent variable in a Fixed Effects panel regression

I'm modeling a fixed effects (within) panel regression for a fractional dependent variable (DV) bounded between 0 and 1. My aim is to model the relationship so that I can predict the frational DV on ...
1answer
26 views

### Back-transformations

I have been having trouble grasping the idea of back-transforming data in R. Lets assume that I would like to perform an ANOVA on transformed data. I transform the response variable and all the ...
1answer
56 views

### Standardize-back the Standard deviation

I run an lmer model using standardized data like scale(y) ~ 1 + (1|categorical) Now, I have a standard deviation for the random effect in normalized world but I ...
0answers
10 views

### Do I need to backtransform the estimates of a model produced with the mhurdle package using box-cox normal distribution?

I am currently running a double hurdle model with the R command "mhurdle". My data is not normally distributed and I am using the box cox normal distribution on because that yields the ...
0answers
14 views

### Can we transform back calendar adjusted forecast?

I've monthly data, I adjusted it for monthdays and conducted a forecast. After that can I adjust it back and compare it with untransformed time serie?
0answers
78 views

### Back-transformation of coefficients in a log-log model, and a model with a boxcox transformed y

There's a number of posts out there on back-transformations but none that I've been able to use to answer this problem, internet searches are returning surprisingly little on the issue of back-...
0answers
22 views

### Interpreting differences in log-transformed data when constant has been added first

I have performed an ANOVA on some log-transformed data. I had planned to transform the mean differences in the log-transformed data back to the original scale and interpret them as ratios of the ...
0answers
316 views

### Pairwise contrasts for logistic regression in emmeans, back-transform or not?

I ran a mixed effects logistic regression in R (glmer). The model identified a significant three-way interaction that I am interested in decomposing using post-hoc multiple comparison in emmeans. In ...
0answers
31 views

### What is the back-transformation of Log((Max Y + 1) - Y)?

I have performed a linear mixed model regression with the transformation on the outcome variable, Y, Log((Max Y + 1) - Y). This gives normally distributed residuals when simpler transformations did ...
0answers
29 views

### predicting waste per capita: is a Gaussian model correct?

I am trying to predict the daily amount of waste per person produced in the fishery sector. We surveyed fishing boats at the end of their fishing trip and the variables I have are duration of trip (...
1answer
708 views

### XGboost Regression Log Transform Target

I'm training a XGBoost Regressor to predict price which has a highly right skewed distribution. (all prices are positive) I took log transformation on the target thinking it would help to 1) stable ...
0answers
58 views

### Back-transforming coefficients of glmer model fit using rescaled independent variables for prediction & plotting

I've fit a model using the glmer function from the lme4 package. Because my predictor variables are on very different scales, I ...
0answers
76 views

### Back-transforming forecast points and error bounds from a VAR model applied to alr-transformed compositional time series

The data I have a k=3 compositional time series from which I am trying to forecast future values. The series is compositional in that at each time ...
0answers
46 views

### How do I back-transfrom my estimates (and confidence intervals) from log10 variables (both independent and dependent) in linear model

I ran linear models for a bunch of variables in R. Both variables are log10 transformed (dependent and independent). I already took a look in some online documents and videos about this but i guess I'...
1answer
334 views

### How to get the actual mean absolute error in cross validation after transforming the target variable y?

For a target variable y, it is transformed using np.log1p. Then a random forest regression model is trained using the ...
1answer
1k views

### Predicting y from log y as the dependent variable

In the book Introductory Econometrics by Wooldridge the chapter, which deals with predicting values of $\hat{y}$ (chapter 6.4 in the 5th edition) states the following: If the estimated model is: ...
1answer
101 views

### Which one is correct presentation for descriptive statistic of a transformed variable between retransformed mean (estimated SD), and median (qurtiles)

If a collected variable has a skewed distribution toward one side and transformed for statistical analysis, which one is better for descriptive statistics presentation between re-transformed mean and ...
1answer
214 views

### When is performing back-transformation of inferences on transformed variables Ok, and when is it not Ok?

Caveat: This question may be a tad rambly, and I welcome comments with specific directions for me to improve it. During a too brief exchange with the worthy @NickCox I got to thinking about ...
0answers
124 views

### How to plot estimate + raw data of a Bayesian zero inflated poisson?

GENERAL QUESTION: How to back-transform estimates from a zero-inflated poisson to obtain the original scale in R? (I tried exponential like for poisson but the results are wrong) DETAILED ...
0answers
82 views

### Why are the confidence intervals so large for the difference of differences?

I have run a generalized linear mixed effects model with the glmmTMB package to determine if there is an interaction between two categorical predictors, treatment and location, in predicting the ...
0answers
174 views

### Back transforming the intercept of double log normal distribution

I apologise if this is a duplicate, i couldn't find a thread that seem to be talking about the same thing. I have a dataset with a bunch of duration of varying lengths in seconds, i log-transformed ...
0answers
393 views

### Back-Transformation for Ln(X+1) of zero rich data

I have seen and read several similar questions, but mine pertains specifically to zero rich data. I will be back transforming my data based on a first order Taylor series approximation. As outlined ...
2answers
210 views

0answers
992 views

### Smearing retransformation in r [duplicate]

I ran a regression model with the Y variable (length of stay of patients in days) log10 transformed. I would like to compare the fit of the log10 transformed model with a similar regression where the ...
1answer
1k views

### Backtransforming log(x+1) transformed SE

I am back-transforming y=log(x+1) data that represent individuals/m^2 of area. Data are in the form of X ± SE. I back-transformed the means, but I am wondering if it's possible to directly back-...
1answer
714 views

### Standard errors in R, package emmeans

I am fitting a multinomial logit model in R by using the multinom() function in the nnet package. I would like to retreive the proportions in each class for the two ...