The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
134 views

Simulate correlated Geometric Brownian Motion in the R programming language

In response to this question: How to simulate correlated Geometric brownian motion for n assets? One of the responses provides an implementation in MATLAB: http://www.goddardconsulting.ca/matlab-...
1
vote
1answer
84 views

Brownian motion simulation - scaling issue

I'm trying to simulate some BM for 500 observations. I got correlated increments as I needed and they are not exactly N(0,1), so I standardize them (x-mean(x))/sd(x). But then the resulting Brownian ...
1
vote
1answer
121 views

CDS spread scenarios from historical market data

I'm searching for information on the best way to generate scenarios to be used in VaR or ES calculations, for CDS spreads. Given that we need significant historical data in order to achieve a decent ...
11
votes
2answers
448 views

Distribution of Geometric Brownian Motion

Please let me know where I have been mistaken! Let the SDE satisfied by the GBM $S(t)$ be $$ \frac{dS(t)}{S(t)} = \mu dt + \sigma dW(t). $$ Then, the underlying BM $X(t)$ will satisfy $$ dX(t) = \...
1
vote
2answers
99 views

How to simulate 3 correlated stock processes following a GBM?

Suppose we have 3 stocks following GBMs. We are given the distribution of the daily log returns which is multivariate normal. Suppose I want to sample the stock price tomorrow ($\Delta t = 1$ day), ...
2
votes
1answer
81 views

Quantum Computing for Quantitative Finance

It's been a while that quantum computing is looked as the next step in computational science. I somewhat always tought we were decade aways from it's happening but it appears I was wrong: ibm-quantum-...
4
votes
1answer
201 views

Monte Carlo, convexity and Risk-Neutral ZCB Pricing

I've built a simplistic Excel monte carlo model to price a zero-coupon bond, but it came up with a slightly unepxected result so I wanted to confirm whether my maths is just a little rusty or my model ...
0
votes
2answers
53 views

Deduce expected exposure profile from option/structure delta?

I am thinking about whether there exists a relationship between the delta of an option (or any structured derivative) and it's expected positive/negative exposure? An intuitive question would be ...
3
votes
1answer
53 views

Model reference price of Limit order book

first of all, the description of this Stackexchange forum says its for professionals or academics. I'm doing a lot of self studying and with that I was able to understand some white papers but still I'...
1
vote
0answers
36 views

Forecasting conditional returns in DCC-GARCH-copula approach in R

anyone who could help me interpreting and modifying this code? I have a dataset and want to reserve the last 100 returns for out-of-sample analysis. After specifying and fitting the garch-spd-copula, ...
1
vote
0answers
61 views

Exploding Libor Rates in Libor Market Model

I have implemented the Libor Market Model in Matlab. When I generate a number of paths, I notice that some of them explode. Does anybody have an idea what could cause this? I already tried solving ...
1
vote
2answers
63 views

Simulate drifted geometric brownian motion under new measure

