Hi
When I try to run this program I get an error massage saying (@HQ is an illegal or reserved name in "HQIC_MATRIX_RSA(1,1) = @HQ")
!x = 2
matrix (!x,!x) hqic_matrix_rsa 'Hannan-Quinn criterion
for !p = 1 to !x
for !q = 1 to !x
%ar = ""
%ma = ""
for !u = 1 to !p
%ar = %ar + "ar(" + @str(!u)+ ")"
next
for !v = 1 to !q
%ma = %ma + "ma(" + @str(!v)+ ")"
next
equation ar_rsa_{!p}.ls rsouth_africa c {%ar}
equation ma_rsa_{!q}.ls rsouth_africa c {%ma}
hqic_matrix_rsa(!p,!q) = @hq
next
next
Illegal or reserved name
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Illegal or reserved name
You need to put equationname.@hq
Of course it isn't clear which equation you are trying to retrieve the HQ statistic from.
Of course it isn't clear which equation you are trying to retrieve the HQ statistic from.
Re: Illegal or reserved name
Thank you very much!!
It works now
Appreciate the help
It works now
Appreciate the help
Who is online
Users browsing this forum: No registered users and 2 guests
