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

learn more… | top users | synonyms

0
votes
0answers
8 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 ...
0
votes
1answer
23 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!
0
votes
0answers
38 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: ...
5
votes
1answer
233 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 ...
0
votes
0answers
32 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 ...
2
votes
1answer
100 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
158 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} ...
3
votes
1answer
90 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
48 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
63 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
105 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 ...
3
votes
1answer
293 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
59 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. ...
0
votes
1answer
29 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
1answer
62 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 ...
0
votes
0answers
22 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
42 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 ...
3
votes
1answer
72 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
0answers
54 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 ...
0
votes
1answer
162 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 ...
-5
votes
2answers
538 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
46 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
447 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
55 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
24 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 - ...
8
votes
4answers
19k 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
44 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 ...
13
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
68 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
54 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
87 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
62 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
114 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
78 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 ...
7
votes
0answers
170 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
44 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: ...
6
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
139 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
285 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 ...
30
votes
8answers
8k 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
61 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
112 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
51 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
56 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
36 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 ...