The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
256 views

How to calculate the volatility matrix with multiple stocks

calculating the volatility for a single stock is straightforward. However, I'm not sure whether my approach for calculating the volatility matrix for multiple stocks is correct: I assume a log-normal ...
2
votes
1answer
328 views

Johansen Cointegration Test

I just performed a Johansen Co-integration test on two stocks. The results I get are: ans = r0 r1 t1 true false I am using Matlab. Can ...
4
votes
0answers
27 views

Calibration of nested pricing models consistently on two different classes of derivatives

Hi everyone, I'm programming in MATLAB and I have the following optimization problem in calibrating several nested specifications of pricing models. Summary: I have two pricing models ($1$ and $2$, ...
3
votes
0answers
159 views

How can I introduce exogenous variables in the equation of the conditional variance?

Is it possible to introduce dummy variables or explanatory variables in the GARCH variance equation (garchset and garchfit).This is done in the mean (ARMAX) equation through the input 'Regress' in ...
1
vote
0answers
63 views

Financial risk and Matlab

What toolbox are more suitable for a risk analyst. I found this: Optimization toolbox Global optimization toolbox Econometrics toolbox Financial toolbox Statistics toolbox And also I have as a ...
1
vote
0answers
94 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 ...
1
vote
0answers
40 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 ...
0
votes
0answers
48 views

What is the most elegant way to write a trading (or asset selection) algorithm in MATLAB, based on a simple criterion?

Assume a $T \times N$ matrix $X$ of values for an asset characteristic at time $t \in \{1,2,\dots,T \}$, where $T$ is the observation period in months and $N$ is the number of assets and a ...
0
votes
0answers
32 views

Interpretation of Cointegration results, pValues and t-Stat

This is a follow up to: Cointegration results interpretation validation? I ran another Engel Granger Test on a pair, The results I get: ...
0
votes
0answers
72 views

Identifiability for Time Invariant State Space Models

Kevin Murphy's Kalman Filter toolbox (for Matlab) contains an example where it's the fact that the state space system in not identifiable causes problems. I include the example in it's entirety but ...
0
votes
0answers
28 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 ...
0
votes
0answers
145 views

Copula Value At Risk

Let's suppose I have two asset in my portfolio. I want to compute Copula Value At Risk. Can you help me? This is the code I wrote: ...
0
votes
0answers
568 views

fetch from yahoo! finance database - varying number of ticks

To test a model with real-life data, I used the fetch-function in matlab to connect to the database of yahoo! finance. My code to try and get 7 different assets' returns is the following: ...