Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [multivariate]

The tag has no usage guidance.

1
vote
1answer
27 views

Forecasting default rates using a macroeconomic model

I am trying to forecast corporate default rates using macroeconomic data. I have a few explanatory variables (all the variables are explained in figure 2), which range from 2000 to 2017. On this ...
1
vote
0answers
27 views

Unconditional correlation in CCC GARCH

What is the unconditional correlation (covariance) in CCC GARCH model $$\mathbf{x}_{t+1} = \mathbf{H}_{t+1}^{1/2} \mathbf{z}_{t+1}$$ $$\mathbf{H}_{t+1} = \mathbf{D}_{t+1}^{1/2} \mathbf{R} \mathbf{D}_{...
1
vote
1answer
77 views

Understand the white noise condition in Vector Autoregression

In the following vector autoregression model with lag polynomial representation: $$\Phi (L) y_t= \epsilon_t$$ where $Y$ is the vector of endogenous variables, $\Phi$ is the parameters matrix, $\...
1
vote
1answer
103 views

How to compute a single Value-at-Risk (a single quantile) of portfolio returns taking into account correlation between individual returns?

Introduction My goal is to retrieve a single Value-at-Risk (VaR) of a N(0, H) random variable $X$ at the $\alpha \in (0,1)$ confidence level where H is a known d-dimensional positive definite matrix ...
1
vote
0answers
56 views

Monte Carlo Simulation of correlated returns based on different frequencies

I am simulating through Monte Carlo, multivariate correlated returns of different products composing an Oil&Gas portfolio. The historical prices (from which I computed the log-returns) of the ...
2
votes
1answer
118 views

How to do QE scheme for n correlated assets?

I'm trying to simulate correlated assets under Heston model. I coded the QE scheme for a single asset but i dont understand the next step: How should i set the correlation matrix given my n-asset ...
0
votes
1answer
93 views

Generally how to simulate bivariate (or multidimensional) BM sample paths?

A topic I am struggling with is the implementation of a (for the simplest higher dimensional case) bivariate normal distribution simulation for geometric brownian motion. The clearest explanation by ...
0
votes
0answers
80 views

How to generate variance impulse response function as in Hafner and Herwantz (2006)?

I am trying to generate variance impulse response functions as described by Hafner and Herwantz (2006) and in Walter Enders' book "Applied Econometric Time Series". Is there a command in R for this? ...
0
votes
2answers
83 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'...
1
vote
1answer
58 views

Multivariate normal when Cholesky decomp fails on Sigma

I'm trying to do multivariate distributions of returns on buckets where all the returns are at least 0.6 correlated at a 95% confidence level. I have the buckets, but their Sigmas cannot be decomposed ...
1
vote
0answers
16 views

Affect of choosing different combinations of variables for multivariate regression [closed]

If I have variables x1,x2,x3,and x4 that have correlation coefficients −0.9,−0.5,0.5, and 0.9 to another variable y, what is the effect of choosing different combinations of them in a multivariate ...
1
vote
1answer
1k views

Package for multivariate Garch Vech model for R?

I`m new to programming and searching a package for R which inherents the estimation for a Vech Garch(1,1). This is a multivariate Garch model which forms the residuals and the covariance matrix from a ...
4
votes
1answer
598 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 ...
2
votes
1answer
464 views

VEC GARCH (1,1) for 4 time series

I have to estimate a VEC GARCH(1,1) model in R. I already tried rmgarch, fGarch, ccgarch, mgarch, tsDyn. Has somebody estimated a model like that? ...
2
votes
2answers
1k views

Augmented Dickey-Fuller Test/ Unit Root test on multiple time series dataframe in R

I have a dataset/dataframe in which I have calculated the daily log returns of five thousand companies and these companies are as column as well. I want carry out ADF test on this dataframe. I have ...
0
votes
1answer
461 views

CCC-Garch predict

So I'm trying to measure the VaR of 2 stock with a multivariate GARCH model, so im using the CCC model. I need to predict the standard-diviation and the mean but the ...
6
votes
2answers
397 views

What is the preferred GARCH method in practice?

My advance apologies, if this question is too naive or basic. Please be patient with my first experiences with SE; ask for clarification, if needed. I recognize there are many (often-criticized) ...
3
votes
2answers
3k views

Multivariate GARCH in Python

Is there a package to run simplified multivariate GARCH models in Python? I found the Arch package but that seems to work on only univariate models. I'd like to test out some of the more simple ...
4
votes
3answers
2k views

Any package to run VAR-GARCH or VECM-GARCH models in R?

I need to estimate a multivariate VECM-GARCH (or simply VAR-GARCH) in R. Browsing on the internet, I did not find anything yet. Do you know if such kind of packages exists? Please, note that a BEKK ...
5
votes
1answer
442 views

DCC GARCH: specifying ARCH and GARCH parameter matrices in STATA

The command in STATA to estimate the DCC model of two variables is: mgarch dcc ( x1 x2=, noconstant) , arch(1) garch(1) distribution(t) $$ \begin{bmatrix} h_1{...
6
votes
4answers
11k views

Copulas simply explained

I try to understand the basic idea of copulas, however I am still struggling and hope that someone can help me. I understood that in general a copula is a function which links several marginal ...
1
vote
0answers
104 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 ...
1
vote
1answer
41 views

Spread options on prices or returns?

I need some clarifications regarding spread options. I have always found them characterized as paying, at maturity, the difference between the prices of two underlying assets: $$ (S_1(T)-S_2(T)-K)^+ $$...
3
votes
0answers
87 views

Basket Default Swap (BDS)

I would like to understand better the $n^{th}$ to default pair spreads of a basket default swap containing $m>n$ entities. For example, consider 2 single name CDS's with same spread and same ...
6
votes
1answer
84 views

Mutivariate t markets

We know that some markets exhibit marginals well approximated by Student t distributions. But what is the dependence structure? Is the multivariate density really elliptical (as we all wish for) or ...
2
votes
1answer
834 views

How to see the impact of one variable on a set of other variables?

Editing my question: I have decided to use multiple factor model to model my stress test. I am using factor shock method to implement the propagation of shocks. I am doing this according to a book "...
0
votes
2answers
225 views

Interpretation of PCs

I have computed PC1 and PC2 wts on future contracts derived from cumulative log differences. How can I use them to get back the theoretical price of each contract using those 2 pcs? Thanks in advance....
4
votes
0answers
120 views

Estimating two normal random numbers with one equation

Subtitle: Estimating the correlation of the shocks driving two commodities in two multi-factor models I am fitting two 2-factor models to electricity and gas futures, respectively. In order to ...
5
votes
1answer
471 views

Major FX pairs - Pentahedron Data Structure

I read an interview today with Stephane Coquillaud. He talked about this idea of formulating a data set of the G5 currencies as a pentahedron. The obvious benefit is the fact that there is more ...
7
votes
3answers
2k views

Using rolling returns in a multivariate linear regression?

I am trying to use fundamental factors such as PE, BV, & CFO in a multivariate linear regression with the response variable being the rolling 1 month returns. But this approach seems flawed as the ...
10
votes
1answer
2k views

Time series price prediction and linear regression: using high/low rather than last quotes price

Discrete time series regression models, like ARIMA, are usually built around the assumption that we only have 1 available price for each period t, which I will call the Close. In reality asset time ...
8
votes
0answers
730 views

Alternative to Block Bootstrap for Multivariate Time Series

I currently use the following process for bootstrapping a multivariate time series in R: Determine block sizes - run the function b.star in the np package which produces a block size for each series ...