Questions tagged [time-series]

A temporal sequence of events measured at discrete points in time.

Filter by
Sorted by
Tagged with
1
vote
0answers
31 views

General to specific approach to modelling

I am trying to find the relationship of stock indices across the world. This has been done by the literature, however, I am wondering about the methods chosen. I have decided to go with what I think ...
2
votes
2answers
160 views

remove seasonality in future contracts

very new to commodities. I have raw agriculture future data, and I need to remove the seasonality (de-seasonalize) from the data, what is the general approach ? Thanks for the help!
1
vote
0answers
76 views

How does the FED calculate SAAR for GDP?

In looking at the Fed's GDP growth rate data, it looks like the fed uses a different calculation for calculating annualized growth rate than the typical annualized rate of change. Does anyone have any ...
2
votes
1answer
66 views

Monte Carlo simulations of stock price percentage change rather than stock price

Say we have a stock price time series $S_k$. We can do monte carlo simulations on the stock price to make predictions about future prices (e.g. through Geometric Brownian Motion SDE's). Does it make ...
4
votes
1answer
349 views

Application of ACD models

I have been playing around with autoregressive conditional duration (ACD) models and I have a nicely working R based implementation using real high frequency data (trades only data). However, what's ...
0
votes
0answers
197 views

Rolling forecast using GARCH model

EDIT This is not a duplicate of my original question linked, since I have since overcome that problem and have posted an answer. Since solving the previous problem, I have run into the problem ...
2
votes
0answers
264 views

RiskMetrics VAR calculations and conditional distribution of sum of log returns

According to Tsay's book in Chapter 7, for the Risk Metrics model: A nice property of such a special random-walk IGARCH model is that the conditional distribution of a multiperiod return is ...
3
votes
1answer
152 views

Discretizing a Continuous Time Stochastic Volatility Model

How does the discrete time stochastic volatility model arise from the continuous time one? Also, forgive me for cross-posting. I have the following continuous time SDE for a stochastic volatility ...
20
votes
8answers
35k views

How to check if a timeseries is stationary?

I'm using KPSS Method to check if the series is stationary, but I would also like to use another test to confirm if the series is stationary or not, what method coudl I use?
1
vote
0answers
136 views

Poor results forecasting stock price volatility using Python's GARCH model

As far as I understand, forecasting stock price volatility should be more achievable than forecasting absolute prices or returns. It seems as though GARCH models are the traditional and most widely ...
10
votes
1answer
2k views

ARMA+GARCH prediction with package rugarch (R)

I am analyzing FTSE 100 series, from 2007-01-01 to 2010-12-31 (university exam homework). I have to use the data 'til 2010-11-30 as sample, and the remaining (23) observations as in-sample forecast (...
1
vote
0answers
33 views

Johansen Cointegration Test in R

I know its probably been asked bevor but i just don't get it. I have 2 values (Oil and corn price) and i want to check if they are cointegrated. Bevor that, i have tested if they really are non ...
6
votes
2answers
269 views

Does predictability in a VAR process imply mean reversion or momentum?

There seems to be some disagreement in the literature about this. Define predicability of a stationary series to be $\sigma^2_{t-1} / \sigma^2_t$ Finding mean reverting portfolios using canonical ...
10
votes
0answers
6k views

How to use statsmodels' Granger causality test to measure the lag between two time series?

I am using the Granger causality test to measure the lag between pairs of time series where it is already apparent that one is following the other. So I am not expecting this test to tell me whether ...
4
votes
2answers
172 views

Lagged Residual as Independent Variable

I am building a factor model to estimate future equity returns. I'd like to include an autoregressive residual term in this model. I'd like to have yesterday's error (the difference between yesterday'...
10
votes
1answer
13k views

How to calculate the conditional variance of a time series?

I am reading a paper where the term conditional variance is mentioned, but I am not really sure what is meant by this and how this can be calculated: Fig. 2 shows the conditional variances of the ...
61
votes
8answers
24k views

Is R being replaced by Python at quant desks?

I know the title sounds a little extreme but I wonder whether R is phased out by a lot of quant desks at sell side banks as well as hedge funds in favor of Python. I get the impression that with ...
1
vote
0answers
22 views

Sample distribution of cross-sectional statistics of returns

Currently doing an application of VaR on sample of industry portfolios in the US. I have a matrix of $n$ industry portfolios with $m$ time-series observations. I calculate cross-sectionally (for each ...
0
votes
1answer
43 views

Where can I download for free the entire price history of the nasdaq composite and s&p500 indices? [duplicate]

I would like the entire price history of both these indices at an end-of-day level, not intra day. Is there an R api that I can use for such an exercise?
0
votes
0answers
43 views

Interpreting the ACF graph

I am currently struggling with the interpretation of a price chart and the corresponding ACF graph. The question is, if there is momentum in the price of this asset. This is the corresponding price ...
2
votes
1answer
97 views

Asset pricing model factor need to be excess return?

In John Cochrane's Asset Pricing book and his video lecture, he states that asset pricing factors need to be excess returns, a traded portfolio. Is there a reason for that? I can't find explanation ...
0
votes
0answers
50 views

GARCH(1,1) and Value at Risk: Rolling window or non-overlapping samples

Currently studying on financial risk management. I want to test different methods of VaR estimation. I want to model volatility using a GARCH(1,1) model. My question is what should the size of the ...
4
votes
6answers
582 views

Book recommendation for time series analysis

I have been trying to wrap my head around Engel-Granger test and jcitest etc. I have failed thus far. If possible can someone guide me about which books to start with and possibly reach to ...
0
votes
2answers
79 views

Imputation of missing returns

I'm trying to calculate a historical VaR for a portfolio of futures, however there are certain days for which some assets are missing prices. Since the portfolio consists of many spread positions, the ...
22
votes
4answers
14k views

Performance of Open Source Time Series Database for Financial Market Data

We would like to store financial tick data in a database (potentially billions of rows) and then create aggregated (open-high-low-close) bar data from it (e.g. 1min or 5min bars). It was mentioned ...
-3
votes
2answers
83 views

How can currency (USD/TRY) be going up without having a candle before that would close under it?

I am having a hard time understanding how can USD/TRY be going up without having a period before that would close at a point under it. This is from today (2018-10-08 6:12 and 6:50). Is it moving up ...
0
votes
0answers
63 views

Market Invariant for Commodity Futures

In the same sense that Meucci describes "compounded returns" as the invariant for equities and "changes in yield-to-maturity" as the invariant for fixed-income, what is the invariant for a commodity ...
0
votes
2answers
104 views

Daily returns to monthly basic question [closed]

I am currently a little bit puzzled. I am trying to compute the monthly returns from a set of data. ...
1
vote
0answers
66 views

Cointegration between daily time series and intraday time series

I am working with time series data of daily prices, and intraday prices. For simplicity sake I will refer to the daily time series as 'A' and 'B', and the intraday time series of the same instruments ...
0
votes
1answer
76 views

How long is considered `long-term'?

For a project I am doing I need to simulate the balance sheet of a pension fund. In order to do so I also need to simulate euro inflation. Since my inflation data is non-stationary, I model it using ...
2
votes
1answer
138 views

A question about stationarity and ergodicity

Given daily returns of a stock index over 50+ years, a homework question asks: Plot the annual sample mean and variances of the returns and their absolute values. Are these estimates in agreement ...
0
votes
0answers
17 views

suggestion for NDX volatility index prior to 2000

NDX index is available since 1984 in Bloomberg. There's VXN index that represents the implied volatility of NDX, which is available since 2001. I need some index or series that represents implied ...
1
vote
1answer
302 views

What is the Probability Distribution of Max-Drawdown?

How to obtain the probability distribution of Maximum Drawdown, starting from the probability distribution of Daily Returns? Here the details: Suppose I have a time serie of N=1000 daily returns. ...
3
votes
0answers
83 views

Comparison of normalization methods on market returns

I am looking to use a multi-factor model to make target-return predictions. Since the factor-returns come from different scales I need to normalize first. There are different ways to normalize ...
1
vote
1answer
91 views

Understand the white noise condition in Vector Autoregression

In the following vector autoregression model with lag polynomial representation: $$\Phi (L) y_t= \epsilon_t$$ where $Y$ is the vector of endogenous variables, $\Phi$ is the parameters matrix, $\...
1
vote
0answers
38 views

Forecasting time series data using auxiliary information and associated questions

Suppose I want to forecast MSFT time series, using MSFT history as well as SPY history. Are there good time series forecasting methods that permit auxiliary data to be used? Perhaps you should just ...
1
vote
0answers
150 views

Overlapping Data

I have a daily time series data spanning over 22 years. I need to compute some meaningful yearly standard deviation statistics / generate probability distribution and estimate tail risk. 22 years ...
17
votes
5answers
47k views

How to fit ARMA+GARCH Model In R?

I am currently working on ARMA+GARCH model using R. I am looking out for example which explain step by step explanation for fitting this model in R. I have time series which is stationary and I am ...
3
votes
2answers
1k views

Getting data of sub-sector indexes of an S&P 500 index sector using QuantMod in R

Using the quantmod package in R, one can download the S&P500 index using the following command: ...
0
votes
1answer
98 views

Which method would you use to compare if a time series of financial returns has more “clusterized volatility” than another?

It is known that the historical series of financial returns are characterized by the so-called volatility clustering. Suppose we approximate the number of two-type clusters, namely the high and low ...
0
votes
1answer
98 views

How to calculate RSI while considering market close and holidays?

I was trying to calculate RSI over hourly OHLC bars for a symbol (AAPL as an example) and got stock, first how should I handle closing hours? (does it make sense to ignore them all together and assume ...
1
vote
1answer
92 views

What is the optimal approach to “backcasting” alternative asset classes (i.e. PE, Hedge Funds, Real Estate)?

I am interested in coming up with better risk calculations for alternative asset classes. As these are illiquid, not a lot of historical data is available. My idea is to use performance of stocks ...
0
votes
1answer
428 views

How to deal with missing value in a time series stock market data?

I have collected data for the period of 2002 to 2018 for following indices Nifty (India), NASDAQ (US), ADX (UAE) and TASI (Saudi Arabia). After collection, I have arranged data in a single sheet with ...
1
vote
0answers
31 views

Finding the distribution and moments of returns with GARCH models (in R if possible)

I understand the GARCH type models and I know how to fit a model to a time series. But, there is a paper which calculates the moments of the distribution of returns (Variance, Skewness, and Kurtosis) ...
1
vote
1answer
54 views

QQQ fillings history

I'm trying to find Invesco QQQ Trust fillings for 2001-2018 time period, at least top 10 by year, do you know where I should search?
0
votes
0answers
37 views

Joint hypothesis tests

When running regressions, $$Y_t=\alpha+\beta_{9}x_{9,t-1}+\beta_2x_{2,t-1}+\beta_3x_{3,t-1}+\beta_4x_{4,t-1}+\varepsilon_t (1)$$ $$Y_t=\alpha+\beta_1x_{1,t-1}+\beta_2x_{2,t-1}+\beta_3x_{3,t-1}+\...
2
votes
1answer
35 views

Deriving the long-horizon predictive regression and hypothesis testing

I am working on the long-horizon regression, $$y_{t,K}=\mu+\beta_1x_{1,t-1}+...+\beta_nx_{n,t-1}+e_{t} $$, where $$y_{t,K}=y_{t}+y_{t+1}+...+y_{t+K-1}$$ and there can be multiple x's. So I am ...
3
votes
0answers
167 views

Simulation of a DCC-GARCH

I want to simulate some exchange rates with a DCC GARCH. I know the package rmgarch but I want to code the simulation my self. The following are the main equations ...
0
votes
0answers
67 views

What is a momentum portfolio? How can I create one?

What is a momentum portfolio? How can I create one? How can I test if momentum in one portfolio drives momentum in another portfolio. Any useful references.
0
votes
0answers
61 views

Constrained Optimization for performance attribution

I am trying to perform constrained opmitization for portfolio performance attribution analysis. Specifically, I am trying to determine the impact of sectors performance on the S&P 500 index. Min ...