Stack Exchange Network

Stack Exchange network consists of 174 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 [statistical-finance]

Statistical finance, which is also called 'econophysics' is the application of statistical tools to the study of financial markets data.

0
votes
0answers
26 views

How to create a sample and hold signal in R

I would like to create a sample and hold signal (a flag) in R from a (financial) time series objekt. Like the sample and hold function in Matlab. The Sample and Hold block acquires the input at the ...
2
votes
2answers
103 views

Utility functions, are they used in the real world by hedge funds, banks, etc?

I am starting to study mathematical finance. When I studied microeconomics and macroeconomics I studied utility functions, but I never saw how they are in the real world. I do not see how they can be ...
1
vote
0answers
21 views

Pricing methods in the real world when there is more than one free arbitrage price

Perhaps this question sounds trivial and obvious, but I am starting to study this new field. When we are in a complete market without arbitrage opportunities there is only one risk-neutral martingale ...
3
votes
0answers
82 views

Which areas of statistical physics do not get enough attention in quantitative finance?

It seems that over the past few decades many ideas from statistical physics have been successfully incorporated into economics and finance to form the sub-discipline of econophysics. However, it is ...
-2
votes
0answers
27 views

Changing units of returns [duplicate]

I have downloaded data on the inflation rate in USA. The data that I got is the 12 month inflation but stated each month. So for 1 year I have 12 different inflation rates that reflect the following ...
0
votes
0answers
25 views

Question about Relative Strength Index (RSI) and Average True Range (ATR) formula

I'm trying to calculate RSI and ATR using C++. Stockcharts.com states average gain for RSI(14 day) as: ...
0
votes
0answers
39 views

Statistical tests for moving averages

What are methods and approaches used in the field to tests the significance of a moving average over a specific time frame i.e: slope difference between the trend line and the price action? Would one ...
2
votes
1answer
64 views

Showing the Gaussian shift theorem for bivariate case

I was reading about the Gaussian shift theorem in "An Introduction to Exotic Option Pricing" by Peter Buchen and came across a question that I can't seem to figure. In the book, he uses F(Z) (a ...
0
votes
0answers
31 views

Evaluate model performance across all stocks

Suppose I have a lm model that captures per-stock level alpha. Therefore, I fit this model using all historical data stock by stock. My question is that how to combine all individual models’ ...
5
votes
1answer
407 views

Does Chan use the wrong state transition model in his Kalman filter code?

In his book, Algorithmic Trading: Winning Strategies and Their Rationale, Ernie Chan shows how to use a Kalman filter to improve the returns of a cointegrated portfolio. Recall that the state equation ...
0
votes
0answers
30 views

Assessing goodness of a Technical Trading Rule using a ROC model

I am testing various technical trading rules (TTR) on the cryptocurrency market. I have already setup some significance tests, to compare the returns and volatilities. I would now like to test it ...
1
vote
0answers
68 views

Dubious math in Thorp's magnum opus

I started reading Thorp's "Beat the Market" book and stumbled on a formula I can't figure out: https://imgur.com/a/xqfViKt What's the point in adding time to price and the whole probabilites ...
-4
votes
1answer
91 views

For a trading strategy how many trades have to occur for statistical significance [closed]

I created a strategy using a regression on a price series. I tested it with many walk-forward analyses and it has passed. I am currently live trading it with real capital (the ultimate test). My ...
1
vote
0answers
72 views

Which stats are the best predictors of model sucess in real time? [closed]

What are the best predictors of real time model success in quantitative trading, i.e. # of transactions, length of backtest, StdDev, Skewness, Excess Kurtosis etc and what are the numerical values of ...
1
vote
1answer
91 views

Asset class dynamics differences

If we compare daily return dynamics of the main asset class time series (e.g. Stock indexes, bonds, precious commodities, etc) do we observe quantifiable differences? Are there some reference paper on ...
1
vote
1answer
49 views

Testing the accuracy of a created Index

So long story short, I created a Oil/Energy Index from a basket of 5 stocks in the asset class. I am looking to use mean-reversion, in order to help rebalance the allocation of funds between ...
0
votes
0answers
82 views

Price Series vs Returns series for pairs trading

Consider two stocks A and B. Suppose we regress their price series and find a coefficient β. Specifically, Pi = βQi + Ei And we find that the Error is mean reverting. So the strategy ...
2
votes
0answers
151 views

