Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Value at Risk (VaR): Parametric and Historical Methods | Risk Metrics and Uncertainty
R for Financial Analysts

bookValue at Risk (VaR): Parametric and Historical Methods

Understanding the risks associated with financial assets is essential for effective portfolio management. One widely used risk measure is Value at Risk (VaR). VaR answers the question: "What is the maximum potential loss on an investment over a given time period, at a specified confidence level?" In other words, VaR estimates the worst expected loss under normal market conditions over a set horizon, such as one day or one month, with a given probability. This metric is crucial for banks, asset managers, and regulators because it provides a single, quantifiable measure of downside risk.

There are several methods to compute VaR, but two of the most common are the parametric (variance-covariance) approach and the historical simulation approach. The parametric method assumes returns are normally distributed and uses statistical parameters such as mean and standard deviation to estimate potential losses. The historical method, on the other hand, relies on actual past returns to estimate risk, making fewer distributional assumptions. Both methods have their uses and limitations, which will become clear as you implement and compare them in R.

123456789101112131415161718
# Create synthetic daily returns set.seed(123) returns <- rnorm(1000, mean = 0.0005, sd = 0.01) confidence_level <- 0.95 alpha <- 1 - confidence_level # Parametric VaR at 95% confidence mean_return <- mean(returns) sd_return <- sd(returns) var_parametric <- - (mean_return + qnorm(alpha) * sd_return) cat("Parametric VaR (95%):", round(var_parametric, 4), "\n") # Historical VaR at 95% confidence var_historical <- - quantile(returns, probs = alpha, type = 7) cat("Historical VaR (95%):", round(var_historical, 4), "\n")
copy

The code above calculates the parametric VaR at a 95% confidence level. Suppose the output is: Parametric VaR (95%): 0.0182

This means that, under the assumption of normally distributed returns, you would not expect to lose more than 1.82% of your portfolio value on a typical day, with 95% confidence. The normality assumption is key: the parametric VaR relies on the idea that returns follow a bell-shaped curve, which may not always hold true in real markets—especially during periods of extreme volatility or market stress.

When you run the historical VaR calculation, you might see an output such as: Historical VaR (95%): 0.0210

Comparing the two methods, you notice that the historical VaR is slightly higher than the parametric VaR. This difference arises because the historical method captures the actual distribution of past returns—including any skewness or fat tails—while the parametric method smooths over these features by assuming normality. As a result, the historical approach may provide a more realistic estimate of risk, especially if your asset's returns deviate significantly from the normal distribution.

While VaR is a powerful tool for summarizing risk, it has important limitations. It does not predict losses beyond the VaR threshold (the so-called "tail risk"), and can underestimate risk during abnormal market conditions. The parametric method is efficient and easy to compute, but its reliance on the normality assumption can lead to underestimating risk when returns are skewed or have fat tails. The historical method, while more flexible, depends on the quality and relevance of historical data—if the past does not reflect future market conditions, its estimates can be misleading.

Use parametric VaR:

  • For quick, high-level risk assessments when returns are approximately normal;
  • When you need a computationally efficient solution.

Favor historical VaR:

  • When you want to capture the true empirical risk profile of your asset;
  • If you suspect returns are not normally distributed or exhibit skewness or fat tails.

Summary: Always consider the assumptions and limitations of each method before relying on VaR for critical financial decisions.

question mark

Which statement best describes the concept of Value at Risk (VaR) as introduced in this chapter?

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 2

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

bookValue at Risk (VaR): Parametric and Historical Methods

Sveip for å vise menyen

Understanding the risks associated with financial assets is essential for effective portfolio management. One widely used risk measure is Value at Risk (VaR). VaR answers the question: "What is the maximum potential loss on an investment over a given time period, at a specified confidence level?" In other words, VaR estimates the worst expected loss under normal market conditions over a set horizon, such as one day or one month, with a given probability. This metric is crucial for banks, asset managers, and regulators because it provides a single, quantifiable measure of downside risk.

There are several methods to compute VaR, but two of the most common are the parametric (variance-covariance) approach and the historical simulation approach. The parametric method assumes returns are normally distributed and uses statistical parameters such as mean and standard deviation to estimate potential losses. The historical method, on the other hand, relies on actual past returns to estimate risk, making fewer distributional assumptions. Both methods have their uses and limitations, which will become clear as you implement and compare them in R.

123456789101112131415161718
# Create synthetic daily returns set.seed(123) returns <- rnorm(1000, mean = 0.0005, sd = 0.01) confidence_level <- 0.95 alpha <- 1 - confidence_level # Parametric VaR at 95% confidence mean_return <- mean(returns) sd_return <- sd(returns) var_parametric <- - (mean_return + qnorm(alpha) * sd_return) cat("Parametric VaR (95%):", round(var_parametric, 4), "\n") # Historical VaR at 95% confidence var_historical <- - quantile(returns, probs = alpha, type = 7) cat("Historical VaR (95%):", round(var_historical, 4), "\n")
copy

The code above calculates the parametric VaR at a 95% confidence level. Suppose the output is: Parametric VaR (95%): 0.0182

This means that, under the assumption of normally distributed returns, you would not expect to lose more than 1.82% of your portfolio value on a typical day, with 95% confidence. The normality assumption is key: the parametric VaR relies on the idea that returns follow a bell-shaped curve, which may not always hold true in real markets—especially during periods of extreme volatility or market stress.

When you run the historical VaR calculation, you might see an output such as: Historical VaR (95%): 0.0210

Comparing the two methods, you notice that the historical VaR is slightly higher than the parametric VaR. This difference arises because the historical method captures the actual distribution of past returns—including any skewness or fat tails—while the parametric method smooths over these features by assuming normality. As a result, the historical approach may provide a more realistic estimate of risk, especially if your asset's returns deviate significantly from the normal distribution.

While VaR is a powerful tool for summarizing risk, it has important limitations. It does not predict losses beyond the VaR threshold (the so-called "tail risk"), and can underestimate risk during abnormal market conditions. The parametric method is efficient and easy to compute, but its reliance on the normality assumption can lead to underestimating risk when returns are skewed or have fat tails. The historical method, while more flexible, depends on the quality and relevance of historical data—if the past does not reflect future market conditions, its estimates can be misleading.

Use parametric VaR:

  • For quick, high-level risk assessments when returns are approximately normal;
  • When you need a computationally efficient solution.

Favor historical VaR:

  • When you want to capture the true empirical risk profile of your asset;
  • If you suspect returns are not normally distributed or exhibit skewness or fat tails.

Summary: Always consider the assumptions and limitations of each method before relying on VaR for critical financial decisions.

question mark

Which statement best describes the concept of Value at Risk (VaR) as introduced in this chapter?

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 2
some-alt