VAR(2) BEKK MGARCH t=3

Discussions of ARCH, GARCH, and related models

VAR(2) BEKK MGARCH t=3

Postby amcqeen » Tue Oct 23, 2012 10:56 pm

Hallo, following my previous post a few day ago you said when i have a VAR(2) i should start at least from t=3
But my data are in excel and the first row are the names of the series so in the code i have "1 1025" and then i have gstart t=3
Because the first row are the series names should i have started from t=4 ?

Similarly when i had VAR(1) i had gstart at t=2.

Many thanks in advance
Maria
amcqeen
 
Posts: 17
Joined: Wed Jan 14, 2009 7:42 am

VAR(2) BEKK MGARCH t=3 Sample

Postby amcqeen » Wed Oct 24, 2012 4:32 am

[color=#0000FF]"
open data arg_W1C_RD.xls
data(format=xls,org=columns) 1 1025 lmr fxr fxr2 mmrus mmrjp nar twr twr12 rdyj rdyf rdmco rdmca rdmfo lmrrd fxr2rd mmrusrd narrd twrrd
*
*
compute gstart=3,gend=1025"
[/color]

My data have 1024 observations and i added 1-1025 because the excel has the names on row 1.
Then when i say gstart at t=3 for VAR(2) does it start from data observation 3 and considers i wrongly put 1025 data points since there are only 1024 in both points?



Thank you!
amcqeen
 
Posts: 17
Joined: Wed Jan 14, 2009 7:42 am

Re: VAR(2) BEKK MGARCH t=3

Postby TomDoan » Wed Oct 24, 2012 8:53 am

The row of labels doesn't count as an observation. If you have 1024 rows of numbers, you have 1024 entries. If you're running a VAR(2), then you can't start earlier than 3. If, in addition, you have to transform into returns within RATS, you will lose another data point doing that. If the data on the Excel file are usable as is, then you can start at 3.
TomDoan
 
Posts: 2718
Joined: Wed Nov 01, 2006 5:36 pm

Re: VAR(2) BEKK MGARCH t=3

Postby amcqeen » Wed Oct 24, 2012 9:05 am

Ignore the question, i have found the answer!
I used view and saw the data that Rats read, it reads as t=1 my first data observation and t=1024 my last. The code is ok.
Thanks anyway!
amcqeen
 
Posts: 17
Joined: Wed Jan 14, 2009 7:42 am

Re: VAR(2) BEKK MGARCH t=3

Postby amcqeen » Wed Oct 24, 2012 9:07 am

TomDoan wrote:The row of labels doesn't count as an observation. If you have 1024 rows of numbers, you have 1024 entries. If you're running a VAR(2), then you can't start earlier than 3. If, in addition, you have to transform into returns within RATS, you will lose another data point doing that. If the data on the Excel file are usable as is, then you can start at 3.



Thnak you!
amcqeen
 
Posts: 17
Joined: Wed Jan 14, 2009 7:42 am


Return to ARCH and GARCH Models

Who is online

Users browsing this forum: No registered users and 1 guest

cron