Frequency Arbitrage

We know that the volatility is lower when the sampling period is longer, for example $\sigma_{7days} < \sigma_{1day}$, Then I came across this strategy that I cannot quite understand how to exploit ...
0
votes
2answers
125 views

Central limit theorem and normality assumption of asset return distribution

Can central theorem justify normality assumption of assets return distribution? And if it can why the empirical evidence show this assumption, which many finance models are based on, is a far cry from ...
0
votes
1answer
49 views

Brownian motion

Suppose I have the process $X = X(t)$ for $t \ge 0$ given by $X(t) = \sqrt{t}*Z \,\forall t \ge 0$ where $Z$ is normally distributed with $N(0,1)$. Is this a Brownian motion? Solution yields: $$X(...
2
votes
3answers
117 views

Does longer time horizon necessarily imply reduced risk?

Is there a mathematical/statistical basis for the commonly-held belief that the longer certain assets (particularly equities) are held, the less risk the investor is exposed to? Alternatively, is ...
0
votes
0answers
53 views

Rounding or trimming stock prices

I have created a vwap timeseries. The values in the timeseries have 14 decimal places. I would like to reformat to 5 decimal places. My question is should I trim the price to 5 decimals or round to 5 ...
-2
votes
2answers
625 views

Implied Volatility of stock on Think or Swim

Think or swim has this thing where they have do a implied volatility of a stock. I have chatted with the TOS people but they aren't terribly helpful. Regardless they did send me two images of what ...
1
vote
1answer
84 views

Longterm memory in interest rate data - R/S analysis

Am currently investigating long term memory in interest rate data. The two sources I am using are Peters (1996), "Fractal Market Analysis" and an article published in the Journal of Fixed Income, "...
0
votes
0answers
84 views

How can I estimate the “trending Ornstein-Uhlenbeck” parameters of some mean reverting data?

I am using trending OU process instead of normal OU process because my data is following the properties of trending OU process. So anyone can help me with this that how can i estimate the parameters ...
1
vote
3answers
932 views

How to convert weekly data to monthly in r (or in Julia)

I have weekly series on financial risk index data as follows: DATE NFCIRISK 1/8/1971 0.58 1/15/1971 0.61 ......through 10/6/2017 -0.88 10/13/2017 -0.89 10/20/2017 -0.89 ...
0
votes
0answers
68 views

Is there a mathematical way of showing the slowing down of economic markets?

I'm currently taking a introductory mathematical finance course in university and recently on the news (BBC, etc), it states that the economic markets are shown to be slowing down for the next few ...
0
votes
0answers
27 views

Where to find historic lot size changes for Japanese stocks

I am trying to find some where where I can obtain historic (not just current) lot sizes for Japanese stocks. Is there any where on-line where historic lot sizes (the date and the old lot size and the ...
12
votes
1answer
839 views

statistical arbitrage vs factor trading

I've recently read Avellaneda & Lee which seems to be widely recommended as an introduction to Statistical Arbitrage methods in trading. For those who aren't familiar with the paper, the method in ...
0
votes
1answer
88 views

Calculating a VWAP using close prices snapshot

I was wondering, is it possible to calculate a daily VWAP (Volume weighted Average Price) from the close snap shot (close price, high, low open and total volume traded over the day)? If so is there a ...
1
vote
1answer
54 views

which method is the roubust method to estimate the Hurst parameter?

I know there exist lots of method to estimate the Hurst parameter, such as R/S, V/S, GHE, DFA, DMA, Wavelet Spectral Density, Whittle and so on. Can you tell me which one is the best one. Is anyone ...
0
votes
0answers
32 views

Multi-Variate linear modeling: how to calculate mathematically vs brute force genetic optimization

I have a hand full of daily economic data. I am currently using a brute force approach. Genetic optimization is only used when k is very large. This method is beautiful to me, but isn't valuable ...
2
votes
2answers
181 views

Applying my Machine Learning class (possibly to small markets) [closed]

I've finished a university course in statistical machine learning that covered topics such as regression, classification, neural networks, SVM, PCA etc. The class was quite tough and rigorous (we had ...
0
votes
0answers
55 views
0
votes
0answers
53 views

Methods of de-trending stock market prices

I am interesting in de-trending stock market prices. What are the correct methods of doing this task?
1
vote
0answers
59 views

Moving average variance [closed]

I have generated a random series of returns drawn from a normal distribution and generated a random price series by compounding these returns (X) so $P_i = P_1(1+X)^i$. I want to show the analytic ...
1
vote
1answer
51 views

Ljung_Box Statistic of R and R^2 values in Return analysis

I have found a result that I find truly puzzling. Here is an extract from a GARCH-Analysis I have performed: Test______________Statistic_______p-Value Ljung-Box Test_____R Q(10)_____0....
1
vote
1answer
52 views

Thorp's var caclulation

I have been working through Thorp's paper, and with some guidance have got as far as page 20, but I am now stuck with Thorp's result in Ex 6.2 (on that page) where I cannot get the result for $Cor(X_1,...
0
votes
1answer
80 views

Kelly Variance - variance of the sum of logs

I am working through Thorpe's Ch 9 on the Kelly criterion. On page 9 Thorpe states: $$Var(ln(1+Y_if)] = p[ln(1+f)]^2 + q[ln(1-f)]^2 - m^2$$ Since $var(X) = E[X^2] - m^2$, $$p[ln(1+f)]^2 + q[ln(...
0
votes
0answers
47 views

CAPM Beta zero-correlation performance issue

I am working on a research project that requires me to run a CAPM regression on all intra-day stock quotes in NSDAQ, NYSE and all other U.S. exchanges since 1993. The precision of the quote data is ...
1
vote
0answers
97 views

Kelly's maximum for G(f)

In Thorpe's paper, Thorpe derives the Kelly criterion $$f^* = p - q$$ and plugs this into the equation $$G(f^*) = p \times \log(1+f^*) + q \times \log(1-f^*)$$ to get the following expression $...
2
votes
1answer
178 views

CAPM Calculations

Im trying to calculate Alpha using CAPM & I have data on everything necessary. $$R_t-R_f={\alpha}+{\beta}\times(R_m-R_f)$$ i.e. $${\alpha}=R_t-R_t-{\beta}\times(R_m-R_f)$$ In more detail, I ...
1
vote
1answer
183 views

Likelihood Ratio Method - Delta

I was checking Glasserman(2004) - Monte Carlo for Financial Engineering and got to the likelihood ratio method. I am also looking in my textbook (M. Cerrato: The Mathematics of derivatives securities ...
9
votes
2answers
1k views

What is the total correlation between assets in a portfolio?

Suppose I have portfolio with 10 assets, each one of them with a weight of 10% from the total portfolio (equally weighted). It's well known how to measure from historical prices->returns a variance-...
3
votes
2answers
176 views

Value at Risk - What if an account has never suffered from a negative return

I want to implement an algorithm that calculates an account's 95% value at risk on a monthly return base. The case I want to describe in this question is rather academic and will probably never happen ...
-3
votes
1answer
386 views

Which book would you recommend for beginners in Quantitative Finance? [closed]

I have a normal high school level of mathematics including some statistics and find the world of Quantitative Finance both alien and invigorating at the same time so, would like to learn more. What ...
3
votes
2answers
389 views

What are the assumptions in the first-stage of Fama-MacBeth (1973)?

According to the CAPM, the expected return of asset $i$ is: $E(Z_i) = \beta_{im} E(Z_m)$ where $Z_m$ is the excess return on the market portfolio, and $Z_i$ is the excess return of asset $i$ over ...
2
votes
1answer
147 views

Where can I find ideas for strategies? [closed]

Every book I read refers me to many other books, there is practically no way I can read all this text in my life time. Once and for all, where is the best place to fish for ideas?
1
vote
1answer
128 views

Simple simulation model of bond plus cash returns

Is there a robust way to model 'bond plus cash' simulated returns, say in Excel, for an asset allocation problem between stocks vs bond plus cash? For equity, ...
3
votes
0answers
89 views

Negative constant in GARCHX model

I am fitting the following ARX(1,1)-GARCHX(1,1,1): \begin{align*} y_t&=c+a_1y_{t-1}+\gamma_1x_t+\varepsilon_t\\ h_t&=\delta+\omega_1h_{t-1}+\theta_1\varepsilon_{t-1}^2+\pi_1x_{1,t} \end{align*...