0
$\begingroup$

How do I calculate or estimate the degrees of freedom in order to perform a Monte Carlo simulation of asset returns with multivariate t distribution using R functions? I am able to calculate the mean vector of asset returns mu, as well as the covariance matrix covmat of asset returns. I also understand that Sigma is the scale matrix which is covmat * df/(df-2)

library(mvtnorm)
sim <- rep(mu, each = n) + rmvt(n, sigma=Sigma, df=df)
#df is degrees of freedom, which is a required input in the function rmvt and
required to calculate the scale matrix
$\endgroup$
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.