Tag Info

Hot answers tagged mathematics

98

There seems to be a basic fallacy that someone can come along and learn some machine learning or AI algorithms, set them up as a black box, hit go, and sit back while they retire. My advice to you: Learn statistics and machine learning first, then worry about how to apply them to a given problem. There is no free lunch here. Data analysis is hard work. ...

31

My Advice to You: There are several Machine Learning/Artificial Intelligence (ML/AI) branches out there: http://www-formal.stanford.edu/jmc/whatisai/node2.html I have only tried genetic programming and some neural networks, and I personally think that the "learning from experience" branch seems to have the most potential. GP/GA and neural nets seem to be ...

19

Two aspects of statistical learning are useful for trading 1. First the ones mentioned earlier: some statistical methods focused on working on live datasets. It means that you know you are observing only a sample of data and you want to extrapolate. You thus have to deal with in sample and out of sample issues, overfitting and so on... From this viewpoint, ...

19

If you need a primer covering various domains of math then Dan Stefanica's text will do the job. The text covers multivariable calculus, lagrange multipliers, black scholes PDF, greeks & hedging, newton's method, bootstrapping, taylor series, numerical integration, and risk neutral valuation. It also includes a mathematical appendix. If you want an ...

18

Variance ratio tests have been used numerous times to show that financial asset prices do not follow a random walk. You can for example look at -Lo and MacKinlay : Stock market prices do not follow a random walk : http://press.princeton.edu/books/lo/chapt2.pdf (US Stocks) -Hoque, Kim, Pyun: A comparison of variance ratio tests of random walk: A ...

18

Google for this paper "Financial applications of random matrix theory: Old laces and new piece" from Marc Potters, Jean-Philippe Bouchaud, and Laurent Laloux. You can also check Prof. Gatheral presentation about Random Matrix Theory http://www.math.nyu.edu/fellows_fin_math/gatheral/RandomMatrixCovariance2008.pdf In R, the package "tawny" has an ...

16

Samuelson suggested in 1965 that the stock prices follow a martingale (see P. Samuelson “Proof That Properly Anticipated Prices Fluctuate Randomly”). Assume there is a security with a random payoff $X_T$ at date $T$. Let $..., P_{t–1}, P_t, P_{t+1},...$ be the time series of prices of a security with this payoff. Finally, define the price change $\Delta ... 14 A martingale is a random process$X(t)$which has the following properties:$ E[X(T)|\mathcal{F}_t] = X(t) $for$T > t$and$ E[|X(T)|] < \infty $where$\mathcal{F}_t$is the filtration at time$t$. A martingale is a random walk, but not every random walk is a martingale. A Brownian random walk is a martingale if it does not have drift. Also, a ... 13 Check out page 55 in "Quantitative Equity Investing: Techniques and Strategies," Fabozzi et al. Section is titled "Random Matrix Theory" - very intro. The context pertains to the estimation of a large covariance matrix. Also, see work at Capital Fund Management, filed under: Random Matrix and Finance : correlations and portfolio optimisation 12 I doubt you will find one book that covers everything you need, but here are a few that I continually come back to whenever I have some questions on the mathematics. Analysis of Financial Time Series by Ruey Tsay An Introduction to High-Frequency Finance by Dacorogna et al Probability and Statistics by DeGroot and Schervish Statistical Inference by Casella ... 12 A function$f : \mathbb R^n\backslash\{0\} →\mathbb R$is called (positive) homogeneous of degree$k$if $$f(\lambda \mathbf x) = \lambda^k f(\mathbf x) \,$$ for all$\lambda > 0$. Here$k$can be any complex number. The homogeneous functions are characterized by Euler's Homogeneous Function Theorem. Suppose that the function$f : \mathbb R^n ...

11

The short and brutal answer is: you don't. First, because ML and Statistics is not something you can command well in one or two years. My recommended time horizon to learn anything non-trivial is 10 years. ML not a recipe to make money, but just another means to observe reality. Second, because any good statistician knows that understanding the data and the ...

11

My understanding is because the Ito's integration definition keeps the martingale property. With Brownian motion $W(t, \omega)$ defined, to define stochastic integration in a Riemann–Stieltjes style: $$\int_0^t f(t, \omega) d W(t, \omega) = \lim_{\| \Delta_n\| \to 0 } \sum_{i=1}^{n} f(\tau_i,\omega) \left ( W(t_i, \omega) - W(t_{i-1}, \omega) \right )$$ , ...

10

