# Tagged Questions

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

250 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 ...
182 views

74 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/...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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). ...
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 ...
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 ...
645 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 ...
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, ...
692 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 ...
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 "...
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. ...
33 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 ...
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 - \...
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 ...
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 ...
60 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 ...
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 ...
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 ...
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, ...