Questions tagged [time-series]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
100 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
101 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
93 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
473 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
55 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
38 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
172 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
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 ...
0
votes
1answer
60 views

EWMA Volatility vs Volatility of EWMA

Is taking the standard deviation of a EWMA smoothed series equivalent to getting the EWMA volatility for that series?
1
vote
0answers
52 views

Correlation between a sector and MSCI ACWI returns

I have daily return data of 11 sectors of MSCI World Index and the MSCI ACWI index. I want to know the stationarity of correlations between the sectors and MSCI ACWI index. This is what I have done: ...
3
votes
1answer
1k views

Absorption ratio by Mark Kritzman

In Principal Components as a measure of systemic risk, the author Mark Kritzman defines absorption ratio (AR) as the fraction of the total variance of a set of asset returns explained or absorbed by a ...
1
vote
2answers
309 views

R: optimize timeseries to minimize “integral”

What I am looking to do is: for a given time-series $P_t$ (which will be constructed from different timeseries itself): $P_t$ = $\beta_1$$I_t^1$+$\beta_2$$I_t^2$+$\beta_3$$I_t^3$ $\qquad$ ($I_t^i$ ...
8
votes
1answer
667 views

Is this a viable method for testing market making strategies?

I found a video game market (steam community market) which allows for trading of in game items between users, most items are <0.25 USD each, and market capitalization appears to be maybe $5-$10 USD ...
1
vote
1answer
98 views

correlation in time series analysis

the goal of my research is to analyze if one variable X follows the movement of another variable Y over time. Meaning that Y is slightly ahead of X. The number of observations in each time series is ...
2
votes
1answer
100 views

Asset class dynamics differences

If we compare daily return dynamics of the main asset class time series (e.g. Stock indexes, bonds, precious commodities, etc) do we observe quantifiable differences? Are there some reference paper on ...
2
votes
0answers
59 views

volatility for multiple time series

I have time series data for a total of 4 stocks and want to analyze the volatility of those. Moreover I want to demonstrate that they have the same volatility. As a response variable I would use log ...
8
votes
2answers
2k views

How to annualize Expected Shortfall?

I have a time series with monthly data from which I compute the expected shortfall empirically, following the classical definition which can be found, for example, in wikipedia's definition. That is, ...
0
votes
0answers
42 views

Does it make sense to simulate from the multidimensional GBM?

Suppose I have times series data on 3 assets and I do $N$ simulations (GBM) first for each of assets individually and then from a multidimensional GBM since their log-returns are correlated (I use ...
1
vote
1answer
207 views

Collect all stock returns in one single matrix using quantmod in R

My problem is similar to the one in this question: how do I loop through all the stocks with quantmod and ttr? To estimate the covariance matrix of stock returns, I need a $NxT$ matrix $X$ of returns ...
48
votes
5answers
23k views

Building Financial Data Time Series Database from scratch

My company is starting a new initiative aimed at building a financial database from scratch. We would be using it in these ways: Time series analysis of: a company's financial data (ex: IBM's total ...
1
vote
0answers
89 views

Monte Carlo Simulation of correlated returns based on different frequencies

I am simulating through Monte Carlo, multivariate correlated returns of different products composing an Oil&Gas portfolio. The historical prices (from which I computed the log-returns) of the ...
3
votes
1answer
152 views

How to estimate a copula for time series

I want to estimate a copula for the innovations of two dependent time series (A and B). I have found no reference with a step by step on how to do this. I have only found summarized papers from which ...
1
vote
0answers
35 views

Negative abnormal stock return and permanent impact

Assume we have a day where stock price falls many standard deviations of the mean (e.g >3) . How could we test, in terms of time-series, if this negative shock is permanent or deminishes in the long ...
11
votes
2answers
747 views

Imposing Restrictions on Cointegrating Vectors, R example

The code given below estimates a VEC model with 4 cointegrating vectors. It is a reproducible code, so just copy and paste into your R console (or script editor). ...
2
votes
3answers
429 views

Mean and standard deviation of price series with Kalman

I like to calculate the mean and standard deviation of a price series, using the Kalman filter. I am somehow stuck with the deviation, or have some problem in understanding, which my research could ...
1
vote
1answer
108 views

How to create a currency independent commodity index

I'm looking for insights on a methodology to create my own bespoke index, specifically a gold index. I'd like to take the price of gold in various currencies, along with the different cross rates ...
1
vote
1answer
41 views

Recreating / Extending Bond Time Series

I am trying to analyse historical yield curve dynamics within an across countries and step one is extending / recreating historical yields and/or prices. The challenge is this: lets say a 10 year ...
3
votes
0answers
109 views

What is the purpose of short rate models?

Just venturing into quantitative finance and studying short rate models (Vasicek, CIR, Hull-White etc.). Wanted to ask a very simple intuitive question. How would a practitioner use these models? I ...
0
votes
1answer
36 views

Drop weekend data Vs fill weekend data for GARCH-type modelling

I have a dilemma for an analysis I'm currently on. I doing some GARCH modelling of bitcoin and a fiat currency. There are some null values with the fiat datasets in comparison with bitcoin data as ...
4
votes
1answer
252 views

Hansen and Jagannathan distance

Hansen and Jagannathan distance, or HJ-distance for time-series regression of excess test assets return on excess factor return reads: $HJ = \sqrt{\alpha'(E[RR']^{-1})\alpha}$ However, I am little ...
1
vote
0answers
79 views

