The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [dynamic-regression]

Dynamic regression is a type of regression, where one of the independent variables is a lagged dependent variable.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

how to estimate hyper-parameters when cross-validating time series forecasting?

I want to evaluate several forecasting methods on the taylor time series using cross-validation. How do I go about selecting the hyper-parameters for the methods? ...
0
votes
0answers
10 views

Explaining Profitability in Banks Using Panel Data Dynamic/Fixed Effects Model

I am currently looking to study the profitability of banks. My 4 independent variables, which are taken from banks balance sheet, are just financial ratios. My time is 13 Years, and I have 21 banks. ...
2
votes
1answer
38 views

Auto.arima coefficients with exogeneous variables

I have the following output from the auto.arima function with specified xreg: ...
0
votes
0answers
10 views

Calculating standard errors for long-run (cumulative) multiplier in a Distributed Lag model

I have a distributed lag model of the form: lm(wellbeing ~ temperature + temperature_lag1 + temperature_lag2 + time + individual, df) where I'm interested in ...
0
votes
0answers
33 views

Dynamic regression, models with coefficients = 0 chosen as top models

I am running auto.arima on part of a time series (training data) using all possible combinations for several external regressors. I then choose the top 5 models according to fit to testing data using ...
0
votes
0answers
3 views

Do we have to make cycles and trend covariates/predictors stationary in order to use them as valid predictors in a Dynamic Regression Model?

I want to extract patterns from macroeconomic indicators for use in predictor a target variable. In particular, I plan to decompose the macroeconomic variables into trend, cycle, maybe seasonality and ...
0
votes
0answers
50 views

Physics/dynamic system simulation with Deep Learning

I am interested in modelling physical/dynamic systems with deep learning, and I think that recurrent neural networks should be a good way to model systems that can be normally represented by state-...
0
votes
0answers
5 views

How to align predictors with target variable when predictors are sampled at a lower frequency?

I have a set of models I am creating in which the target variable I am forecasting is sampled at a high frequency (daily) but the predictors are all Federal Reserve Macroeconomic variables which are ...
0
votes
0answers
30 views

Using Decomposition to Extrapolate seasonality, cycle and trends of predictors

I'm creating a dynamic regression model in which macroeconomic indicators are predictors/features in the model. I need to forecast these features n-steps into the future. I am planning to decompose ...
0
votes
0answers
17 views

What are the statistical reasons of choosing between a static and dynamic panel data model?

I would like to know more about the relation between serial correlation/autocorrelation and static vs. dynamic panel data models to decide between a static or dynamic model. Currently, I am analyzing ...
1
vote
1answer
82 views

Lagged variables in multilevel models

Is it okay to use lagged dependent variables as predictors in multilevel models? i.e. If there are $j$ groups of $i$ individuals each measured $t$ times, to model $$ y_{ij} = \beta_{0j} + y^{-1}_{ij} ...
0
votes
0answers
29 views

Dynamic poisson-time series regression