I have a very fundamental question regarding simulation of DRIFTED geometric brownian motion. We have the standard Blackos Scholes model: $dS(t)=r S(t)dt+\sigma S(t) dW^{\mathbb{P}}(t)$, where $W^{\...
3
votes
1answer
66 views

Calibration of 1F Hull White short-rate model to market data

I want to calibrate the Hull White 1 factor short rate model to market data. The main purpose is to simulate interest rate paths, which I will use to calculate the net pv of banking liabilities. Some ...
1
vote
1answer
71 views

how to derive critical values for augmented Dickey–Fuller test (ADF) using Monte Carlo method?

Can anybody explain in simple terms how the critical value of the ADF test can be derived using Monte Carlo simulation?
4
votes
1answer
144 views

Pricing a log-contract using Monte Carlo

Having a payoff of log-contract defined as $$ \Pi_T = \ln \left(\frac{S_T}{S_0} \right) $$ How would you express the MC-estimator for the price of this contract? The stock price dynamics here is ...
4
votes
1answer
115 views

Use NIG distribution to model stock path

I would like to use Monte Carlo simulation to price some options. First I use standard approach where stock price is discribed by the following process: $$S_T = S_0\exp \left[(r - 0.5\sigma^2)T + \...
0
votes
1answer
39 views

Andersen Broadie American/Bermudan Put

I'm trying to implement Andersen and Broadie's dual method for an upper bound (here) of a regular American Put. I understand the process to compute it, but I have a conceptual issue : everything ...
1
vote
0answers
18 views

Calibrating and simulating returns from a t-distribution

A slight twist (I hope) on the familiar problem of simulating log returns from a t distribution. My two questions concern calibration to sample data. First, one can infer the degrees of freedom in the ...
0
votes
0answers
48 views

measuring portfolio performance using monte carlo simulation

I have a financial portfolio comprising standard asset classes such as equities, bonds, and commodities. I developped a strategy (optimized) and I include it in the financial portfolio. I want to ...
15
votes
4answers
2k views

Strictly local martingales: what is the intuition behind them?

A process $X_t$ is a local martingale if for each increasing sequence of stopping times $\{\tau_k,k=1,2,...\}$ the stopped process is a martingale. All true martingales are local martingales, but the ...
2
votes
2answers
72 views

Monte Carlo Methods for Pricing Derivatives

can someone please suggest a good book on Monte Carlo Simulation for Pricing Derivatives? Don't want a book which is too complicated like a PhD level. A Masters level should be good. Thanks a lot in ...
6
votes
0answers
72 views

simulating from the CIR++

I am looking at the CIR++ model which is described in interest rate models by Brigo et al, and was wondering on how to actually simulate from this model. The model reads $$r_t=x_t+\phi(t),$$ where $...
1
vote
1answer
54 views

Parametric bootstrap in generating returns and hypothesis testing

I am trying to test a hypothesis of a statistic calculated from portfolio returns. To do so I estimate a model on the original returns series and want to obtain 100 bootstrapped series using ...
0
votes
0answers
29 views

Approximating the conditional expectation in simulations

I am simulating stock returns, which are governed by the following equations $r_t = \mu + \delta r_{t-1} + \sigma_t z_t$ $\sigma^2_t = \omega + \alpha \varepsilon_{t-1}^2 + \beta \sigma^2_{t-1}$ $\...
2
votes
1answer
121 views

Simulating returns from ARMA(1,0)-GARCH(1,1) model

I want to obtain a simulation of one-step ahead forecasts of stock returns process governed by ARMA(1,0)-GARCH(1,1) process. The returns are of form: $x_t = \mu + \delta x_{t-1} + \sigma_t z_t$ From ...
4
votes
0answers
40 views

Regularity requirement for convergence of Euler scheme for stochastic integral?

Let $S_t$ be follow Black Scholes, then I am interesting in simulating the process $\int ^t _0 e^{-rt}1_{\{S_t\leq K\}}dS_t$ which is like a naive hedge of a European put, which does not work in ...
0
votes
0answers
30 views

Generating random numbers from the skew-t distribution

in another question I was trying to replicate density plots using random numbers coming from the skew-t distribution of Hansen (1994). Now I need to obtain a series of random numbers coming from this ...
3
votes
0answers
76 views

How to simulate stock price with support and resistance level

I couldn't find good resources on how to simulate a stock price data sequence including some basic effects. The basis might be a Brownian motion model; but in real stock prices, there are additional ...
3
votes
1answer
57 views

Simulations of (standard, one-dimensional) Brownian motion

Consider the following two proposed simulations of paths of standard, one-dimensional Brownian motion between time $0$ and time $1$. Normal Increments Roll out a large sequence of, say $M$, ...
0
votes
0answers
48 views

Correlate the G2++ with a GBM model

In Matlab one can use the LinearGaussian2F function together with the simTermStructs function to create a simulated zero curve based on the G2++ model. Next to simulating the interest rates I need to ...
1
vote
0answers
19 views

Optimizing Monte Carl integral calculation with control variate

For an exercise I am asked to calculate an integral with a monte carlo simulation, after that I need to optimize the results with a control variate. This was the given integral: $\int_0^1 \! \frac{\...
1
vote
0answers
90 views

Generating financial data

I am trying to generate monthly stock data using a one-factor model: $$R_{a,t} = \alpha + BR_{b,t}+\epsilon_{t}$$ The description says: $R_{a,t}$ is the excess asset returns vector, $\alpha$ is the ...
2
votes
1answer
51 views

simulation and timestep

Suppose I have a stochastic process i.e. a Vasicek process with parameteres estimated with monthly (RW measure) data and want simulate the process using a daily timestep. Is this a good practice?
4
votes
2answers
143 views

Geometric Brownian Motion - increasing simulations or smaller step size

I am running Monte Carlo simulations to estimate future share prices of some stocks. For stock A, I need 1 share price exactly one year from now. For stock B, I need daily prices for each trading ...
0
votes
0answers
41 views

SAS code for Brownian Motion

I want to simulate call options using monte carlo algorithm. I am a noob SAS user but i know that i need to: -simulate random stock prices with no dividend in respect to different parameters(...
6
votes
2answers
263 views

Does GARCH derived variance explain the auto-correlation in a time series?

Given a time series of $u_i$ returns where i=1 to t. $\sigma_i$ is calculated from GARCH(1,1) as $\sigma_i^2=w+\alpha u_{i-1}^2 +\beta \sigma_{i-1}^2$ . What is the mathematical basis to say that $u_i^...
0
votes
0answers
27 views

CIR model, realistic parameters and usage

I'm currently working on SDE's, in particular with mean-reversion processes like CIR and Vasicek. The definition of the CIR model is \begin{equation} dX_t = \kappa(\theta-X_t)dt + \sigma \sqrt{X_t}...
3
votes
2answers
116 views

Sobol numbers in monte Carlo simulation

I wanted to figure how how much faster the Sobol quasi random numbers convergence to the B&S call price compared with pseudo random numbers. To generate the Sobol numbers I used the randtoolbox in ...
5
votes
2answers
1k views

Monte Carlo simulating Cox-Ingersoll-Ross process

The CIR process is given by the SDE $$ \mathrm dr_t = \theta(\mu-r_t)\mathrm dt + \sigma\sqrt{r_t}\mathrm dW_t $$ where $W_t$ is a Brownian motion. I am interested in finite-difference schemes of ...
2
votes
0answers
65 views

Long-term proportion of convex and concave strategies in artificial financial markets

In their classic paper "Dynamic Strategies for Asset Allocation" Perold and Sharpe state: "That convex and concave strategies are mirror images of one another tells us that the more demand there ...
2
votes
2answers
135 views

How to discretize a GBM under P- and Q-measures?

Under the P-measure, a geometric Brownian motion can be specified using the following SDE: $$dS_t=\mu S_tdt+\sigma S_tdW_t^P$$ and its Euler discretization is $$S_{t+\Delta t}=S_t + \mu S_t \Delta ...
5
votes
1answer
159 views

Simulate (imaginary) asset prices using random numbers that follow a Frank Copula

I didn't understand how to simulate asset prices by using non normal random numbers. I am assuming that it would be incorrect to use the standard Geometric Brownian Motion, since it is based solely ...
3
votes
0answers
95 views

How does one simulate intraday strategies which don't end up flat at the close?

I ran into this trying to simulate trading interlisted names between the NYSE and the TSX. Depending on my strategy parametrization it would sometimes end up with a significant short or long dollar ...
1
vote
0answers
66 views

What are commercial impact models and transaction cost analysis models out there for simulation?

I have heard that ITG, LiquidMetrix, MarkIT and TradingScreen has good Transaction Cost Analysis (TCA) research. I wonder which firm one would choose to have an impact model formula inside his ...
3
votes
1answer
106 views

Evaluation of the semi-closed Heston pricing formula for call options

I'd like to know, how the integral part of the semi-closed Heston pricing formula for call options can be simulated for a given set of model parameters. Monte Carlo simulations shoud work for this ...
0
votes
1answer
51 views

Should earnings be modelled normally or lognormally?

I am having difficulty deciding whether a company's earnings should be modelled normally or lognormally. If we consider two arguments: (i) The earnings of a company are the returns on the assets of ...
3
votes
1answer
149 views

Extended CIR and discretization

Did someone know how to discretize this process efficiently : $dX(t) = \kappa [\theta(t)-X(t)]dt + \sigma \sqrt{X(t)}dW(t)$ I am looking for something more sophisticated than the trivial Euler ...
2
votes
1answer
175 views

UST Yield Curve Forecasting - Bond Structure Testing

I have a project in mind that I am working on, but have little idea where to start. I am a relative newcomer to python (about 1 years exp.) and limited knowledge of quant finance. What I would like ...
3
votes
1answer
151 views

Simulating Brownian motion with jumps

I am trying to improve my understanding of jump processes. As a first step, I want to simulate sample paths for the process $$dX(t) = dw(t) + dJ(t)$$ where $dw(t)$ is a Brownian motion and $dJ(t)$ ...
16
votes
3answers
25k views

How to simulate stock prices with a Geometric Brownian Motion?

I want to simulate stock price paths with different stochastic processes. I started with the famous geometric brownian motion. I simulated the values with the following formula: $$R_i=\frac{S_{i+1}-...