Questions tagged [time-series]

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

Filter by
Sorted by
Tagged with
6
votes
1answer
3k views

Shannon's entropy for financial times-series (return)

I'm looking at Shannon entropy, and generaly at ways to tell noise from signal when observing intraday returns (at the minute level for now). In python, e.g. I've implemented the fomula (sum of P(xi)*...
6
votes
1answer
170 views

How to perform cross-sectional asset pricing regression?

I'm wondering is that possible to get insignificant beta estimates in the time-series context, but highly significant risk premium associated with that beta in the cross-sectional regression? Any ...
6
votes
2answers
431 views

Is there any research on pyramiding techniques of entering/exiting a trend?

I am looking for any research about optimal strategies for gradually building (scaling in) positions inside a trend as well as optimal gradual exit strategies on pullbacks/reversals to minimise ...
6
votes
1answer
379 views

From $AR(p)$ to SDE

Let the Vasicek model to be $$\Delta r_{t}=k(\theta - r_{t-1})\Delta t+\sigma\Delta z_{t}$$ Due to the fact that $$\Delta r_{t}=r_{t}-r_{t-1}$$ if you let $\Delta t=1$, it is easy to see by ...
6
votes
1answer
832 views

time in time series database - UTC or local

I strictly store UTC time stamps inside time series files or databases, mainly to allow processing several time series together. Timezone information is kept with each time series file or item, so ...
6
votes
2answers
352 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 ...
6
votes
2answers
279 views

Two correlated time series - driver and follower

Say that there are two time series of highly correlated stocks one of which is the driver and the second one follows the first one. What mathematical measure or formula would you use to identify ...
6
votes
1answer
588 views

What machine learning method is more suitable for prediction of financial time series?

I have time series data for various assets and which I transform to create various features. I have framed the problem as a classification task where I attempt to predict either a positive or negative ...
6
votes
1answer
1k views

Ornstein versus AR(1) for modeling stationary data

I've come across several posts regarding parameter estimation for O-U models given some stationary data (say, some sort of mean reverting spread), but I can't seem to find an answer as to why modeling ...
6
votes
1answer
500 views

Major FX pairs - Pentahedron Data Structure

I read an interview today with Stephane Coquillaud. He talked about this idea of formulating a data set of the G5 currencies as a pentahedron. The obvious benefit is the fact that there is more ...
6
votes
2answers
315 views

How to deal with zeroes in returns?

Suppose there are two time series that I want to analyze and compare. However, many, or most, of the data are zeroes for some reason. For example, consider a pair of intraday trading returns time ...
6
votes
1answer
107 views

Error message when backtesting GARCH in R

I am trying to backtest my ARCH model using ugarchroll from rugarch package in R, but I am getting this warning message ...
6
votes
0answers
1k views

Asymmetric Volatility Modeling (Interpretation)

I am currently writing a paper on asymmetric volatility modeling of brent, gold, silver, wheat, soybean and corn from 1986-2012 and divided them into 4 sub-sample periods (i.e. 1986-1991, 1991-1997, ...
5
votes
2answers
3k views

How to remove outliers in financial times series?

I have a bunch of time series; i need to clean them before modelling. So far I just know the “filtering/smoothing” method : -Ex: moving average methodology (filter the data with a moving average (...
5
votes
2answers
497 views

Multifractal Model, Generating Sample Paths with Correlations between Assets

I have studied option pricing using Geometric Brownian Motion to generate sample paths. Because of the normal distribution, it is easy to create a covariance matrix and get correlated asset returns. ...
5
votes
4answers
2k views

Is there any way to easily estimate and forecast seasonal ARIMA-GARCH model in any software?

I use R to estimate a seasonal ARIMA(8,0,0)(5,0,1)[7] model for the seasonal differences of logs of daily electricity prices: ...
5
votes
1answer
3k views

How do I estimate the parameters of an MA(q) process?

It is relatively easy to estimate the parameters of an autoregressive $AR(p)$ process. How do I do with a moving average $MA(q)$ process?
5
votes
1answer
1k views

How to apply quasi-Monte Carlo to path-dependent options?

Following up on my recent question on variance reduction in a Cox-Ingersoll-Ross Monte Carlo simulation, I would like to learn more about using a quasi-random sequence, such as Sobol or Niederreiter, ...
5
votes
4answers
200 views

What is the industry standard for annualizing returns over non-contiguous time periods?

Suppose I am invested in the same fund for the first 200 days in 2013, some combination of 150 days in 2014, and the last 100 days in 2015. Further suppose that geometrically linking the daily returns ...
5
votes
2answers
356 views

Fractional Brownian motion - probability density function of the increments

I'm starting investigating the properties of the fractionally integrated brownian motion, yet I'm not able to figure out what kind of distribution should an increment of a fBM process follow, ...
5
votes
3answers
3k views

Calibration of a GBM - what should dt be?

I have a time series of daily data that I want to calibrate GBM parameters $\mu$ and $\sigma$ to. Using the discretized solution $$ S_{t_{i+1}} = S_{t_i}\exp\left(\left(\mu - \frac{\sigma^2}{2}\...
5
votes
1answer
8k views

detecting and measuring lead lag effect

Given two time series data. I remember there is one statistics that tells you one is the leading factor while the other is the lagging factor. However, i do not remember the exact details. correlation ...
5
votes
1answer
937 views

What is the variance risk premium?

Can someone provide an intuitive understanding of the variance risk premium? I am very confused by this definition and cannot interpret my time series analysis.
5
votes
1answer
6k views

How to use Newey West covariance corrector?

I have implemented the following model: daily_vol(t+1) = A*daily_vol(t) + B*weekly_vol(t) + C*monthly_vol(t) + error where vol means volatility, and A, B, C are ...
5
votes
4answers
1k views

Regressor: Nominal return, continuous return or first difference?

Suppose the application is linear models in financial econometrics. If we want to analyze stocks, the standard approach is to take the continuous/log return: $\ln{ \frac{P_t}{P_{t-1}} }$. Suppose, ...
5
votes
1answer
670 views

DCC GARCH: specifying ARCH and GARCH parameter matrices in STATA

The command in STATA to estimate the DCC model of two variables is: mgarch dcc ( x1 x2=, noconstant) , arch(1) garch(1) distribution(t) $$ \begin{bmatrix} h_1{...
5
votes
3answers
1k views

Pairs trading: Question on non-negative profits, size of the positions and trading signals

I'm trying to backtest Pairs Trading but have become a bit confused on the different methods of selecting pairs, how to look for trading signals and what size of the positions to take in the assets. ...
5
votes
2answers
184 views

Economic contagion to individual stocks (ideas for analysis)

I'm doing my undergraduate thesis on firm-level contagion. Specifically I look at a measure of performance over a financial crisis (e.g. raw stock returns), then run cross-sectional regressions with ...
5
votes
3answers
254 views

estimating the accuracy of a method for forecasting the distribution

Say for a stock I want to do a simulation using 30 days of historical returns, and maybe generate 1000 paths, with 2 days as the forecast horizon. Say I have 100 of these 5 day blocks used for ...
5
votes
1answer
1k 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 ...
5
votes
2answers
162 views

Interpretation of Correlation

I have two geometric Brownian motions (GBMs) driven by the same underlying Brownin motion, namely \begin{align*} S_t^1 = S_0^1\exp\left(\left(\mu_1 - \frac{\sigma_1^2}{2}\right)t + \sigma_1 W_t\right),...
5
votes
1answer
240 views

Fitting a non linear AR + GARCH(1,1)-M model

I want to fit the following model to a time series: $$ y_{t}=\alpha_{0}+\alpha_{1}y_{t-1}+\alpha_{2}y_{t-1}^{2}+\lambda h_{t}+\varepsilon_{t} $$ $$ h_{t}=\beta_{0}+\beta_{1}\varepsilon_{t-1}^{2}+\...
5
votes
1answer
354 views

Average beta of index consitutents w.r.t. the index is 0.60

I have 1 year time series data of 300 constituents of the Australian All Ordinaries index (which is composed of 491 firms). The missing firms are mostly smaller firms. I run the market model $R_{it} =...
5
votes
2answers
149 views

Is there a relation between these two forecasting/estimation approaches?

When learning econometrics I have usually seen stuff from the following perspective: Assume $Y_t = f(X_t) + e_t$, where f is some function of $X_t$ (typically linear). For example, assume $Y_t = X_t *...
5
votes
0answers
419 views

Calculating volatility of inhomogeneous time series

I am reading an article by Zumbach and Müller whose name is Operators on Inhomogeneous Time Series. This is interesting in general, but my main goal is to learn a good and efficient method to ...
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 ...
4
votes
2answers
5k views

Relationships between white noise and random walk

I would like to ask 5 questions about relations between these processes. 1) Could white noise be also a random walk? 2) Could random walk be also a white noise? 3) Could white noise be stationary? ...
4
votes
6answers
758 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 ...
4
votes
6answers
16k views

Which library shall I use for time series analysis in Java?

I'm looking for a library to do some time series analysis in Java but I can't find anything suitable. I've found plenty of libraries such as Math3 of JSAT but there's much I can you for my problem. ...
4
votes
4answers
3k views

Unsmoothing of returns

The following problem arises in the context of private equity, which typically report "smoothed" returns (think of it as a moving average). As you can imagine, "smoothed" returns would have a much ...
4
votes
2answers
2k views

ruGarch - Interpret test results

I'm working on a R project, trying to calibrate a GARCH (so far, (1,1) ) model to the yields of the STOXX50 index over the last 2 years. I've tried the garch function of the tseries package, but it ...
4
votes
3answers
685 views

Transaction Data with Participant ID

For my master thesis, I need high-frequency data with the market participant ID or which identifies the trading parties, respectively. I don't need the entire orderbook but just the matched orders ...
4
votes
2answers
109 views

Imputed values in a multi-index

I have an equal-weighted index on a number of different Indices (from US, Europe and Asian markets). This compound index is constructed from a time series that has missing values (for example, those ...
4
votes
1answer
4k views

How is the MA (moving average model) useful?

How is the MA model useful in modeling financial data, for example the stock indices? For example, from what i understand in the AR (auto-regressive) model portion, we can use the ADF test to check ...
4
votes
2answers
468 views

central limit theorem and VAR

If I have a lot of data points and number of different dependent variables, can I use central limit theorem to assume data is multivariate normal and compute my VAR? Is this the appropriate use of ...
4
votes
2answers
2k views

What's the difference between SA and SAAR?

I've only recently begun working in the quantitative finance field, and I've noticed that some time series I'm given are labeled "seasonally adjusted", and some labeled with "seasonally adjusted ...
4
votes
1answer
487 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 ...
4
votes
1answer
4k views

2-step estimation of DCC GARCH model in Python

Embedded in this thread are multiple questions. I'm currently im the process of implementing a DCC GARCH forecast model on quantopian (a python-powered trading platform). The two step consists of ...
4
votes
1answer
646 views

rollapply with Arima model: testing for stability of coefficients

I am trying to fit an arima model on a rolling window using rollapply.My aim is to plot a graph of the evolution of the coefficient, plot the error and the standard deviation. well i encountered the ...
4
votes
1answer
761 views

Is there a measure for the 'degree' of cointegration

Is there a standard (or maybe even intuitive?) way of ranking pairs of cointegrated time series so that one could make statements like the following: ...

1 2
3
4 5
13