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

learn more… | top users | synonyms

5
votes
1answer
237 views

Up and Down days in GBPUSD and a Filter

I want to study if the odds of an up or down day in a forex pairs is 50-50. I just count the total number of up and down days in X years and compare it with the total days. The results are very ...
2
votes
1answer
107 views

VEC GARCH (1,1) for 4 time series

I have to estimate a VEC GARCH(1,1) model in R. I already tried rmgarch, fGarch, ccgarch, mgarch, tsDyn. Has somebody estimated a model like that? ...
5
votes
1answer
169 views

DCC GARCH - Specificating of ARCH and GARCH parameter Matrices STATA

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

Block bootstrap to synthesize asset prices

I have a few basic questions on block bootstrapping on a financial time series ('TS'). Assuming my trade universe consists of 10 stocks, I would like to create a set of synthetic prices for all 10 ...
1
vote
0answers
32 views

Problems in computing VaR with GARCH-GPD-copula approach

I use a time-varying Gaussian copula (with GARCH-filtered standardized residuals modeled semiparametrically with Gaussian kernel interior and GPD tails, i.e. generalized pareto distributed) to ...
3
votes
1answer
336 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 (...
2
votes
2answers
89 views

Fitting Copula and Simulation

I would greatly appreciate any insights into the problem described below, regarding using the data obtained from applying the functions of the 'rugarch' package into those from the 'copula' package. ...
3
votes
0answers
41 views

False warning messages in R, is it possible?

I'm modeling GARCH-filtered standardized residuals via semiparametric distribution with Gaussian kernel and GPD (generalized pareto distribution) tails with thresholds at 5% and 95%. For some series I'...
2
votes
2answers
245 views

Normalization of Market Data in Time Series Correlation

Suppose we have 2 time series of market data, one for each security and we want to correlate between these 2 securities. My question is How do we handle gaps of missing data in the time series? ...
0
votes
1answer
67 views

adding dummy variable to ts object in r for particular quarter

I've looked all over and can't seem to get a clear idea of how to do this; I have ts data with quarterly frequencies. I simply want to add a dummy variable only for the data corresponding to Q4 but I ...
1
vote
0answers
10 views

How to get daily OHLC (fints) from minutes OHLC (fints) in MatLab?

I have a minutes OHLC time series stored in fints object, how can I get a new fints object which contains daily OHLC? What is the easiest way to do it?
6
votes
1answer
117 views

Why is the GARCH intercept supposed to be strictly positive?

Maybe it's a simple question but I don't really understand why it is theoretically required. Let's take the standard GARCH(1,1) $$\sigma^2_{t+1}=\omega+\alpha\epsilon^2_{t}+\beta\sigma^2_{t}$$ In most ...
3
votes
0answers
49 views

'GARCH - extreme value theory - copula' approach to estimate risk measures in R

I'm reading about this approach of using GARCH-EVT-copula methodology to separate univariate and joint estimation and then estimate for example VaR and ES. I wanted to try something similar, but my ...
1
vote
0answers
33 views

Account for empirical relationship between signal and market data

I have two monthly time series : one is a 'signal', on which I will base my decision to buy or short-sell, and the second one is the time serie of a given asset's price. I have implemented this ...
3
votes
1answer
84 views

Return.portfolio error from PerformanceAnalytics package

When using the PerformanceAnalytics package of R, I am getting an error from the Return.portfolio function whenever I ask it to rebalance_on any frequency. If the rebalance parameter is removed, the ...
1
vote
2answers
39 views

cumulative return calculation, disagreement

A friend of mine and myself are having an argument on how to correctly determine cumulative return. The dataset has monthly return data and we are trying to determine the 6-month cumulative return. ...
0
votes
1answer
174 views

Augmented Dickey-Fuller Questions

I've been searching in bibliography about this test applied to an AR(p) model. $$Q(L)(Y_{t})=c+\epsilon_{t}$$ Where L represent the Lag Operator and $Q=1-\phi_{1}x-.....-\phi_{p}x^{p}$ is the ...
1
vote
0answers
30 views

Estimating time-varying tail dependence for Archimedean copulas

Patton (2006) defines the upper tail dependence coefficient for a time-varying bivariate SJC copula as $$\tau^u_t=\Lambda \left(\omega_u + \beta_u \tau^u_{t-1}+\alpha_u \frac{1}{10}\sum^{10}_{i=1}|u_{...
2
votes
1answer
36 views

Time series of European sovereign credit ratings by the Big Three?

I would need time series, from 2000 to 2015 (if possible) of sovereign credit ratings by Moody's, S&P and Fitch. Could you suggest me a source or provide me such a dataset? Thank you very much!
1
vote
0answers
64 views

Cointegration for forex using ARMA model to forecast the spread

I am working on an automatized quantitative strategy that use cointegration in Forex. I am backtesting this strategy in Python. Please see below the python file: https://drive.google.com/file/d/...
1
vote
0answers
45 views

How to write time-varying functions in R? Applied example

Let's say I want to use a Gaussian copula $$C_{R_t}(\eta_1, ..., \eta_n) = N_{R_t}(N^{-1}(\eta_1), ...,N^{-1}(\eta_n))$$ with a time-varying correlation matrix $R_t$. Through DCC we model the ...
3
votes
1answer
125 views

How to obtain Standardized Residuals from a Time-Series?

I have my estimates for an AR(3). To obtain the residuals I'm supposed to use $$Y_t-\hat\phi_0-\hat\phi_1Y_{t-1}-\hat\phi_2Y_{t-2}-\hat\phi_3Y_{t-3},$$ where the Y's are from the dataset. If I do ...
0
votes
1answer
57 views

how to derive critical values for augmented Dickey–Fuller test (ADF) using Monte Carlo method?

Can anybody explain in simple terms how the critical value of the ADF test can be derived using Monte Carlo simulation?
1
vote
1answer
93 views

Does the unconditional variance implied by a GARCH equal the sample variance?

In the MATLAB default settings for GARCH estimation they say "presample conditional variance is the sample average of the squared disturbances of the offset-adjusted response data y". Am I right in ...
0
votes
2answers
112 views

GARCH model is better for index than stock

We have used a standard GARCH(1,1) model with t distributed innovations for daily data of S&P index and JPM stock. Question: is there any financial or statistical reason why the GARCH model ...
0
votes
1answer
32 views

Open source code based on quandl for security analysis and options priming

Quandl seems to be an excellent source of wide range of free/open financial data. But is there an open source code or platform that uses the quandl datasets to perform security analysis and option ...
0
votes
0answers
25 views

How to impose restriction on cointegrating vector in R, reproducible example

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

Determining confidence level of directional signals

With regards to technical analysis, are there ways of determining the confidence level of a directional signal? Taking a relative strength index (RSI) as an example, can the extent to which an asset ...
1
vote
0answers
66 views

How to choose a GARCH model which delivers iid standardized residuals?

For my thesis I first need to examine nine financial time series and fit a conditional volatility model such that the obtained standardized residuals ($z_t = \epsilon_t / \sigma_t$) are approximately ...
-4
votes
2answers
590 views

How to apply Elliott wave priciple to any Time Series?

I'm strongly interested to computing Elliott Wave to any given Timeseries. Does anybody tried? Is there any phython library to do that? I'm looking for an algorithm taht if I give to it a time ...
2
votes
0answers
48 views

serial correlation, Fama MacBeth (1973) procedure incorporating momentum

I have a question regarding the use of the Fama-MacBeth (1973) procedure on panel data. I am investigating the cross sectional determinants of expected REIT return following the procedure from: Chui, ...
6
votes
5answers
525 views

Thoughts on how quantitative hedge funds use machine learning to invest in the stock market (algorithms, examples of data, etc.)

I believe there are several post on this general topic but I thought I would start my own thread. I'm a former fundamental hedge fund investor (i.e. modeling a company's financials, forecasting the ...
2
votes
2answers
56 views

Automate selection of BIC-minimizing ARIMA(1,0,X) model

I want to estimate an ARIMA(1,0,X) model. The MA(X) in the model is selected to minimize BIC. I have the following code employing the function auto.arima from "...
0
votes
5answers
5k 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. ...
1
vote
0answers
28 views

Marginal Distribution using GARCH model

I have n return series. I fitted AR(1)-GARCH(1,1) to each return series. Then used PIT(residuals) to transform the residuals to uniform. Then I fitted n dim copula to the data. I simulated 1000 points ...
1
vote
0answers
41 views

Distribution of AR and MA polynoms roots in ARMA/ARMA-GARCH models

I have another noob question. So, for example, I have ARMA(2,2) model: $$ x_{t} = \phi_{1}x_{t-1} + \phi_{2}x_{t-2} + e_{t} + \theta_{1} e_{t-1} + \theta_{2} e_{t-2}$$. So, I have 2 polynoms: $$1 - \...
9
votes
4answers
20k 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 ...
0
votes
1answer
45 views

How to create time series with lagged in R [closed]

Would anyone else advise me, how to create time series with lagged in R. I would the result is the difference with lagged, there is a function Delt() but the result is the percentage change. Please ...
1
vote
1answer
57 views

What causes discontinuities with stock prices

With reference to the figure above, why is it that the price at which the stock closed at on monday not equal to the open price on tuesday? Is this discontinuity due to an adjustment in the price to ...
14
votes
1answer
2k views

What is a good topic on financial time series analysis for master thesis?

Can someone suggest a topic or some reasonably narrow area in financial time series analysis (e.g. statistical, machine learning, etc.) which can make a good topic for a master thesis? By 'good' I ...
2
votes
1answer
75 views

distribution of AR, MA coefficients estimation in ARMA-GARCH models

could anyone give me an information about distributions of AR and MA coefficients via estimation? So, for example, I have ARMA(1,1)-GARCH(1,1) model with the same AR(1) and MA(1) parameters ...
2
votes
0answers
61 views

Johansen cointegration test interpretation in R

I want to test my time series for cointegration using the Johansen test in R. I got the following result and so I know now that at least 5 out of 9 of my time series are cointegrated. My question is, ...
2
votes
1answer
88 views

How to construct a cointegrating vector using more than 2 price series in R?

I use now this code from hier Why does the following data fail my cointegration test? with slightly modification of possibility to load something directly from Dropbox file storage . ...
1
vote
1answer
64 views

Strategies to merge bid, offer and trade price time series into a single price time series?

I'm doing intraday analysis on low volume stocks. There are just a few trades every day, but a whole host of bids and offers. In order to reduce the sparsity of the time series data I'd like to ...
3
votes
2answers
121 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
83 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
180 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
46 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
146 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. ...