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

learn more… | top users | synonyms

0
votes
1answer
31 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 ...
10
votes
4answers
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
27 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
20 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. ...
1
vote
1answer
83 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. ...
0
votes
0answers
4 views

Measuring promotion baseline smoothing [migrated]

I am trying to estimate promo effectiveness for a retail product. To do this I have taken monthly quantity sold data for the product. My question is - Is it logical to model the sales baseline (sales ...
0
votes
0answers
17 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? ...
0
votes
0answers
24 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?)
4
votes
1answer
178 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
1answer
67 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
60 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
45 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
547 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 ...
4
votes
1answer
294 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 ...
2
votes
2answers
77 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
32 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
1answer
134 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 ...
0
votes
1answer
79 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 ...
9
votes
4answers
535 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 ...
1
vote
0answers
36 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 ...
30
votes
7answers
4k 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
3answers
16k 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 ...
7
votes
2answers
209 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
240 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
91 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 ...
5
votes
1answer
4k 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
30 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
427 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 ...
4
votes
1answer
218 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} $$ $$ ...
4
votes
1answer
101 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
96 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
16 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
45 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
21 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 ...
2
votes
0answers
41 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
161 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
44 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 ...
0
votes
0answers
31 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 ...
2
votes
1answer
185 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 ...
4
votes
1answer
1k 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
197 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 ...
0
votes
1answer
71 views

Calculating the volatility for Black Scholes

The following problem is from the book by Hull. I did it but I am not sure it is right. I am hoping that somebody here can tell me if I did it right and if not where I went wrong. Thanks Bob ...
3
votes
1answer
172 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 ...
2
votes
1answer
214 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 ...
1
vote
0answers
88 views

Application of time series analysis to Bitcoin prices

Various exchanges allow for the trading of Bitcoins. The price of Bitcoin was very volatile since the inception of the system, today it is 391.76 USD: I wonder whether time series analysis tools ...
1
vote
0answers
50 views

state space for affine yield curve

i would like to reproduce in R the working paper " Affine free arbitrage class of Nelson Siegel term structure". The authors considering the equation of nelson siegel plus an adjustment term(C(t,T)) ...
2
votes
0answers
69 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)$. Assuming the ...
2
votes
1answer
75 views

Define polynomials of an ARMA process

I just started out with financial time series and I'm a bit stuck with ARMA models. I have the following ARMA process: $-4X_t + X_{t-2} = Z_t + 0.2 Z_{t-1}$ Now I am being asked for the polynomials ...