Estimation value at risk by using Exponentially Weighted Moving Averagege

Estimating Value at Risk of portfolio by using Exponentially Weighted Moving Average

You are now following this Submission

This file contains three m-file which estimates the Value at Risk (VaR) of portfolio composed of two stocks prices by using Exponentially Weighted Moving Average.
the main function is 'ewmaestimatevar'. For estimating VaR you should use this function. This function also sketch related diagrams at give confidence levels (two confidence levels).

Cite As

Ali Najjar (2026). Estimation value at risk by using Exponentially Weighted Moving Averagege (https://www.mathworks.com/matlabcentral/fileexchange/32251-estimation-value-at-risk-by-using-exponentially-weighted-moving-averagege), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

This update contains example of ewmaestimatevar()Arguments, P1, P2.
Just move P1 and P2 into Workspace and for example Run following command:
[VaR violation RP]=ewmaestimatevar(P1,P2,1000,.94,[.95;.99],.5)

1.0.0.0