MATLAB金融工具箱的应用实验报告.docx

MATLAB金融工具箱的应用实验报告MATLAB金融工具箱的应用实验报告

MATLAB金融工具箱的应用实验报告 该数据选取的是TCL自2004年1月7日起至今的股票收盘价数据: 时间序列分析 x=xlsread(tcl); tcl(1,1) ans = 731979 tcl(1,2) ans = 8.3500 plot(tcl(:,1),tcl(:,2)); datetick(x,23); xlabel(Date); title(TCL Composite ); 绘制收益率序列 Return=price2ret(tcl(:,2)); Time=tcl(:,1); t=Time(2:end); plot(t,Return); datetick(x,23); 自相关 autocorr(Return) title(ACF); 偏自相关 parcorr(Return); title(PACF); AR模型 m=ar(Return,2) m = Discrete-time AR model: A(z)y(t) = e(t) A(z) = 1 - 0.03316 z^-1 + 0.01952 z^-2 Sample time: 1 seconds Parameterization: Polynomial orders:

文档评论(0)

1亿VIP精品文档

相关文档