Using Extreme Value Theory and Copulas to Evaluate Market Risk

2 ビュー (過去 30 日間)
Luan Vardari
Luan Vardari 2018 年 12 月 29 日
コメント済み: Stephan 2018 年 12 月 29 日
Hi i have a problem with this code, can help anyone? In atach i send my data. in every time when i run code write "Undefined function or variable 'dates'."
>> % Import daily index closings
>> figure
plot(dates, ret2price(price2ret(Data)))
datetick('x')
xlabel('Date')
ylabel('Index Value')
title ('Relative Daily Index Closings')
legend(series, 'Location', 'NorthWest')
Undefined function or variable 'dates'.
>> figure
plot(dates, ret2price(price2ret(Data)))
datetick('x')
xlabel('Date')
ylabel('Index Value')
title ('Relative Daily Index Closings')
legend(series, 'Location', 'NorthWest')
Undefined function or variable 'dates'.
>> % Logarithmic returns
>> % # of returns (i.e., historical sample size)
>> index = 1; % 1 = MSCI, 2 = EEM, 3 = FEM, 4 = IEMG, 5 = JFAM, 6 = LZEM, 7 = SCHE, 8 = VWO,
figure
plot(dates(2:end), returns(:,index))
datetick('x')
xlabel('Date')
ylabel('Return')
title('Daily Logarithmic Returns')
Undefined function or variable 'dates'.
>> figure
autocorr(returns(:,index))
title('Sample ACF of Returns')
Undefined function or variable 'returns'.
>>
  3 件のコメント
Luan Vardari
Luan Vardari 2018 年 12 月 29 日
I whant to senctonize for this analyze my data, but i cant, can you help about this, below i sent link fir extreme value theory. I cant load my data for this function.
https://es.mathworks.com/help/econ/examples/using-extreme-value-theory-and-copulas-to-evaluate-market-risk.html
Stephan
Stephan 2018 年 12 月 29 日
You do not Import any data. Have a look at xlsread or readtable function. The only code i see is to plot data.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProbability Distributions and Hypothesis Tests についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by