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

learn more… | top users | synonyms

4
votes
2answers
141 views

How to deal with negative ARCH terms?

Lately I have been trying to fit a GJR-GARCH(1,1) model to fit against the S&P 500 returns over 1985-2015 but I have ran into some problems I can't quite figure out. The GJR-GARCH(1,1) model I am ...
3
votes
2answers
90 views

ARMA-GARCH model, bset model selection and confidence levels calculations

I'm a newbie in GARCH models. I tried to realize ARMA(p, q)-GARCH(u, v) model via fGarch. So, 2 main questions. 1) Can I use BIC/AIC for selection best model for all (p, q)-(u, v) models? So, is it ...
8
votes
0answers
183 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). ...
0
votes
0answers
50 views

LSTM w/dropout Peer-reviewed or other authoritative lit for time-series/financial econometrics/Teh stock price/volatility/etc

So, I've been looking on Google Scholar for stuff using Long Short-Term Memory neural nets for time series. I was inspired by the interview with this 2nd place finisher in a recent Kaggle major: http:...
7
votes
2answers
2k 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 ...
2
votes
2answers
149 views

Normalizing SPY ETF time series data with its sector ETFs?

I am looking to compare the returns of a sector rotation strategy between the various SPDR sector ETFs XLY, XLP, XLE, XLF, XLV, XLI, XLB, XLK, XLU vs. ...
4
votes
1answer
302 views

Does Matlab support exogenous variables in GARCH models?

Is it possible to introduce dummy variables or explanatory variables in the GARCH variance equation (garchset and garchfit) in ...
3
votes
1answer
76 views

Dickey Fuller test of stationarity differenced data

In this case study on treasury yeilds from MIT, I have a question on page 11-12. He uses this data getYahooData("^TNX", start=20000101, end=20130531) His logic on page 11 is this "only daily ...
31
votes
8answers
9k views

Time-series similarity measures

