Estimation value at risk by using Exponentially Weighted Moving Averagege
by Ali Najjar
19 Jul 2011
(Updated 28 Aug 2012)
Estimating Value at Risk of portfolio by using Exponentially Weighted Moving Average
|
Watch this File
|
| File Information |
| Description |
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). |
| MATLAB release |
MATLAB 7.11 (R2010b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 14 Mar 2012 |
Yang Zhao
|
|
|
| Updates |
| 28 Aug 2012 |
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) |
|
Contact us