Referencing Errors

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

diggetybo
Posts: 152
Joined: Mon Jun 23, 2014 12:04 am

Referencing Errors

Postby diggetybo » Thu Mar 19, 2015 11:41 pm

Hello

Question #1 is about Eviews 6 syntax for referencing errors from a regression in scalar computation.

The standard error of a regression

Code: Select all

scalar sigma = @se
this works for the last regression run, say eq02, but what if I want to reference the standard error of the regression from an earlier equation, say eq01?

Code: Select all

scalar sigma = @se@eq01
returns the error "non-numeric argument"

Question #2 is optional, just curious. Consider:

The standard error of coefficient i
Assuming the s.e. of the coefficient is i=1 then

Code: Select all

scalar c_se = @stderrs(1)
the opperator

Code: Select all

@stderrs
, from what I can tell, wasn't included in the command and programming reference's list of operators, or in user guide I or II, is it somewhere else?

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Referencing Errors

Postby trubador » Fri Mar 20, 2015 1:48 am

There are plenty of syntax examples in the manual as well as in the forum. Just look carefully:

Code: Select all

scalar sigma = eq01.@se scalar c_se = eq01.@stderrs(1)
These ones are located under "Equation/data members".


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests