Skip to main content

All Questions

Tagged with
0 votes
0 answers
35 views

How can I back transform the residuals of a decomposed time series , where I used log(x+c) transformation on the original data?

I did a time series decomposition on a series of Twitter activity data into trend, seasonal and residual component. I checked the distribution of the residuals when fitting a linear model to the time ...
Mim_Tauch's user avatar
1 vote
1 answer
62 views

ARIMAX model for Google trends: trouble with lots of zeros

I want to apply ARIMAX model on Google trends. I used python package to get daily data. However, this data contains a lot of zeros, so if I do first difference of logs, I see a lot of (inf) in python. ...
Arri's user avatar
  • 47
0 votes
1 answer
34 views

Can I transform variables to comply with conditions on order of integration in an ARDL model?

If log variable have a unit root, can you then difference it? For ARDL model variables should not be I(2) or more. Variables of log form are I(2). Would it be a problem to difference it. What I am ...
Gus's user avatar
  • 25
0 votes
1 answer
1k views

Forecasting with log transformed data and then taking the exponential of my predictions [duplicate]

I am aware a similar question was asked here Interpreting forecast predictions of log transformed data. But I would like a deeper comment/answer. I have a time series and want to make forecast. I ...
Mangostino's user avatar
0 votes
0 answers
42 views

Can log-transform to TS reduce forecast accuracy vs non-transformed TS

I have to apply a SARIMAX model to over 300 TS. Many of them have increasing volatility which can be addressed by aplying log to the TS. Problem is that also many TSs don't have this problem. Is it ok ...
Oliver Mohr Bonometti's user avatar
1 vote
2 answers
2k views

Anything wrong with taking the log of an interest rate?

Suppose I am looking to forecast the 2 Year Treasury Bond rate with an ARIMA type model. The series is I(1) but its first difference does not look stationary due to non-constant variance. A general ...
ColorStatistics's user avatar
0 votes
1 answer
64 views

VECM terms of variables

I have estimated a VECM model of 4 endogenous variables and 3 exogenous, before solving my model, I would like to introduce another variable (endog, let's say (X)) which is calculated with a formula ...
SIDATI NOUHI's user avatar
2 votes
1 answer
1k views

Percentage change vs log change in a repeated measures or time series analysis

I'm trying to measure growth over 8 weeks between two groups. In essence it's an 8 (week) x 2 (group) analysis. What is the best practice, percent change in my dependent variable across weeks (e.g. ...
M_S_Pen's user avatar
  • 59
0 votes
0 answers
40 views

Identify non-linear trend to know when to use log transformation in ARIMA?

There are basically three often used approaches to make time series stable based on three difference scenarios: 1) first difference for linear trend; 2) log for non-linear trend; 3) log seasonal ...
Ahmad Rizqullah's user avatar
2 votes
1 answer
165 views

Differencing Time Series

I am trying to remove the trends by differencing this logarithmically transformed time series. It contains two columns about COVID-19 Cases in the United States: one column being the number of cases ...
324's user avatar
  • 504
-1 votes
1 answer
1k views

How to reverse log difference?

I am currently doing log differences to a dataset and I want to revert back to the actual values. I'm trying to understand why at the end we need to multiply by the original value (and why we do not ...
Antonio's user avatar
2 votes
0 answers
1k views

When is log-transformation appropriate in unit-root testing?

In applied work in economics when people perform unit-root tests on level variables they virtually always transform them first by using natural logarithms. However, I wonder if this is always ...
1muflon1's user avatar
  • 905
3 votes
0 answers
74 views

why arima uses differencing transform not the log transform to make data stationary?

I am currently working on time series project and i am naive. I would like to ask, there exist strict stationary, differencing stationarity. If i understood correct the first order differencing ...
Chethan's user avatar
  • 131
8 votes
1 answer
10k views

Shall we use log(diff(x)) or diff(log(x))?

I am starting to learn time series and when detrending I always end up with the same doubt... Generally, I use diff() for, let's say there is an upward trend like ...
Chicago1988's user avatar
0 votes
1 answer
35 views

Detect anomaly users who try to access too often based on the access log

Does anyone give me advice for statistically detecting anomaly users who try to log in our website too often? At first, the idea that came to my mind is to use Spike detection approaches or IQR ...
andrewshih's user avatar

15 30 50 per page