copula_portfolio_var | One-period portfolio value at risk and expected shortfall by copula simulation: a vine copula is fitted to the assets’ returns (or given), scenarios are drawn from it and mapped back through each asset’s margin (observed quantiles by default, or kernel/parametric), and the weighted portfolio return distribution gives VaR/ES per confidence (positive = loss, fraction and currency), each asset’s ES contribution, per-asset VaR/ES, the worst scenarios and a histogram, beside Gaussian-copula and historical VaR/ES. | |