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

learn more… | top users | synonyms

6
votes
1answer
252 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 ...
5
votes
1answer
182 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} ...
0
votes
0answers
27 views

How to estimate an Engle's asymmetric DCC model in R?

I have a $N x d$ matrix of standardized residuals, and I want to estimate the parameters $\alpha$, $\beta$ and $\gamma$ of the asymmetric version (Cappiello, Engle, Sheppard, 2006) of the usual ...
3
votes
1answer
365 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
111 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
75 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
31 views

Outlier detection via TSO and errors help [duplicate]

I'm trying to detect outliers within a financial time series which represents the ratio of cash distributions to equity holders as a percentage operating earnings for the period. Visual inspection ...
3
votes
1answer
100 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 ...
0
votes
0answers
23 views

Obtain historical quotes programmatically

What do people use to get all the historical daily quotes (high, low, open, close) for all the stocks traded on an exchange during a period of time? So, suppose I want this info for all stocks traded ...
0
votes
1answer
186 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 ...
4
votes
4answers
108 views

Compare two time series with different frequencies

Lets say I have two time series $X_t$ and $Y_{t,q}$. As an examples, lets say $X_t$ is a series that measures year over year changes in the level of output of a good (say number of widgets). So $X_t = ...
1
vote
0answers
40 views

Example Scalar Model Extended Kalman Filter

I have a simple question. I think not a question is, is a request. This month I have been studying how to understand and implement the Kalman filter algorithm for simple models such as the local level....
2
votes
1answer
44 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!
53
votes
8answers
20k views

Efficiently storing real-time intraday data in an application agnostic way

What would be the best approach to handle real-time intraday data storage? For personal research I've always imported from flat files only into memory (historical EOD), so I don't have much ...
2
votes
1answer
131 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? ...
4
votes
0answers
77 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
42 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
0answers
42 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
254 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? ...
1
vote
0answers
11 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
130 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
80 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
34 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 ...
1
vote
2answers
43 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. ...
1
vote
0answers
36 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_{...
1
vote
0answers
75 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
48 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 ...
4
votes
1answer
149 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 ...
1
vote
1answer
71 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
114 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
116 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
37 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
28 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
48 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
72 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
646 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
51 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, ...
7
votes
5answers
695 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
57 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
34 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
43 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
61 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
80 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
66 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
91 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
69 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 ...