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

learn more… | top users | synonyms

13
votes
6answers
22k views

How to check if a timeseries is stationary?

I'm using KPSS Method to check if the series is stationary, but I would also like to use another test to confirm if the series is stationary or not, what method coudl I use?
5
votes
1answer
200 views

From $AR(p)$ to SDE

Let the Vasicek model to be $$\Delta r_{t}=k(\theta - r_{t-1})\Delta t+\sigma\Delta z_{t}$$ Due to the fact that $$\Delta r_{t}=r_{t}-r_{t-1}$$ if you let $\Delta t=1$, it is easy to see by ...
2
votes
3answers
508 views

Time Series or Regression

I'd like to research the impact of certain events and characteristics on the liquidity of the stocks over time. I've got a sample of 200 stocks and I use several measures of liquidity (Amihud, Bid-Ask ...
1
vote
1answer
1k 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
102 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?
23
votes
6answers
6k views

Time-series similarity measures

Suppose I have two time series $X$ and $Y$ of stock prices. How do I measure the "similarity" of $X$ and $Y$? (I'm being deliberately vague as I don't have a particular application, and I'm curious ...
2
votes
0answers
293 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 ...
6
votes
2answers
4k 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
418 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 ...
11
votes
5answers
2k views

How to interpolate gaps in a time series using closely related time series?

I am trying to construct a daily time series of prices and returns for some large universe of securities. However, all I have available are a monthly time series of the prices/returns (as well as ...
6
votes
2answers
5k views

How GARCH/ARCH models are useful to check the volatility?

Below a R code wrote by the moderator @richardh (whom I want to thank again) about ARCH/GARCH models. ...
0
votes
0answers
303 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
157 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
280 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). ...
2
votes
0answers
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 ...
2
votes
1answer
971 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
271 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
259 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
1answer
366 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 ...
2
votes
3answers
663 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 ...
2
votes
1answer
752 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, ...
2
votes
3answers
927 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 ...
14
votes
4answers
12k 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 ...
4
votes
0answers
151 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
417 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
66 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 ...
1
vote
1answer
129 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
2answers
214 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 & ...
3
votes
0answers
206 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} $$ $$ ...
5
votes
1answer
2k 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
78 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
307 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
246 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 ...
10
votes
2answers
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 ...
6
votes
3answers
628 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 ...
11
votes
3answers
1k 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 ...
2
votes
2answers
2k 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
528 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 ...
1
vote
0answers
467 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? ...
2
votes
3answers
599 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 ...
5
votes
4answers
631 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, ...
4
votes
0answers
549 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, ...
3
votes
1answer
1k 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
397 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 ...
12
votes
4answers
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!
5
votes
1answer
411 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 ...
2
votes
0answers
108 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) ...
2
votes
1answer
297 views

Average beta of index consitutents w.r.t. the index is 0.60

I have 1 year time series data of 300 constituents of the Australian All Ordinaries index (which is composed of 491 firms). The missing firms are mostly smaller firms. I run the market model $R_{it} ...
11
votes
1answer
596 views

Meta-view of different time-series similarity measures?

While I spend most of my StackExchange time on MathematicaSE, I'm in the business and follow the questions and answers on this site with great interest. Recently questions like the following (and ...