Basically, my question is similar to Time series dynamic poisson regression, yet I didn't get any clue by its answer. I'm modeling dengue incidents with GLM (poisson regression; because the response ...
2
votes
1answer
120 views

Transfer Function Clarification

I'm seeking a little clarification on the specific application of transfer functions for time series. I've followed the Box-Jenkins approach for selecting potential exogenous predictors... using R's ...
0
votes
0answers
14 views

The use of cross validation in Dynamic Linear Model (or state space model)

The dynamic linear model has the form as $$ y_t = m(\theta_t, x_t) + \epsilon_t ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (1)\\ \theta_{t+1} = F \theta_t + R \eta_t,~\eta_t \sim N(\mu_t,\Sigma_t) ~~~~~~(2) $$ ...
0
votes
0answers
26 views

Time series novel

I've exhaustively attempted to find a proper way to analyse a dataset. Despite finding several piece of information of what could be done, I kindly ask for suggestions of could be done, mainly in R. ...
0
votes
0answers
58 views

Dynamic regression with lagged explanatory variables

I have data on unemployment from 2006 to 2018(monthly) and have fitted a $sARIMA(3,1,1)(0,1,1)_{12}$ that has decent forecasting abilities, however I want to try to improve the forecasting abilities. ...
2
votes
0answers
48 views

Regressing across multiple different time series using exogenous variables?

To make this situation clear, I'll use a somewhat silly, but conceptually simple example. Imagine I record teams of movers carrying furniture down the block. I measure the furniture's position/speed ...
0
votes
0answers
10 views

Is it Valid to Use Monthly values of one Timeseries to forecast daily values of a another Timeseries

I have a model with some macroeconomic variables that only have monthly values. I am building a dynamic regression/transfer function/ARIMAX model where the dependent variable is daily sales. Do I have ...
1
vote
0answers
86 views

Multilevel dynamic linear models in R

I am interested in fitting a multilevel bayesian structural time series with a hierarchical structure of the dynamic regression coefficients. The reason I want to do this is is that I have a number of ...
0
votes
0answers
41 views

Modelling dynamic panel data

I have a question about a dynamic panel data model. Consider the panel data model: $y_{it} = \alpha_i + x'_{it}\beta + \delta y_{i,t-1} + \epsilon_{it}$. This cannot be estimated because $\alpha_i$ is ...
0
votes
0answers
48 views

ARIMA function in R: Is it right to include lags of the dependent variable in xreg?

The ARIMA function in R includes an xreg option to include covariates/predictors. Is it possible (or right) to include the lagged dependent variable as a covariate in this model? If the lagged ...
0
votes
0answers
31 views

Dynamic Pooled OLS: does it make sense?

I have data on 25 countries for about 35 years. I want to estimate a POLS as I am not looking for a causal interpretation but just sttistical correlation between two phenomena. That's why I will not ...
3
votes
0answers
63 views

Time series model for demand forecasting?

I have a time series $Y_t$ (example:university applications received in a certain month) which I want to forecast. I have another time series $X_t$ and I know that $Y_t$ is related to past lags of $...
2
votes
1answer
489 views

Short Run vs Long Run Effect in Dynamic Panel Regressions

This video differentiates between short run and long run effects of an independent variable in dynamic panel regression (from 19:25 to 20:50). Firstly, I would like to know when and why do we ...
0
votes
0answers
39 views

Why is the assumption that the disturbances of a dynamic linear regression model are serially uncorrelated important and how could it be tested?

I'm a little bit confused about this assumption here. If we considered it is a dynamic linear regression model, then disturbance correlation is part of the probability. So this assumption is ...
0
votes
0answers
186 views

How to interpret Nickell or dynamic panel bias?

In a panel data setting: I am running a Fixed effects dynamic panel regression. It is well known that the coefficients associated with the dynamic variable(gamma) is biased. This is also referred to ...
1
vote
0answers
30 views

Introducing multiple lags of DV as IV in regression

Background - I have to estimate the impact of different promotional channels on the sales of a product. We don't have sales so technically it is order data at a zip level. Also, the product is highly ...
1
vote
2answers
569 views

auto.arima forecasting same value continuously for future part in r

I have a daily time series data of inbound call centre of last 10 months and i need to forecast for next two months. My all future forecasts are repeating after a week i.e. values of 2nd,3rd and 4th ...
1
vote
0answers
255 views

Lagged Dependent variable in OLS

I have a question about one of my models. I am sorry if I am using Terms wrongly, as I am part of the management research field and this quite often leads to different terminologies. I try to model ...
0
votes
1answer
124 views

How is `Arima` from `forecast`/`stats` package with external regressors (dynamic regression) evaluated?

I use the Arima function from the forecast package in R. I also took a look at this short introduction to the topic (author of ...
1
vote
0answers
145 views

How to run a time series regression in R? [closed]

How to use tslm function in r ti run a time series regression? Do we want to use stationary time series when using tslm function? If I tell in detail, I have y variable and another 16 explanatory ...
1
vote
1answer
205 views

Handling daily time series data for better accuracy

I have a daily observation of call volumes data starting from 28-01-2017 to 31-08-2018 a little over one and half year.On sundays calls volume are less and monday the highest showing weekly pattern. ...
1
vote
0answers
251 views

When and why should we use Tobit Regression model?

I am trying to find out determinants of corporate cash holdings for a panel dataset of 1696 firms over a period of 21 years. The dependent variable is the ratio of 'Cash and Cash Equivalents' to '...
1
vote
1answer
2k views

What's the definition of “Dynamic Regression Models”?

I am trying to learn about Dynamic Regression models. However, the sources on the topic is (relatively) few compared to other TS topics, and so I cannot really get a grasp of where to start. I really ...
3
votes
1answer
514 views

Seasonal Arima with binary exogenous variables

I have a time series, which I would want to model using Sarima + regression. However, I have a binary variable which clearly controls the level of the time series (for the dates when it is set to 1, ...
0
votes
0answers
39 views

Which test is the most convincing?

Brief background: I’m examining mediation rates in China. I have a panel dataset with N=24 provinces and T=30 years (1985-2014). For each province-year, I observe mediation rates and host of economic/...
0
votes
1answer
413 views

How to repoduce the fitted values from a forecast::Arima in R by hand?

We have fit an ARIMA (1,0,0) with exogenous reggressors using the forecast package in R and would like to write about this model. However when we write out the ...
1
vote
0answers
95 views

Contribution of regressors in regression with ARMA error

I am trying to forecast 'Patients' by fitting linear regression with ARMA error (auto.arima, Xreg) with 5 regressors. 'patients' and all 5 regressors have seasonality. 1) Is there any way to quantify ...
0
votes
0answers
85 views

Forecasting many stores sales with optimal reconciliation and regression

I am forecasting many stores sales via the optimal reconciliation approach. The problem is that forecasts are not as accurate as I would like. Edit: Part of the problem is that a small subset of ...
2
votes
1answer
596 views

If I add a lagged dependent variable, do I need to add the lagged independent variables too?

If I have a normal regression model y_t = βx_t + ε_t and want to add a y_(t-1), would this be proper? ...
1
vote
0answers
92 views

Do dynlm and dlm have same mathematical expressions?

I am currently using dynamic linear regression (dynlm) for my analysis. However, I do also find another model called dynamic linear model (dlm). I find that dlm has an official mathematical ...
0
votes
1answer
38 views

Calculating, and plotting, long run effects of dynamic panel models

I am estimating an error correction model of the following form, using panel data where $i$ are countries and $t$ are years: $\Delta y_{it} = \alpha + \phi_1 y_{it-1} + \phi_2 y_{it-2} + \gamma x_{it-...
0
votes
1answer
203 views

How to deal with timeseries regressors of different lengths in Dynamic Regression Model

I plan to build a dynamic regression model with weekly sales data over a three year period (Jan 2014-Dec 2016). The three series are sales, price and advertising spend. I have complete data for all ...
1
vote
1answer
319 views

Logistic Regression with Lags

I am interested in fitting a dynamic panel model in the form of a random effects logistic regression logit P(s(t,i) = 1) for time t and subject i. The regression equation for this logistic equation ...
0
votes
1answer
90 views

Dynamic panel with X times dummy and X times (1-dummy) variables

I have a dynamic panel model that goes as follows: D is a dummy variable that takes the value of 1 if a condition is met in the previous period and zero otherwise. Is this model correct? can I put ...
1
vote
0answers
58 views

Interaction of Time Fixed Effect with one Past Outcome

I am trying to understand the identification of the following model: $y_{it} = \gamma_i + \eta_t+\epsilon_{it}$ $\forall t\leq \bar{t}$ $y_{it} = \gamma_i + \eta_t\times y_{i\bar{t}}+\epsilon_{it}$ $...
0
votes
1answer
930 views

[R]: DOLS - number of leads and lags

I have a model model_1=dynlm(y_log~x1_log+x2) where y_log, x1_log are I(1) and x2 is something between I(0) and I(1) (I rejected unit root with ADF test but KPSS ...
2
votes
0answers
2k views

What does small N or small T really mean in panel data sets?

A common notion in literature on the comparison of various estimation techniques for dynamic panel models is that it's always stressed that each of these different estimation techniques perform best ...
1
vote
1answer
732 views

Stationary of exogenous variables in Dynamic Regression with SARIMA errors

I want to create a dynamic regression model with ARIMA-errors. What I am trying to figure out is if the exogenous variable, x_t and the variable I want to predict, y_t need to have the exact same ...
0
votes
0answers
579 views

auto.arima model with many regressors

I am trying to forecast a seasonal series with 30 regressors using auto.arima. I have several questions regarding the correct methodology that I need to pursue. 1) Should I fit auto.arima with all ...