I think there are a lot of different ways to specify this problem. For simplicity, consider independent Garch processes $$r_{1,t} \sim N\left(0,\sigma_{1,t}^{2}\right)$$ $$\sigma_{1,t}^{2} = \beta_{1,1}+\beta_{1,2}\varepsilon_{1,t-1}^{2}+\beta_{1,3}\sigma_{1,t-1}^{2}$$ and $$r_{2,t} \sim N\left(0,\sigma_{2,t}^{2}\right)$$ $$\sigma_{2,t}^{2} = ... 10 I think he was jokingly suggesting to breed top PhD candidates in pure mathematics. I often heard complaints that a lot of PhDs in Mathematical disciplines lack a rigorous base in pure Mathematics. Obviously the hedge fund manager was not suggesting that the proof of the hypothesis will be in any way relevant to trading or financial pricing applications. On ... 9 If you asked me for a single book as a starting point I'd probably go for: Frequently Asked Questions in Quantitative Finance by Paul Wilmott 9 At the top of this list I still recommend you to seek employment in order to learn from others in QF space. Could you possible work in a quant team within an investment bank where you currently reside? Start to reach out to the quant finance community so you are connected once you decide to locate to where you can practice this discipline.reach out to ... 9 In fact Ito and Stratonovich calculus are both mathematically equivalent. In the following paper you can e.g. see that both derivations lead to the same result, i.e. the Black-Scholes equation: Black-Scholes option pricing within Ito and Stratonovich conventions by J. Perello, J. M. Porra, M. Montero and J. Masoliver From the abstract: Options ... 8 Why don't you try it and report back? Recall, though, that while a random walk is often a rather competitive forecast, realized data is understood to have weak dependence especially in higher moments. Having worked a bit with DieHarder, I'd suspect it to reject a number of series. But the proof is in the pudding... 8 Edit: Freddy's answer is good -- we wrote concurrently. He rightly points out that QF is a broad field, and that it is among other things a community. Here, I describe a practical, down-to-earth path for getting your feet wet in one key piece of it -- software and model development for derivatives analysis, starting with vanilla options. Your best bet ... 7 One basic application is predicting financial distress. Get a bunch of data with some companies that have defaulted, and others that haven't, with a variety of financial information and ratios. Use a machine learning method such as SVM to see if you can predict which companies will default and which will not. Use that SVM in the future to short ... 6 Often one will find the argument that a random walk of price changes would be a proof of the efficient market hypothesis, but this is (IMO) a logical fallacy: Only because the EMH does imply random walks in the price changes, the finding of random walks does not imply automagically that the EMH is true. 6 At the first glance, what you are asking for is a model admitting arbitrage, so there is a zero chance of losing money and positive chance of yielding profits. Well, many equilibrium models start with assuming arbitrage is not possible (otherwise it would be trivial wouldn't it). But, in my opinion, what you actually seek is the Efficient Markets ... 5 A martingale can be viewed as a fair game (a game in which there is no arbitrage strategy) A (centered) random walk is a martingale (think of it as the total Gain of the fair game) If EFH is in order, then you can think that all information is in the current price, I think this more comparable to Markov Property than to Martingale property. Hope that ... 5 I'm currently working on this task, to apply machine learning to stock trading. However, the concerns raised in other answers are major obstacles. So, I'm taking a different tact. My strategy is more akin to teaching a car to drive - the machine learning is not based on the underlying data, but rather on the driver's reaction to the data. So based on what ... 5 I have tested lots of forex data for randomness. Some currency pairs are very close to random walk. And the problem is open question, because there is no uniform explanation what the random walk is. According to Mandelbrot, Taleb and some other authors randomness can be different. Even if the data is not random it doesn't mean it can be effectively traded. ... 5 When you decide if the performance improvement is worth it you can add these to the downside ow using single precision: the result of your basic B-S pricer will eventually need to be multiplied with a notional and maybe a discount factor; For a sufficiently large notional you will see different results than the one calculated using double precision. Is ... 5 The general idea is to bootstrap the discount factors in the correct order, based on the data you have given. I'm going to make some assumptions that your bonds are paying annual coupons. The longest maturity is 2.5 years, meaning you need discount factors for 6M, 1.5Y and 2.5Y. The 6M deposit has a rate of 5%, this tells you that you should use the 5% rate ... 5 Swap Just to be clear, (3.4c) leads to (3.5a) when we assume lognormal R(\tau). Lognormal R(\tau) means we can write$$R(\tau) = R_0 e^{-\frac{1}{2}\sigma^2 \tau + \sigma \sqrt{\tau} Z}$$with Z normal, and I'm assuming a zero mean -- which I think is required. Then for (3.4c) we have for the expectation value:$$ E\left[(R(\tau) - R_0)^2 \right] = ...

4

I'd say to read Prof. Shreve's well-known two-volume textbook Stochastic Calculus for Finance I and II.

Only top voted, non community-wiki answers of a minimum length are eligible