[doc bug] precedence

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

[doc bug] precedence

Postby maxchen » Sat Jun 05, 2010 6:08 pm

in "EViews 7 Users Guide I.pdf", (ver April 2, 2010) P132

Code: Select all

precedence order as follows (from highest precedence to lowest):
[*]unary minus (-), unary plus (+)
[*]exponentiation(^)
[*]multiplication (*), division (/)
[*]addition (+), subtraction (-)


Should be

Code: Select all

[*]exponentiation(^)
[*]unary minus (-), unary plus (+)
[*]multiplication (*), division (/)
[*]addition (+), subtraction (-)


see the change log

Code: Select all

http://www.eviews.com/download/ev6download.html

July, 2007
Changed the precedence of unary negative sign and raised to the power (^) in scalar operations to match that of series operations so that for example -3^2 = -9 instead of 9.


the following code is test on EViews 5.1 (ver 20071008) V6 and V7.1

Code: Select all

wfcreate u 8
genr a = -3^2
genr b = -a^2
genr x = (-3)^2
group ga a b x
show ga


thus, the simple examples in the same page , "-1^2, evaluates to (–1)^2=1 since the unary minus is evaluated prior to the power operator." is not consistent with the new update (versions)

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13323
Joined: Tue Sep 16, 2008 5:38 pm

Re: [doc bug] precedence

Postby EViews Gareth » Mon Jun 07, 2010 7:58 am

Thanks.
Follow us on Twitter @IHSEViews

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

Re: [doc bug] precedence

Postby maxchen » Sun Jun 27, 2010 1:56 am

Hmm, at the same page, for logical operators, there should be "not, and, or". Say, " and or" --> "not and or". 3 logical operators


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 28 guests