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

learn more… | top users | synonyms

0
votes
1answer
176 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
23 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
64 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
29 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
46 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
0answers
49 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
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. ...
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
2answers
186 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 ...
0
votes
1answer
78 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 ...
0
votes
3answers
179 views
3
votes
1answer
245 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 ...
1
vote
0answers
121 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
51 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)) ...
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)$. ...
2
votes
1answer
79 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 ...
2
votes
2answers
86 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
2answers
135 views

What methods are there for showing a time series is mean reverting?

What methods are there for showing a time series is mean reverting? Is there a hypothesis relating to the Ornstein-Uhlenbeck process for example?
1
vote
1answer
124 views

Building predictive model for closing price using only previous days data

I am trying to determine which quantitative model to try and build a predictive model for the next day's closing price for all the S&P stocks based on their bar for that particular day. However, I ...
1
vote
0answers
51 views

Transforming Variables in time series regression

I have multiple quarterly time series data and trying to build a linear regression model using this dataset. Should the transformations on the LHS and RHS be the same i.e QoQ percent changes? Could ...
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). ...
6
votes
2answers
210 views

Is the average of independent Brownian Motions still a Brownian Motion?

If $W$ and $B$ are independent Brownian Motions (BM thereafter), then the average of $W$ and $B$ is $X_t=\frac{1}{2}(W_t+B_t)$. Where do I begin to show that indeed it is still a BM? Also, if both ...
4
votes
2answers
245 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 ...
4
votes
1answer
87 views

What is the variance risk premium?

Can someone provide an intuitive understanding of the variance risk premium? I am very confused by this definition and cannot interpret my time series analysis.
8
votes
3answers
373 views

Does Kalman filter always improve over linear regression?

If I have a simple linear regression that has statistical signification but I would like to improve the overall prediction results. Will a Kalman filter be always an improvement or as least achieve ...
3
votes
1answer
100 views

volume-returns cross correlation interpretation

I want to find the relationship between volume and price returns in the S&P500. My first thought was to run a cross correlation in order to find who leads and who lags in the relation. It´s my ...
4
votes
0answers
283 views

How to forecast high-frequency data?

Introduction: I have seen a plenty of articles/books regarding volatility forecasting applied to high frequency data, but none of them were dedicated to forecasting the actual prices (for example ...
6
votes
1answer
310 views

How to use physics models in Time Series Analysis and Forecasting.

I have been studying methods of Technical Analysis for several years and I am disappointed. I actually do not consider it useful. I have not met anyone who can constantly win in the market using these ...
6
votes
2answers
1k 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 ...
1
vote
0answers
50 views

labeling high frequency signal data

Was curious if anyone has methodologies they can recommend for systematically labeling (discrete) signals generated from intraday tick data for use in classification or detection models ?
11
votes
4answers
743 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 ...
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 ...
2
votes
0answers
31 views

Specifying integration level of time series [closed]

Following model was estimated on 200 observations. How to specify the level of integration of $X_t?$ In brackets there are standard errors and p-value of Breusch-Godfrey test is also shown. ...
3
votes
2answers
222 views

Relationships between white noise and random walk

I would like to ask 5 questions about relations between these processes. 1) Could white noise be also a random walk? 2) Could random walk be also a white noise? 3) Could white noise be stationary? ...
2
votes
1answer
107 views

what are the criteria to select pairs?

I'm new to this forum, this is the first question I posted. I have many candidate pairs and I've used ADF test to make a first selection. There are more than 800 selected. The pairs are absolutely too ...
2
votes
1answer
305 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 ...
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 ...
4
votes
1answer
350 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 ...
1
vote
1answer
281 views

predict next day's close price using hmm

I am reading this paper(Stock market forecasting using hidden Markov model: a new approach) and get confused about how they predict the next day's close price. Below is what the authors say about how ...
6
votes
2answers
440 views

Value at Risk for Futures Contracts

I would like to know how you would compute Value at Risk on a portfolio of futures i.e rates futures, commodity futures and equity. How do you deal with the discontinuous form of commodity futures for ...
3
votes
1answer
75 views

compute technical indicators from candle data

i have a rookie question but can't find the answer anywhere so..what is the right way to compute a simple moving average when you have an array of (open,close,low,high) tuples ? From what i saw so ...
2
votes
1answer
97 views

Garch models and assumption of stationarity ?

I found big inconsistency in the GARCH models and their underlying assumption of stationarity. GARCH models require that data must be stationary, where stationary means both mean and variance are ...
2
votes
1answer
103 views

FORECASTING Model AR(1) in an Autoregressive Form The Pi´s Parameters

Ive been implementing a little exercise to obtain the first 2 forecasting points of an AR(1) process. And i want to have the forecasting ponts using the three forms: Im folowing this pdf ...
6
votes
2answers
253 views

Is there any research on pyramiding techniques of entering/exiting a trend?

I am looking for any research about optimal strategies for gradually building (scaling in) positions inside a trend as well as optimal gradual exit strategies on pullbacks/reversals to minimise ...
1
vote
1answer
62 views

Does it make sense to interpret autocorrelation and box test on 5 data points?

I am trying to see if after I trade a stock the price movements at 2, 5, 7, 10, 30 and 60 seconds after exhibit any autocorrelation. Below I have the returns from my trade price to the trade 2,5,7,10 ...
6
votes
0answers
243 views

Markov-Switching Multifractal and FX Rates

Is there a better model than Markov-Switching Multifractal (MSM) for detecting regime shifts in FX rates across multiple time horizons? I am especially interested in the different aspects of the ...
2
votes
0answers
118 views

Identifiability of a state space model (Dynamic Linear Model)

Take a general linear Gaussian state space model (SSM)(aka Dynamic Linear Model DLM): $X_{t+1}=FX_t + V_t$ $Y=HX_t+W_t$ $V_t \sim N(0,Q)$ $W_t \sim N(0,R)$ I am interested in the ...
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 . ...
10
votes
2answers
433 views

GARCH model, expectation of volatility?

Consider a time series $\{r_t\}$ following a standard GARCH(1,1) model, i.e., $$ r_t = \sigma_t \epsilon_t,$$ where $\epsilon_t \sim N(0,1)$ and are i.i.d, and $$\sigma_t^2 = \omega + \alpha_1 ...
2
votes
1answer
99 views

Estimating correlation using EWMA

I am using an EWMA model to evaluate the correlation between yearly time series. I know Riskmetrics uses $\lambda=0.94$ for daily data and $\lambda=0.97$ for monthly data. Is there a value ...