# Tagged Questions

Numerical computing environment developed to allow matrix manipulations, plotting of functions and data and implementation of algorithms.

140 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-...
77 views

### Standard Stochastic Volatility Models VS Moving Average Stochastic Volatility Model

Hi... I am comparing the log-volatility of two SV models with an application to MATLAB. Since I am a rookie in this field, I do not know if I am wrong in interpreting the graph. In my opinion the only ...
22 views

### compute volatility and greeks of american option on futures using matlab toolbox

I have learned some knowledges on option pricing by myself at a very beginer's level. I'm using matlab R2009b finacial derivative toolbox, I found option pricing functions for american options on ...
106 views

### How to estimate parameters for 2 correlated Ornstein-Uhlenbeck processes with maximum likelihood?

I would like to use maximum likelihood to estimate the parameters of two correlated Ornstein-Uhlenbeck processes from empirical data. Do you have any good references for this? If you have any hints as ...
10 views

### Fit Simple VAR model in Matlab

I've been trying to fit the following model in Matlab: $\beta_{t}=a+Mt+A\beta_{t-1}+\epsilon_{t}$ Where a is a constant, M is a vector of trend parameters and A a cross-factor interaction matrix. I'...
36 views

### How to fit a skew normal/t copula to data

I want to use either the skew normal copula or the skew t copula with a time-varying correlation matrix. But so far I haven't found any way to implement this either in R or Matlab. Would anyone be ...
140 views

### Simulation of Heston process

I am currently working on implementing Heston model in matlab for option pricing (in this case I am trying to price a European call) and I wanted to compare the results I obtain from using the exact ...
21 views

### VAR FPCA analysis paper replication

I've been trying to replicate the following publication: toronto.edu/sjaimung/papers/VAR-FPCA.pdf but I havent been able to get the same results estimating the $\beta_{k}$ parameters. First, I got ...
30 views

...
11 views

### How to get daily OHLC (fints) from minutes OHLC (fints) in MatLab?

I have a minutes OHLC time series stored in fints object, how can I get a new fints object which contains daily OHLC? What is the easiest way to do it?
27 views

### student-t asset path

I am trying to simulate an asset path based on a t-distribution. I found a lot of ressources and the fact that it will be difficult to do a path. But now I changed my Geometric Brownian Motion ...
154 views

### Skewed Generalized Error Distribution's (SGED) pdf

I want to use the SGED distribution of Theodossiou for GARCH estimation, however, I am struggling to understand which is the correct pdf function of the distribution. Let me just say that the ...
72 views

### Monte Carlo simulation of Multifractional Brownian Motion in MATLAB

Code under is taken from http://en.literateprograms.org/Monte_Carlo_simulation_(Matlab) ...
78 views

### Initial values for Heston Model calibration

I'm doing a Heston model in Matlab using simple Monte Carlo simulations (5.000 paths and 2 steps per day, simulating 360 days). When I try to calibrate the Heston parameters using fminsearch it takes ...
90 views

### How to decide if the ARCH coefficient is necessary in the GJR-GARCH model?

I did some analysis for CAC 40, the French market benchmark, for the period 2005-2014, and I tried to fit the data with a GJR(1,1) model in MATLAB. Then some warning showed Lower bound ...
67 views

### How to estimate constrained a constrained VAR(1) with MATLAB?

Suppose I want to estimate the following VAR(1) model: $$Y_t = \mu + \Phi Y_{t-1} + \varepsilon_t$$ where $Y_t=(y_{1t}, y_{2t},…,y_{kt})'$, $\mu=(\mu_1,…,\mu_{k})’$ and $\Phi$ a matrix of ...
400 views

### Autoregressive distributed lag models ADL(p,q) howto in preferably matlab (stata/R/python/C# etc)

Could anyone provide me the details of how to determine the lag order of the distributed lags for an ADL(p,q) model in Matlab or another statistical package (and very much preferably in combination ...
131 views

### Handling IQFeed events in Matlab

I need to get some specific market data for my studies, and it seems like the most convenient way for me to do this is to use IQFeed data feed and MATLAB. But unfortunately, since I'm not a seasoned ...
6 views

### Matlab Neural Network data organization

I'm trying to train a NARX network using time series data. I've got 80 sets of data I'd like to train the network with. For clarification, one set of data comprises of 6 financial indicators of X ...
20 views

Hurd and Zhou (2010) proposed a FFT-based method to calculate the spread option price. $\Phi$ is the characteristic function of $\log$-return and But I did not implement it successfully. Who has ...
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 ...
208 views

### Forecasting conditional mean in ARMA-GARCH model (R/Matlab)

I am trying to forecast the conditional mean from a ARMA(1,0)-GARCH(1,1) model. The mean equation in my model is: $x_t = \mu + \delta x_{t-1} + h_t \epsilon_t$ where x is the variable (a return ...
97 views

### Skewed Generalized Error Distribution in GARCH modelling

I am trying to estimate GARCH models with the use of Theodossiou's (2000) Skewed Generalized Error Distribution. I am modifying matlab's ARMAX-GARCH-K toolbox to calculate this model. I am calculating ...
34 views

### Inverse Laplace transform

I'm trying to compute the inverse Laplace transform of the function gam below ...
144 views

### Maximum Likelihood Estimation Heston Model using Matlab

My question is based on the MLE of the Heston model discussed in this paper URL: http://www.princeton.edu/~yacine/stochvol.pdf with Matlab code: http://www.princeton.edu/~yacine/closedformmle.htm ...
45 views

### Engle Granger test returns a 0 in matlab, while correlation factor is .80+. Am I doing something wrong?

Engle Granger test is giving me a ans = 0. The correlation factor is: 0.8+ Does this imply the No cointegration hypothesis is true? i.e. as per my understanding that there is cointegration? I am ...