Suppose I have two time series $X$ and $Y$ of stock prices. How do I measure the "similarity" of $X$ and $Y$? (I'm being deliberately vague as I don't have a particular application, and I'm curious ...
1
vote
1answer
71 views

Error when trying to estimate a Markov-switching Var model in R

I'm trying to estimate a Markov-switching VAR in R using the command msvar. These are the first 10 entries of my two time series. I have 798. When I try to run this I get an Error message ...
3
votes
0answers
80 views

Fourth moment of ARCH(2)

I am studying the ARCH(2) process given by $$X_t = \sqrt{h_t} \varepsilon_t$$ where $$h_t = \alpha_0 + \alpha_1 X_{t-1} ^2 + \alpha_2 X_{t-2} ^2$$ and $\varepsilon_t$ follows $N(0,1)$. ...
4
votes
2answers
154 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 ...
0
votes
0answers
59 views

VECM model with GARCH (1,1) error in R

I should create a VECM model with 8 lags and with Garch (1,1) error in R but i don't know how to do it and which package to use. The VECM should also have covariates in it. Then I should perform a ...
0
votes
1answer
70 views

CCC-Garch predict

So I'm trying to measure the VaR of 2 stock with a multivariate GARCH model, so im using the CCC model. I need to predict the standard-diviation and the mean but the ...
1
vote
0answers
37 views

Problem with overlapping data when testing futures market efficiency

In my case non-overlapping data would represent the scenario where futures prices (3 months) do not correspond to the futures spot prices in terms of delivery date. For example, futures settlement ...
2
votes
0answers
64 views

VAR models for log-returns?

I am wondering if Vector Autoregression (and other autoregressive models) is a sound modelling for the daily (not high-frequency!) log-returns of time series from liquid financial markets. One can ...
4
votes
1answer
363 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
0answers
22 views

Guidance on machine learning approach to improve interpolation [duplicate]

I am thinking about doing a project on improving the accuracy of some stock signals. The signals are fundamentally derived scores on a per stock basis. They are updated on a weekly or monthly ...
11
votes
4answers
808 views

Thesis using Momentum strategies in R, tips on good books, guidelines etc on how to do the programming?

I am quite new to R and will be doing an empirical analysis of momentum strategies in R using a dataset from the index OSEAX from 1980 to 2014. The momentum strategy will for the most part resemble ...
11
votes
3answers
3k views

How do I calculate the skewness of a portfolio of assets?

I need to calculate the skewness of a portfolio consisting of 6 assets. I know that for that I would need the co-skewness matrix between the assets. Does anybody know the formula for co-skewness or ...
0
votes
0answers
38 views

White's reality check p-value

I am running a hypothesis test based on White's reality check p-value. I am getting a weird result for my univariate time series of returns. In essence, I am following a code on MATlab to run the test ...
1
vote
0answers
37 views

Are there alternatives to the Box-Tiao decomposition in identifying mean reverting portfolios?

As documented in this paper, Box-Tiao decomposition (a way to decompose multiple time series into components with different speeds of mean reversion) can be used to identify mean reverting portfolios. ...
0
votes
0answers
26 views

Eurostoxx50 data in USD

does anyone know how I can import from yahoo the Eurostoxx50 data denominated in USD (not Euros as listed on yahoo?)
0
votes
1answer
85 views

Aggregating Tick Data

I have Level 1 data that has already been aggregated into 0.5s buckets by the exchange. I'd like to further aggregate the data into hourly and daily buckets. I plan to do this by simply taking a ...
1
vote
1answer
97 views

Memory-efficient clustering algorithm for large time-series datasets

I have a simulation task at hand with ~1e6 time series to be clustered on the basis of statistical measures every few days in the simulation. Most clustering methods I'm aware of require an affinity ...
1
vote
0answers
54 views

Estimating Daily Dynamics using Hourly Data

This article gives a nice outline of how daily data can be used to estimate cointegration on a monthly horizon. http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1404905 I'd like to use the same ...
11
votes
1answer
589 views

Alternative ways to understand time-varying comovement between two time-series?

I have been looking into ways to better understand how the dependencies/correlations/etc between two time series can vary over time. I first thought about using a Kalman/particle filter over a ...
2
votes
2answers
90 views

Is there an implementation of VAR-EGARCH model in R or Stata?

I am writing my undergrad honor thesis and want to run a multivariable VAR-EGARCH model. Is there any package in R or formulas in Stata 14 that allows me to implement directly? If not, could you ...
1
vote
1answer
72 views

Is there any package in R for conditional autoregressive range model (CARR)?

I am working on a project which requires volatility estimation using range based volatility. Is there any package in R which helps me in estimating the CARR model proposed by Chou (2005).
1
vote
0answers
78 views

How to fit exogenous + GARCH Model In Python?

I am studying a textbook of statistics / econometrics, using Python for my computational needs. I have encountered GARCH models and my understanding is that this is a commonly used model. In an ...
35
votes
7answers
7k 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 ...
7
votes
2answers
560 views

What time series database can be used with Python and Pandas?

I'm looking for a time series database that can be easily used with Python and Pandas objects such as DataFrame, Panel... But these objects will always contains time series. Ideally I'm looking for ...
4
votes
2answers
248 views

How to trade a Ratio?

I came across a ratio plotting of Corn And Soybeans contracts, notice it's in a historical low, an intuitive question came to my mind, how should I trade this ratio (or relationship)? It's unlike flat ...
2
votes
2answers
215 views

Augmented Dickey-Fuller Test/ Unit Root test on multiple time series dataframe in R

I have a dataset/dataframe in which I have calculated the daily log returns of five thousand companies and these companies are as column as well. I want carry out ADF test on this dataframe. I have ...
6
votes
1answer
6k views

GARCH model and prediction

I have a question about the prediction of volatility and returns of a time series. Basically it is a question about prediction in the ...
0
votes
0answers
32 views

In what situations would cross validations scores be inaccurate?

I'm trying to fit a SVM model on times series stock return data, predicting a buy, hold, or sell signal of the stock. I'm using 10-fold cross validation (using the R package ...
1
vote
2answers
457 views

Optimizing Principal Component factor weightings over time

I was given the returns of a cross-asset class portfolio of ETFs and I conducted PCA to obtain factors on dates from T-n, T-3, T-2,..., T. What I would like to do is decompose the market moves from T+...
4
votes
1answer
221 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}+\...
4
votes
1answer
127 views

Is that a good way to work with the ARMA model?

I would like to share with you what I am doing to get your point of view, and to make a better trading system in collaboration. I am working on EURUSD forex, and I am trying to find a way to place ...
0
votes
0answers
22 views

Including intercept and trend in ADF of differenced series

When specifying that the trend and/or intercept be included in the ADF output, does the trend/intercept election follow through to the ADF tests of differenced data as well? To clarify further, I ...
0
votes
1answer
230 views

Transforming daily simple returns into weekly

I am trying to transform daily simple returns into weekly returns. I am using the following R code: ...
0
votes
0answers
27 views

Download DGS3MO from FRED with getSymbols - error

I follow the course "Mathematical topics in finance" from MIT courseware. I opened R and rendered Dr. Kempthorne's Case Study 3: Time Series from September 30, 2013 I am able to render the code and ...
2
votes
1answer
72 views

Estimating Carma(2,1) parameters (using yuima package)

I am very new to R, and particularly to the yuima package, so I was hoping someone would be able to help me. I have some data (daily prices) that I wish to fit to ...
0
votes
0answers
30 views

Measuring strength of correlation for bivariate time series

In case of a bi-variate time series with both I(0) how do I measure the strength of co-relation. I am looking for measure similar to R-squared but ideal measure may not be one of the variants of r-...
2
votes
0answers
48 views

When to use SV or a GARCH model

So i have been searching for this answer for a question if there is a rule or something that would say when to use GARCH type model or use an stochastic volatility model to predict the volatility of ...
1
vote
2answers
194 views

Logistic Regression of tick data

I've been given some data (it's financial tick data) and I want to predict based on some observed variables whether the next move will be up, down or unchanged. So I have been trying to use ...
1
vote
0answers
53 views

copulas and time series

Can anbody explain how Copulas are used to describe the dependency between, for example, the return on two different stocks? I understand how Copulas are the "glue" that binds the two marginals ...
2
votes
1answer
267 views

High frequency price forecast model ARMA GARCH or another?

Can you reccomend model for high frequency data (1 second and less) (returns and volatility forecasting)? Most papers use ARMA, GARCH etc in 1 minute and lower time frame. PROBLEM ARMA does not know ...
5
votes
1answer
2k 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 ...
6
votes
2answers
407 views

Is it too important that my residuals be normal? I am Using an ARMA/GARCH model

I am trying to fit an ARMA/GARCH model to a time series. I found that the best candidate is an ARMA(1,0) + GARCH(1,1) with gaussian white noise It has coefficients with p-values near cero and the ...