# Tagged Questions

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

295 views

### Fluid dynamics for order book depth modelling

Would someone be able to give me an idea what type of fluid dynamics I could look at for modelling the order book? My background is more signals-related maths (correlation, covariance, fourier etc). ...
1k views

### Counterintuitive time varying Beta with Kalman filter

If you're used to play with R, you'll enjoy the following reproducible code: ...
41 views

### How to make a historical index of a group of materials in which the set of materials changes every month?

The question may sound simple however for the moment it is a brainteaser to get it right, let me explain: the exercise is to be done on +/- 200 groups of materials (matgroups) one matgroup can ...
282 views

### How to deal with zeroes in returns?

Suppose there are two time series that I want to analyze and compare. However, many, or most, of the data are zeroes for some reason. For example, consider a pair of intraday trading returns time ...
269 views

### Simple EOD computations for tick data

As part of End-Of-Day calculations once a particular market/exchange has closed for all the tickers traded on that market one may typically compute the following properties: OHLC Bid/Ask Price (mean,...
436 views

### Stepwise Cointegration

This is more of a general question at this point, but if my thought process makes sense I will follow up with an R implementation. I have read a number of papers on cointegration analysis for pairs ...
784 views

### How to annualize dividends paid at varying intervals?

I am attempting to write a function that will calculate the annualized rate of return for individual dividends made by illiquid investments. These dividends are paid at varying intervals and the ...
977 views

### Predict Quadratic Trend in Time Series

Can anyone kindly point out if I made any mistakes in making predictions using quadratic regression model in time series? I called the predict() function with the appropriate data vector and model, ...
1k views

### Analyze raw tick data

I'd like to work with raw tick data and naturally this data is unevenly spaced (for example, a couple of quotes are at the same second etc.) For example ...
15k views

### Why are GARCH models used to forecast volatility if residuals are often correlated?

The answers to this question on forecast assessment suggest that if the sequence of residuals from the forecast are not properly independent, then the model is missing something and further changes ...
162 views

### Is it random walk?

I would like to ask a question about random walk. Campbell, Lo & Mackinlay defined the random walk, in the following way (RW3): $$cov[f(r_{t}),g(r_{t+k})]=0,\qquad k\neq0$$ for all $f(\cdot)$ ...
572 views

### knowing the order of GARCH model

I want to ask if there is a situation to know the order of GARCH(p, q) from the result. For example, in the case of AR(p), one can know the value of p by plotting pacf(). In case of MA(q), one can ...
70 views

### Is there an appropriate sequence to tests during model diagnosis?

How should one order (sequence) the following tests? Stationarity test Johansen cointegration test Normality/Histogram test Autocorrelation test Heteroskedasticity test Multicollinearity test Or,...
136 views

### How does one use the Johansen cointegration test in a linear time series model?

How does one use the Johansen cointegration test in a linear time series model? Should I only use normalized coeffients for interpretation? Or, once I know that the variables are cointegrated, do I ...
252 views

### How to synchronize put and call option-data?

I recently retrieved a large amount of European option data, for call and put prices, from OptionMetrics. Doing so for the same time period I get a file consisting of 62558 rows of call prices & ...
3k views

### How to use Newey West covariance corrector?

I have implemented the following model: daily_vol(t+1) = A*daily_vol(t) + B*weekly_vol(t) + C*monthly_vol(t) + error where vol means volatility, and A, B, C are ...
84 views

### Imputed values in a multi-index

I have an equal-weighted index on a number of different Indices (from US, Europe and Asian markets). This compound index is constructed from a time series that has missing values (for example, those ...
369 views

### time in time series database - UTC or local

I strictly store UTC time stamps inside time series files or databases, mainly to allow processing several time series together. Timezone information is kept with each time series file or item, so ...
274 views

### Testing for stationarity in large sample sizes

I keep struggling with testing 9 samples if they are stationary. Each of these samples is a real valued time series with 714.000 values. If I use the KPSS test with the each compleete sample set, the ...
1k views

### How to detect structural breaks in variance?

I'm looking for a method to automatically detect structural breaks, I tried Chow test, It works good but it doens't work for breaks in variance. Do you know a test to check strucutural break in ...
720 views

### The Basis of Using Technical Indicators as Inputs

In the process of my research I very often come across academic papers regarding modelling and trading strategies that in one way or another incorporate some technical indicators. For example in some ...
2k views

### How to detect regime change when estimating asset correlation from historical time series?

Suppose I have two asset time series, $X_t$ and $Y_t$, and I'm estimating their correlation from historical data. I'd like to apply some systematic criterion to estimate what time window I should use ...
3k views

### Squared and Absolute Returns

I've always wondered why do one use squared or absolute returns to determine if volatility modeling is required for the return series? We understand that there are various tests for its ...
669 views

### Selecting timeframe for time series analysis

In technical analysis, we may use confluence of direction for 3 timeframes to roughly gauge bias of market now. Similarly, if we use time series forecasting methods to predict(say daily data-whether S&...
475 views

### Oscillatory time-series forecasting

I was wondering if this mean(160)-reverting/oscillatory time series "SUM" can be considered chaotic & forecastable to some extend short-term? http://sg.myfreepost.com/sgTOTO_analysispower.php?...
743 views

### What data transformations to use in regression of credit spreads on equity prices?

Clearly there is a strong relationship between credit spreads and equity prices (both theoretically and empirically). But how would one go about formulating a regression which seeks to explain this ...
706 views

### Regressor: Nominal return, continuous return or first difference?

Suppose the application is linear models in financial econometrics. If we want to analyze stocks, the standard approach is to take the continuous/log return: $\ln{ \frac{P_t}{P_{t-1}} }$. Suppose, ...
788 views

### Asymmetric Volatility Modeling (Interpretation)

I am currently writing a paper on asymmetric volatility modeling of brent, gold, silver, wheat, soybean and corn from 1986-2012 and divided them into 4 sub-sample periods (i.e. 1986-1991, 1991-1997, ...
2k views

### How do I estimate the parameters of an MA(q) process?

It is relatively easy to estimate the parameters of an autoregressive $AR(p)$ process. How do I do with a moving average $MA(q)$ process?
475 views

### Why does $\hat{\epsilon}'\hat{\epsilon}$ of a factor model measure risk?

$\hat{\epsilon}'\hat{\epsilon}$ from the market model: $R_{it} - \hat{\alpha} - \hat{\beta}R_{mt} = \hat{\epsilon}$, or from a factor model such as the Fama-French 3 factor model, is often used in the ...
2k views

### Are two identical time series cointegrated?

I did cointegration test on two identical time series, and the result shows that they are not cointegrated, but intuitively, I think they are. Can anyone share some thoughts on this? Thanks!
422 views

### Major FX pairs - Pentahedron Data Structure

I read an interview today with Stephane Coquillaud. He talked about this idea of formulating a data set of the G5 currencies as a pentahedron. The obvious benefit is the fact that there is more ...
318 views

542 views

### Entry and exit points for very short mean-reverting timeseries

I have a model specifying a cointegration relationship on a number of transaction-level timeseries. I would like to specify entry and exit points for trades where these points ideally would be just ...
356 views

### Is there any measure that is a non-trivial combination of VWAP and TWAP?

Is there any measure that is a non-trivial combination of VWAP and TWAP? For example: $$\textrm{VTWAP} = \frac{\textrm{VWAP}+\textrm{TWAP}}{2}$$ I'm thinking about ...
553 views

### Choosing the time-frame to test for cointegration

Is there a technique to choose the time-frame for a cointegration test (eg Augmented Dickey-Fueller's)?
337 views

### central limit theorem and VAR

If I have a lot of data points and number of different dependent variables, can I use central limit theorem to assume data is multivariate normal and compute my VAR? Is this the appropriate use of ...
769 views

### a simpler test for normality given skewness, kurtosis and autocorrelation and size of time series

I typically do a JB (Jarque Bera) test and DW (Durbin Watson) tests for check for normality given skewness, kurtosis and autocorrelation of the data. However this requires a CHI distribution table ...