The tag has no usage guidance.

learn more… | top users | synonyms

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 ...
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?
2
votes
1answer
173 views

Simulating Stock's close, high and low prices

I am testing a model in which I need to simulate closing, high and low prices (i.e. 3 dimensions of prices) of any given stock. Using the simple Geometric Brownion Motion equation I can easily ...
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 ...
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-...
2
votes
1answer
135 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-...
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
0answers
97 views

Effective simulation of multi factor Heston model

Im looking for a quick way (as in runs quick, not necessarily is quick to implement) of simulating multiple square root processes for a stochastic volatility model, flexible enough to allow for ...
2
votes
0answers
279 views

Credit Valuation Adjustment Implementation

I am trying to help a friend with her thesis on Counterparty Credit Risk where she intends to have a somewhat lengthy treatment on Credit Valuation Adjustment (CVA). Specifically I am looking to help ...
2
votes
0answers
2k views

Models for simulating FX movements

My goal is to develop a model to simulate long term FX movements. (I am not sure if long term makes any difference, but if it does I am more interested in long term fx movements) These Monte Carlo ...
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 ...
1
vote
2answers
315 views

Historic Value at Risk - Ratios vs. Differences

Quick Summary on Historic VaR Let $S_0,...,S_n$ be the daily values of some stock (where $S_0$ is the current value). Then for $i=1,\ldots,n$ we let $$\hat r_i:=S_{i-1}/S_i \quad \text{and}\quad \hat ...
1
vote
1answer
176 views

transaction size and liquidity in simulation of US stocks

i am developing a simulation trading in US stocks. i have 1 transaction a day per stock, assumed for simplicity to be executed at the daily closing price. in order to determine a reasonable maximal ...
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?
1
vote
1answer
156 views

What's wrong with this asset growth simulation?

Sorry if this is too basic, but I have this spreadsheet that simulates asset growth of a portfolio under a given return and risk using MPT. Here is a plot of probability distribution of asset ...
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), ...
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^{\...
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
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 ...
1
vote
1answer
200 views

Getting Parameter of Translated Gamma Distribution from Monte Carlo

Spin-off from here. (Edit) Main question: What do I do about a parameter whose suggested values range quite vastly? (Edit) Backstory: I am given data of loss values and the dates that correspond to ...
1
vote
1answer
56 views

Compute moments of aggregate loss using Monte Carlo

Spin-off from here. Richard referred to me an article that tells me how to get parameters of a translated gamma distribution to which I should consider fitting simulated aggregated loss values. The ...
1
vote
1answer
299 views

Get distribution for aggregate loss using Monte Carlo

I am given two data sets containing dates and losses (in some currency). Given a distribution for the amount of losses and an (a,b,0) distribution for frequency of losses, how can I use Monte Carlo ...
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
62 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
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 ...
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 ...
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 ...
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 ...
1
vote
0answers
95 views

Review of Excel Stock Simulator

I am currently a senior in high school and I built a stock simulator using knowledge gained from a semester of AP Statistics. I was wondering if someone could tell me if my simulation is legit/...
1
vote
1answer
332 views

Simulate non-stationary time series with cointegration

how can I simulate/generate two non-stationary time series (with unit root) so that they can be also cointegrated (using R or Matlab). Thanks in advance.
1
vote
0answers
72 views

Order 1.5 strong SDE integration methods for systems with diagonal additive noise

I'm looking into simple-to-implement and efficient order 1.5 strong SDE integration schemes for my system. My noise is diagonal and additive (possibly time-varying). Thus methods designed for either ...
1
vote
0answers
100 views

Problems with exact Heston simulations

I am just wondering if there is any problem with the so-called "exact" Heston simulations? So far what I have seen are the good things about it, what are the disadvantages? Because if it is so perfect,...
0
votes
2answers
212 views

Getting the next price of a GBM with reversion

Here is the "twin" question of Getting the next price of a GBM (Geometric Brownian Motion) but for GBM with reversion As in that case, I'd like to write a formula for the next price, as function of: ...
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 ...
0
votes
1answer
393 views

Getting the next price of a GBM (Geometric Brownian Motion)

I am writing a program that creates realizations of a GBM. Starting from an initial price, I get the following price with this formula: ...
0
votes
1answer
554 views

How do I simulate stock prices for a 10 asset portfolio, over a period of 10 years in MATLAB? [closed]

If I have given vectors for return and volatility (i.e. I have two 1x10 vectors), and I assume at first that their correlation is 0 (meaning my covariance-variance matrix is just diagonal), how do I ...
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 ...
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 ...
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}$ $\...
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 ...
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 ...
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(...
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}...
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 ...
0
votes
1answer
75 views

Simulating a GBM with martingale condition - Ito process moving downwards

I want to correctly simulate a $\mathcal{Q}$ - martingale $S$, which is a geometric Brownian motion and an exponential of a process $X$, \begin{equation} X_t = X_0 + \mu t + \sigma B_t = X_{t-\Delta t}...
0
votes
0answers
53 views

What interest rate dynamics would you suggest to simulate a single swap?

I need to calculate the Potential Future Exposure (PFE) for a single swap (not a portfolio). As far as I know, a stochastic model is needed to simulate the interest rate curves (from here). Could ...