Which stats are the best predictors of model sucess in real time? [closed]

What are the best predictors of real time model success in quantitative trading, i.e. # of transactions, length of backtest, StdDev, Skewness, Excess Kurtosis etc and what are the numerical values of ...
0
votes
2answers
97 views

What returns to use?

I have monthly returns of my portfolio... I would like to summarize the performance over a longer period in one overall figure. Should I use log returns per month then use geometric mean on the log ...
0
votes
1answer
53 views

Time Series Multiple Choice

1) Consider a standard AR(2) process. When is the maximum likelihood estimator identical to the OLS estimator? (a) when $\varepsilon $~ (N 0,$\Sigma^2) (b) always? I'm thinking (a), but that I also ...
0
votes
1answer
113 views

dividend paid on FTSE100 time series data

I need dividend paid on FTSE100 for last 10 years. I want to calculate the dividend-price ratio for FTSE100 as a time series data. I would really appreciate if anybody can give me a clue about finding ...
-1
votes
1answer
271 views

Accuracy for GARCH models

How does one calculate the accuracy of forecasts given by GARCH models considering GARCH is run on returns. Assuming GARCH is a derivative of a regression based prediction model, would regular ...
1
vote
2answers
307 views

Why does the Weak Form of Market Efficiency and Markov Property hold?

This question is to do with a paragraph in Hull (Options and other Derivatives) He explains that Stock Prices usually follow a Markov Property, where the current price of the stock contains all the ...
2
votes
0answers
51 views

Dividing H in the Hurst power law function to get the Hurst exponent?

For my own learning I have been following the guide here. It is highly instructive. Implementing this in R I was able to reproduce the authors results on the data sets provided within some ...
1
vote
0answers
164 views

Yield curve estimaton using linear regression

Assuming that there are not any zero coupon bonds in the market, then someone has to use the prices of regular bonds with same maturity and characteristics (risk,issue etc.) to obtain the yield curve. ...
5
votes
0answers
1k views

Hasbrouck's information share

Given a cointegrated set of price series, I am trying to compute the Hasbrouck's information share, as described in page 12-13 of this article. page 7-8 of this article I have the vector error ...
8
votes
0answers
174 views

Determining Hurst exponent of a Brownian motion

I am trying to determine the Hurst exponent of a simple Brownian motion, however, I seem to get a result that differs from 0.5. I am following the instructions given on the Wikipedia-page, and here is ...
0
votes
1answer
114 views

Is it possible to generate time&sales(tape) off of the tick data for a stock?

I want to build my own stock trading simulator with the ability to play it faster. ThinkorSwim has onDemand. But it's not fast enough to accumulate more experience. To code up my own market replay ...
5
votes
1answer
830 views

Measuring momentum as AR(1) process

I would like to measure the momentum in the price of a stock from the time the market opens until the time I trade each day. I want to use this momentum number in post-trade analysis (regression of ...
0
votes
3answers
453 views

log return of sp500. Stationary vs strictly stationary

By first glance of this time series; will you say it is stationary? I can easily see some "seasonality" which means that this is not strictly stationary since the distribution will not be the same; ...
2
votes
1answer
170 views

How can I 'quantize' a time-series in 'groups' exhibiting similar patterns? [closed]

In Signal processing, there is a topic of 'Quantization' (the process of mapping input values from a large set to output values in a (countable) smaller set ('states') ). I would like to construct a ...
2
votes
0answers
43 views

Non stationarity issue on copula estimation procedure

In this paper (1), on page 14 (section 4), the author presents an empirical experiment on the computation of a copula through the use of kernels. To do so, he uses the following stochastic process (...
0
votes
1answer
82 views

unsupervised pattern discovery - methods?

Given that I select features manually, what methods are available for pattern discovery with the purpose of time series prediction (footnote)? I only stumbled upon hierarchical clustring ("bottom-up"...
1
vote
0answers
48 views

Minimum Lower Partial Moment (n=2) hedging ratio

I would like to better have understanding on the minimum-LPM hedging. I have understood that the co-LPM matrix cannot be modeled by GARCH type models that are used to estimate to the covariance matrix,...
8
votes
4answers
1k views