Commonly used Native Eviews Functions and their Definitions
@count(x)
returns the number of all observations (including missing values)
d(x)
first difference.
d(x,n)
n-th order difference.
@demean(s[,smpl])
demean. Returns a copy of series s translated to have a mean of zero.
dlog(x)
first difference in logs.
dlog(x, n)
nth difference in logs.
@iff(s,x,y)
recode by condition returns if condition is true; otherwise returns . Note this is the same as
@recode.
@isna(x)
equal to NA. Returns 1 if x is equal to NA and 0 otherwise.
@obs(x[,s])
number of observations. Returns the number of non-missing observations for X in the current sample.
@pch(x)
one-period percentage change (in decimal).
@pc(x)
one-period percentage change (in percent) - equals @pch(x)*100
.
@pca(x)
one-period percentage change—annualized (in percent) equals @pcha(x)*100
.
@recode(s,x,y)
recode by condition. If s is true then it returns x, and s is false it returns y.
@ytd(s[, smpl])
YTD of series s. Provides the cumulative sum of a series within the year. Optionally, a sample may be provided to limit the observations included in the summation.