|
<P 0cm 0cm 0pt"><FONT face="Times New Roman">filename data1 'c:\your.dbf'; /*read your data*/<o:p></o:p></FONT></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman">proc dbf db3=data1 out=sasdata;<o:p></o:p></FONT></P>
<P 0cm 0cm 0pt"><o:p><FONT face="Times New Roman"> </FONT></o:p></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman">proc autoreg data=sasdata;<o:p></o:p></FONT></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman"> model ret=/garch=(q=1,p=1) center maxit=100 archtest;<o:p></o:p></FONT></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman"> output out=out1 cev=vhat;<o:p></o:p></FONT></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman">run;<o:p></o:p></FONT></P>
<P 0cm 0cm 0pt"><o:p><FONT face="Times New Roman"> </FONT></o:p></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman">proc print data=out1;<o:p></o:p></FONT></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman">run;</FONT><o:p></o:p></P>
|