Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [time-series]

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

1
vote
0answers
17 views

Pricing a transfer option for oil

Need some input in how to attack this problem. Given are 8 timeseries: UK Oil price, Delivery Quarter 1 2020 UK Oil price, Delivery Quarter 2 2020 UK Oil price, Delivery Quarter 3 2020 UK Oil price, ...
1
vote
0answers
46 views

Log transformation of TS-stationary time series

I usually see the $log$ transformation of prices: $$p_{new}\left(t\right) = ln\left(\frac{p_t}{p_{t-1}}\right), t \in [2...N]$$. Let's our series be a trend stationary time series like: $$p\left(t\...
1
vote
0answers
43 views

Is this a good (partial) autocorrelation or bad?

I was playing with some data on deviation of close prices from its smoothed estimated and got these ACF and partial ACFs: I still struggle to get proper intuition to the ACF plots. What do the plots ...
1
vote
1answer
60 views

Misunderstanding of time series autocovariance

I'm reading the "Time Series: Theory and Methods (2nd ed.)" by P.J.Brockwell and R.A.Davis. I've stopped at the one moment at pp.218-219 (Chapter 7 "Estimation of the mean and the Autocovariance ...
1
vote
0answers
29 views

Fama-French 3, Carhart 4, Fama-French 5 Factor models return borderline 0% R2 (max. 6.6%). Time series regression

I am currently working on an industry specific time series analysis of European Equities between 201001 and 201812. I use the European Fama French factor returns (plus the momentum factor return) that ...
1
vote
1answer
77 views

when a co-integrated times series pair has broken the leash

I have two times series, say $T_i$ and $S_i$ over a reasonably large time window, and I have calculated their cointegration (using python's OLS and Adfuller) . Say that the test has passed with high ...
2
votes
0answers
25 views

Problem with Hurst exponent estimation for ARFIMA models

guys. I try to realize my ARFIMA model identification script in R. I try to find the best method for unbiased Hurst exponent estimation (fractional difference parameter could be found as Hurst - 0.5) ...
2
votes
0answers
26 views

Tools related to Granger Causality

I would like to know if there are some tools that can measure that one time series is "faster" than the second one. I talk about really similar time series related to high frequency trading (hundreds ...
0
votes
1answer
43 views

serial correlation and CUSUM results

I have the following CUSUM test resulted from autoregressive distributed lag models (ARDL). Does the CUSUM results show that the model is stable? I am a bit confused because the red line in CUSUM ...
1
vote
1answer
40 views

Calculating Ex-ante Sharpe Ratio in multi-period setting

I have built a return process $\{x_t, t = 1,\dots,T\}$ for an asset. Suppose I have generated $K$ sample paths $\{x_t^j, t=1,\dots,T\}, j=1,\dots,K$. I think of two ways to compute the Sharpe ratio. ...
1
vote
0answers
73 views

R Equilibrium FX using VEC or Behavioural Equilibrium Exchange Rate (BEER)

I dont have much experience with R. I would like to do create model for FX Equlibrium using VEC or BEER. I already know what variables I want to use in model: trade differential between UK and the ...
1
vote
0answers
56 views

Some basic examples for Granger causality

I have two time series, X and Y. The number of observations in each time series is the same and the variables would be price(logged). The goal of my research is to analyze if one variable X follows ...
3
votes
1answer
72 views

Is there such a thing as resonance in economic underliers?

In physics the occurence of resonance is explained and widely understood in its linear form and subject to research in nonlinear resonance. Example for instance are resonant frequencies of objects. ...
1
vote
0answers
69 views

Autoregressive Distributed Lag Models (ARDL) results analysis

When using autoregressive distributed lag models (ARDL), I usually get a counter-intuitive result for the selected lag. For example, when examining the relationship between GDP and Foreign Direct ...
0
votes
1answer
76 views

Multivariate Markov Regime switching GARCH

I have a regression with 4 independent variables and a dependent variable. I want to implement a Regime switching GARCH model but have been unable to find a package in R,Python or Matlab. MSGARCH ...
6
votes
0answers
98 views

Feller Condition (Cox-Ingersoll-Ross) source

For the Cox-Ingersoll-Ross model $$\text{d}r_t = a(b-r_t)\text{d}t+\sigma\sqrt{r_t}\text{d}W_t$$ the condition (referred to as "Feller condition") $$2ab\geq\sigma^2$$ ensures that the solution is ...
1
vote
0answers
58 views

Standard GARCH(1,1) model with external regressors

I have a queastion how does a standard GARCH(1,1) model with external regressors in mean and variance euqations look like ? I know that standard GARCH(1,1) model without external regressors has the ...
3
votes
3answers
177 views

PCA for Risk bucketing

I'm working on a project to justify the use the certain tenors (2y, 5y, 10y, 30y) for risk bucketing. I'm a little stuck after calculating the principal components. Just to describe my approach- a) ...
2
votes
1answer
86 views

How to compute cumulative performance of a portfolio with two equities?

I have a time series of adjusted returns for two companies, A and B. I have created a portfolio consisting of these two time series with equal weighting (sum of weights must equal 1): $w_a = w_b=0.5$...
1
vote
1answer
56 views

Data Sources for Timestamps of Individual Trades [duplicate]

Are there any data sources where I can get the timestamps of individual trades/transactions? I'd like them to be at the second level or even the millisecond/nanosecond level. Ideally, the trades would ...
1
vote
0answers
30 views

General to specific approach to modelling

I am trying to find the relationship of stock indices across the world. This has been done by the literature, however, I am wondering about the methods chosen. I have decided to go with what I think ...
3
votes
0answers
90 views

Detecting leading stocks using lag correlation

I am working on a project to find leading stocks in a stock market by using lag correlation. Say I want to compare 2 stocks, X and Y, and I have the time series of stock prices. Assume that the ...
6
votes
1answer
132 views

How to perform cross-sectional asset pricing regression?

I'm wondering is that possible to get insignificant beta estimates in the time-series context, but highly significant risk premium associated with that beta in the cross-sectional regression? Any ...
1
vote
0answers
126 views

What is the best source to get 10 milliseconds time-series data for numerical computation?

I am working with 4th order Runge-Kutta method to compute a second order differential equation. For the best accuracy, I need a 10 milliseconds ohlcv time-series data. I know that I can build it ...
1
vote
0answers
62 views

How does the FED calculate SAAR for GDP?

In looking at the Fed's GDP growth rate data, it looks like the fed uses a different calculation for calculating annualized growth rate than the typical annualized rate of change. Does anyone have any ...
2
votes
1answer
62 views

Monte Carlo simulations of stock price percentage change rather than stock price

Say we have a stock price time series $S_k$. We can do monte carlo simulations on the stock price to make predictions about future prices (e.g. through Geometric Brownian Motion SDE's). Does it make ...
0
votes
0answers
115 views

Rolling forecast using GARCH model

EDIT This is not a duplicate of my original question linked, since I have since overcome that problem and have posted an answer. Since solving the previous problem, I have run into the problem ...
2
votes
1answer
92 views

Can you use GARCH-MIDAS for intraday data?

I'm working on a project to forecast volatility and I'm using intraday data (1 min). I want to include exogenous variables to the model that have daily frequency. I was wondering if GARCH-MIDAS can be ...
1
vote
2answers
119 views

Do you optimise models on bootstrapped time series?

As Quants, we soon learn to optimise models, by fitting them to historical time series, e.g. the historical daily returns of some stock. But the historical series of daily returns is just one ...
2
votes
1answer
87 views

Volume or Dollar bars vs. volatility normalized and demeaned financial time series

In his book - Advances in Financial Machine Learning, Marcos Lopez de Prado familiarises the reader with a number of ways of normalizing our financial time series data. Below I provide a couple of ...
1
vote
1answer
72 views

Calculate New Portfolio Weights Given Today's Returns

I'm looking for a formula to recalculate my portfolio's weights at the end of time $T$, given a vector of the asset weights at $T$ and a vector of returns at $T$. For example: ...
1
vote
0answers
120 views

Poor results forecasting stock price volatility using Python's GARCH model

As far as I understand, forecasting stock price volatility should be more achievable than forecasting absolute prices or returns. It seems as though GARCH models are the traditional and most widely ...
1
vote
0answers
33 views

Johansen Cointegration Test in R

I know its probably been asked bevor but i just don't get it. I have 2 values (Oil and corn price) and i want to check if they are cointegrated. Bevor that, i have tested if they really are non ...
2
votes
0answers
251 views

RiskMetrics VAR calculations and conditional distribution of sum of log returns

According to Tsay's book in Chapter 7, for the Risk Metrics model: A nice property of such a special random-walk IGARCH model is that the conditional distribution of a multiperiod return is ...
0
votes
1answer
31 views

Auto-covariance function of station time series

How to show that for any stationary time series its auto-covariance function is symmetric about the origin, that is $\gamma_{k}=\gamma_{-k}$ where, $\gamma_k=cov(z_t,z_{t-k})$
1
vote
0answers
22 views

Sample distribution of cross-sectional statistics of returns

Currently doing an application of VaR on sample of industry portfolios in the US. I have a matrix of $n$ industry portfolios with $m$ time-series observations. I calculate cross-sectionally (for each ...
-1
votes
1answer
43 views

Where can I download for free the entire price history of the nasdaq composite and s&p500 indices? [duplicate]

I would like the entire price history of both these indices at an end-of-day level, not intra day. Is there an R api that I can use for such an exercise?
0
votes
0answers
42 views

Interpreting the ACF graph

I am currently struggling with the interpretation of a price chart and the corresponding ACF graph. The question is, if there is momentum in the price of this asset. This is the corresponding price ...
2
votes
1answer
83 views

Asset pricing model factor need to be excess return?

In John Cochrane's Asset Pricing book and his video lecture, he states that asset pricing factors need to be excess returns, a traded portfolio. Is there a reason for that? I can't find explanation ...
0
votes
0answers
48 views

GARCH(1,1) and Value at Risk: Rolling window or non-overlapping samples

Currently studying on financial risk management. I want to test different methods of VaR estimation. I want to model volatility using a GARCH(1,1) model. My question is what should the size of the ...
0
votes
0answers
53 views

Market Invariant for Commodity Futures

In the same sense that Meucci describes "compounded returns" as the invariant for equities and "changes in yield-to-maturity" as the invariant for fixed-income, what is the invariant for a commodity ...
0
votes
2answers
72 views

Imputation of missing returns

I'm trying to calculate a historical VaR for a portfolio of futures, however there are certain days for which some assets are missing prices. Since the portfolio consists of many spread positions, the ...
0
votes
2answers
86 views

Daily returns to monthly basic question [closed]

I am currently a little bit puzzled. I am trying to compute the monthly returns from a set of data. ...
0
votes
1answer
76 views

How long is considered `long-term'?

For a project I am doing I need to simulate the balance sheet of a pension fund. In order to do so I also need to simulate euro inflation. Since my inflation data is non-stationary, I model it using ...
1
vote
0answers
66 views

Cointegration between daily time series and intraday time series

I am working with time series data of daily prices, and intraday prices. For simplicity sake I will refer to the daily time series as 'A' and 'B', and the intraday time series of the same instruments ...
-3
votes
2answers
83 views

How can currency (USD/TRY) be going up without having a candle before that would close under it?

I am having a hard time understanding how can USD/TRY be going up without having a period before that would close at a point under it. This is from today (2018-10-08 6:12 and 6:50). Is it moving up ...
2
votes
1answer
132 views

Why does computing correlation between index levels vs. percentage changes yield completely different results?

I am examining the relationship between the S&P 500 and the Industrial Production Index. Computing the correlation between these these variables yield vastly different results if expressed in ...
0
votes
0answers
17 views

suggestion for NDX volatility index prior to 2000

NDX index is available since 1984 in Bloomberg. There's VXN index that represents the implied volatility of NDX, which is available since 2001. I need some index or series that represents implied ...
1
vote
1answer
238 views

What is the Probability Distribution of Max-Drawdown?

How to obtain the probability distribution of Maximum Drawdown, starting from the probability distribution of Daily Returns? Here the details: Suppose I have a time serie of N=1000 daily returns. ...
3
votes
0answers
79 views

Comparison of normalization methods on market returns

I am looking to use a multi-factor model to make target-return predictions. Since the factor-returns come from different scales I need to normalize first. There are different ways to normalize ...