# Questions tagged [random-walk]

The tag has no usage guidance.

50 questions
Filter by
Sorted by
Tagged with
1answer
55 views

1answer
34 views

### Identity given in Shreve volume 1

in a solution to a question about random walks (5.3 i), Part of the answer includes the identity: $$\ln \frac{1+\sqrt{1-4 pq}}{2p}=\ln\frac{1-p}{p}$$ note that $p+q=1$ and $0<p<1/2<q<1$. ...
1answer
170 views

### Correlated Random Number Generation using Sobol?

There is a clear theory about generating correlated random numbers using Cholesky decomposition or PCA. I suppose if we apply above methods to random numbers generated using Uniform random numbers ...
4answers
1k views

### How is stock data objectively different to this random walk?

I have a random walk that is generated as so using python, numpy, and matplotlib ...
1answer
356 views

### How come the existence of ARCH effect is not a violation of Random Walk Hypothesis 3?

An ARCH (autoregressive conditional heteroscedastic) (1) model is: $r_t=\mu +a_t$, where $a_t=$return residual, and $\mu$ is the drift of the stock return $a_t=\sigma_t\epsilon_t$, where $\sigma_t=$...
0answers
39 views

1answer
3k 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, ...
1answer
1k views

### Is creating constrained random portfolios a hard problem?

Creating random portfolios with weights $x_i$ can be thought of as sampling from the surface of a simplex given by $$Ex = f$$ and $$Ax \le b$$ Where $E$ and $A$ are constraint matrices for equality ...
0answers
129 views

### Optimal mortgage rate strategy

When buying a mortgage, you can choose to "lock in" a rate at any point within 60 days of your closing date. Once locked in, you can't revert. This makes it a secretary problem - in the traditional ...
0answers
193 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)$ ...
1answer
537 views

### Probability of trade's exit orders being triggered in random-walk market

When placing a trade with Stop Loss and Take Profit orders in a hypothetical random market (i.e. 0.5 probability of up tick and 0.5 probability of down tick), assuming: x is the distance in ticks of ...
1answer
585 views

### Coin Toss System

Coin Toss Runs Calculator The expected number of runs for two consecutive heads or tails is 3. Is there an edge if we place a progressive constant size bet(limited to 3 times)for consecutive ...
1answer
844 views

### Connections between random walk and heat equation (Material for ~)

I am preparing an undergraduate lecture in quantitative finance and I am looking for material that combines the topics: random walk and heat equation The material should be accessible (intuitive!), ...
2answers
318 views

### What sort of order submission strategy would result in a random walk of trade prices?

I have written a simulation that matches buy and sell orders, keeps track of an order book and simulates trades. My first pass at order submission was to generate random orders around the bid/ask ...
2answers
699 views

### Proof showing that dollar cost averaging always worse than lump sum alternative

I am referring to the article here. In a nutshell the article says that using data based on S&P 500 index going back as far as to 1950, dollar cost averaging is performing worse than a lump sump ...
2answers
251 views

### If the distribution of returns in symmetric, why not use a coin toss, small risk & high reward?

If the distribution of returns is symmetric then why not use a coin toss to decide whether to buy or sell Calculate the average velocity of the market (ATR - in technical analysis) Place a stop loss ...
1answer
2k views

### How to simulate correlated assets for illustrating portfolio diversification?

I have seen multiple instances where people try to explain the diversification effects of having assets with a certain level of correlation, especially in the "most diversified portfolio" literature. ...
5answers
7k views

### Proof that you cannot beat a random walk

There is much speculation to what degree financial series are random (and what kind of randomness prevails). I want to turn the question on its head and ask: Is there a mathematical proof that ...
6answers
3k views

### How random are financial data series?

Pseudorandom number generators are often tested using e.g. a test suite like Diehard tests or Dieharder. If one would run these tests e.g. on stock market time series or other financial data, would ...
1answer
3k views

### Mersenne twister random number generator in Java for Monte Carlo Sim.

I am using the Mersenne twister random number generator in Java for a Monte Carlo Simulation. I need a uniform distribution of values between -1 and 1. My code is below (I am importing org.apache....
2answers
837 views

### Proving Random Walk Hypothesis in Stock Market

Given the time series for a particular stock market, what are the statistical weapons one can bring on to prove, or disprove that random walk hypothesis?