A sequence of events measured at disrete points in time.

learn more… | top users | synonyms

1
vote
1answer
837 views

How to apply Ljung Box Test?

I am checking the closing prices(about 9000+ prices) of the stocks data to test for randomness. The test I am using is Ljung Box test, in MFE toolbox for MATLAB, I used 300 data of closing prices, ...
0
votes
0answers
94 views

Modelling interest rate: AR(2) modelling

I have a time series of spread that follows an $AR(2)$ (Autoregressive model of Order 2). I need an interest rate model that represents that dynamics. What model should I use?
0
votes
0answers
119 views

Should the standard deviation points of CML x-axis be calculated with excess returns?

By excess returns, I'm referring to the current nominal treasury rate minus the log returns of the security. I'm working to construct a dynamic CML / CAPM application, but am uncertain how standard ...
5
votes
0answers
197 views

Time series analysis on illiquid price data?

Say for example I have the following company in some specialized industry: A - Company that is about to be listed in Exchange 1, i.e., no price history B - Company that produce similar products as ...
1
vote
2answers
353 views

Transaction Data with Participant ID

For my master thesis, I need high-frequency data with the market participant ID or which identifies the trading parties, respectively. I don't need the entire orderbook but just the matched orders ...
4
votes
6answers
4k views

Why non-stationary data cannot be analyzed?

Searching online, i found out that non-stationary cannot be analyzed with traditional econometric techniques as in case of non-stationarity some basic model assupmtions are not met and correct ...
1
vote
0answers
205 views

Test for stationarity and make use of non-stationary points in financial market?

I have two questions to ask: What are the best methods to determine stationarity in a financial market (such as stocks) using MATLAB? What methods would you recommend to use in order to change from ...
8
votes
4answers
2k views

R: Fast and efficient way of running a multivariate regression across a (really) large panel (First pass of Fama MacBeth)

I am attempting to run a rolling multivariate regression (14 explanatory variables) across a panel of 5000 stocks: For each of the 5000 stocks, I run 284 regressions (by rolling over my sample ...
0
votes
0answers
209 views

Time-varying correlation via state-space representation and Kalman filter

Let a linear time-varying mode like this one: $y_{t}=\alpha_{t}+\beta_{t}x_{t}+\epsilon_{t}$. You can also suppress the constant term to simplify this example: $y_{t}=\beta_{t}x_{t}+\epsilon_{t}$. ...
-1
votes
1answer
110 views

Converting time series returns into euro

I am trying to convert various series of returns into one currency (euro). I saw from aprevious post that soemone suggested using conversion factors, where would I find these? Also, given that the ...
0
votes
0answers
241 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). ...
1
vote
1answer
275 views

Help with understanding a normal distribution/probability question

Could someone please help me translate what this is saying on page P15, section 4.2: http://www.ntuzov.com/Nik_Site/Niks_files/Research/papers/stat_arb/Ahmed_2009.pdf Specifically: When the ...
2
votes
1answer
542 views

Counterintuitive time varying Beta with Kalman filter

If you're used to play with R, you'll enjoy the following reproducible code: ...
0
votes
0answers
36 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 ...
6
votes
2answers
258 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 ...
0
votes
0answers
236 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 ...
2
votes
0answers
657 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 ...
3
votes
0answers
136 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)$ ...
3
votes
1answer
279 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 ...
2
votes
0answers
126 views

Event studies using revenue data vs. measuring abnormal returns

This may be a silly question, but does there exist a methodology for examining the impact of "events" on companies that are not publicly traded? I suppose it would look at abnormal revenues rather ...
2
votes
3answers
664 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 ...
1
vote
1answer
118 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 ...
2
votes
0answers
62 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 ...
2
votes
2answers
180 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 & ...
5
votes
2answers
2k views

Using variance ratios to test for mean reversion

Can you use the variance ratio test to determine whether or not a time series is mean reverting? I'm using the Lo.Mac function in the ...
2
votes
3answers
318 views

Why do long-term equity return forecast models use dependent observations?

I've been reading up on different models used to forecast the equity risk premium, and I've seen a couple of papers that had questionable methods. For example, this paper by Javier Estrada goes into ...
2
votes
1answer
293 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 ...
3
votes
0answers
180 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
3answers
1k views

Pairs trading: Question on non-negative profits, size of the positions and trading signals

I'm trying to backtest Pairs Trading but have become a bit confused on the different methods of selecting pairs, how to look for trading signals and what size of the positions to take in the assets. ...
5
votes
1answer
1k 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 ...
3
votes
2answers
74 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 ...
4
votes
1answer
254 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 ...
2
votes
1answer
219 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 ...
2
votes
1answer
583 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, ...
6
votes
3answers
489 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 ...
5
votes
0answers
303 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 ...
2
votes
2answers
668 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 ...
0
votes
1answer
376 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 ...
4
votes
0answers
311 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, ...
2
votes
3answers
416 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 ...
4
votes
3answers
7k 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 ...
5
votes
4answers
541 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, ...
3
votes
1answer
661 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?
1
vote
1answer
310 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 ...
2
votes
2answers
151 views

What are the proper metrics to look at for checking discrepancies in these two time series

I am obtaining bid/ask price and volume market data from two different sources for the same ticker and for the same day and checking to see that at time intervals X they are "roughly the same". The ...
5
votes
1answer
371 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 ...
1
vote
0answers
458 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? ...
5
votes
2answers
168 views

Economic contagion to individual stocks (ideas for analysis)

I'm doing my undergraduate thesis on firm-level contagion. Specifically I look at a measure of performance over a financial crisis (e.g. raw stock returns), then run cross-sectional regressions with ...
1
vote
1answer
310 views

Unsystematic/Idiosyncratic/Firm-specific volatility/variance in the market model?

I was asked to use idiosyncratic volatility as a regressor in a cross-sectional regression upon cross-sectional returns as the dependent variable. Returns can be thought of as the raw log stock return ...
2
votes
0answers
99 views

Difference between kappa and delta in mixed-effects model

(This question is a crosspost from Cross Validated) I have a following stochastic model describing evolution of a process (Y) in space and time. Ds and Dt are domain in space (2D with x and y axes) ...