Getting Started : New Features in EViews 10 : Other Features
  
Other Features
 
Series Generating Functions
General Functions
Date Functions
Distribution Functions
Special Functions and Constants
Group Row Functions
Matrix Functions
Programming Support Functions
Object Data Members
Equation Data Members
VAR Data Members
Vectors and Matrices
Updated Command List
Commands
Updated Object List
Graphs
Graph Procs
Group Views
Matrix Views
Series
Spools
System
System Views
Table
VAR
Var Views
Var Procs
Var Methods
There are a number of other features and improvements that are not mentioned above.
Series Generating Functions
General Functions
You may also use the following new functions when generating a series:
@sign(X) returns -1, 0, 1 depending on the sign of the corresponding element of X
@bounds(X, Y, Z) returns X if X is between Y and Z and the boundary values Y and Z otherwise
@pmax(X, Y) returns the pairwise max of X and Y (for more than pairs, you may still use @rmax)
@pmin(X, Y) returns the pairwise min of X and Y (for more than pairs, you may still use @rmin)
The following previously existing functions now take an optional argument. Non-zero values for this argument refer to the number of decimal points to take account of when performing the operation:
@round
@floor
@ceiling
For example, the @round function with an optional parameter of 2 will round to the nearest 100. @round with an optional parameter of -2 will round to the nearest 0.01.
Date Functions
@dateceil – rounds date up to end of period .
@datenext – rounds date up to end of period .
Distribution Functions
The following cumulative distribution functions now take an optional argument. Non-zero values for this argument instruct EViews to compute the upper tail of the CDF:
@cnorm
@claplace
@cextreme
@clogistic
@cged
@cexp
@cchisq
@ctdist
@cbeta
@cfdist
@cgamma
@cweib
@clognorm
@cpareto
In addition, the new function
@logcnorm
offers a more numerically stable function for the computation of @log(@cnorm(x)).
Special Functions and Constants
EViews 10 offers new functions for numerically stable computation of expressions involving logs and exponentials in regions where the standard functions will show a loss of precision:
@expm1(x) – computes with accuracy in the neighborhood .
@log1p(x) – computes with accuracy in the neighborhood.
@log1mexp(x) – computes with accuracy for in the neighborhood .
@powm1(x, a) – computes with accuracy in the neighborhood .
@pow1pm1(x, a) – computes with accuracy in the neighborhood of .
While similar to @powm1, this function supports a full double-precision “delta” from one. Among other things, @pow1pm1 allows exponentiation of values extremely close to one that cannot be represented in double-precision, e.g., . This function should only be used if the calculation of naturally falls near zero. If the calculation of naturally falls near one, @powm1 should instead be used (supplying to this function will produce less accurate results).
The previously existing special functions now take an optional argument. Non-zero values for this argument instruct EViews to compute the upper tail of the integral:
@gammainc
@betainc
The following numerical constants may now be used in expressions:
@log2pi – .
@pi – .
Group Row Functions
EViews 10 adds new row functions that produce descriptive statistics for each observation across the series in the group:
@rmedian(g) row-wise median
@rprod(g) row-wise product (one should be careful of overflow)
@rquantile(g, q) where q is the quantile computed using the Cleveland quantile definition.
Matrix Functions
In addition to almost all of the “Series Generating Functions” functions above which may be applied to matrix elements (the notable exceptions include @pmax, and @pmin, along with the “Group Row Functions”), EViews 10 offers several new matrix specific functions:
@emax(X, Y) returns the element max of the conformable matrices X and Y
@emin(X, Y) returns the element min of the conformable matrices X and Y
@erecode(Z, X, Y) returns the element recode using the conformable condition matrix Z and the matrices X and Y
In addition, EViews 10 expands the set of column functions that produce descriptive statistics for each column in a matrix.
@cprod(m) – column product (one should be careful of overflow)
@cquantile(m, q) – column quantile q using the Cleveland definition
@csumsq(m) – column sum of squared values
@cstdev(m), @cstdevs(m) – column sample standard deviation
@cstdevp(m) – column population standard deviation
@cvar(m), @cvarp(m) – column population variance
@cvars(m) – column sample variance
@cmedian(m) – column median
EViews 10 also adds to the existing economy singular value decomposition @svd function a full-size (non-economy) version:
@svdfull(m1, m2, m3)) – full size singular value decomposition
Programming Support Functions
These are new functions for working with external applications from within EViews:
@xgetstr returns a scalar string value from the external application.
@xgetnum returns a scalar numeric value from the external application.
@xverstr returns the external application version number as a string.
@xvernum returns the external application version number as a number.
Object Data Members
EViews 10 offers an expanded set of object data members that provide access to information about the object.
Equation Data Members
Scalar Values
@nbreaks number of breaks in a breakpoint least squares equation.
@nclusters number of clusters in cluster-robust covariance calculation.
Vectors and Matrices
@ardlcoint returns a coef containing coefficients from the cointegrating relationship form of an ARDL estimation.
@ardlsrcoefs .returns a matrix where each row corresponds to an individual cross-section’s short-run coefficients. Only applicable for PMG/ARDL estimation.
@ardlsrses .returns a matrix where each row corresponds to an individual cross-section’s short-run coefficient standard errors. Only applicable for PMG/ARDL estimation.
String Values
@ardlcointsubst returns string representation of the cointegration form of an ARDL equation with substituted coefficients.
VAR Data Members
Vectors and Matrices
@svarsmat estimated S matrix for short-run impulse responses.
@svarfmat estimated F matrix for long-run impulse responses.
Scalar Values
@nrestrict number of restrictions in a restricted VAR.
Updated Command List
Commands
dbopen open a database.
logclear clears the log window corresponding to the program.
logclose closes one or more or all message log windows (new).
logmode set the log settings of specified message types.
logmsg adds a line of text to the program log.
logsave saves the program log to a text file.
pageload load one or more pages into a workfile from a workfile or a foreign data source.
pagesave save the active page in the default workfile as an EViews workfile (.WF1 file) or as a foreign data source.
preview preview objects contained in a database or workfile (new)
wfcreate open a workfile.
wfopen reads in a previously saved workfile from disk, or reads the contents of a foreign data source into a new workfile.
wfsave save the default workfile as an EViews workfile (.wf1 file) or as a foreign file or data source.
wfsnapshot takes a manual snapshot of the current workfile (new).
xoff turns off mode that sends all subsequent command lines to the external program (new).
xon turns on mode that sends all subsequent command lines to the external program (new).
xpackage installs the specified R package in the current external R connection (new).
Graph Creation Commands
bubble bubble plot specified using single area series (new).
bubbletrip bubble plot specified as triplets (new).
Interactive Use Commands
forecast dynamic forecast from an equation.
ls equation using least squares or nonlinear least squares, including ARMA estimation.
threshold threshold least squares and smooth threshold regression, including threshold autoregression.
Updated Object List
 
Equations
Equation Views
rgmprobs display the regime probabilities in a switching regression equation.
strconstant tests for constancy of the base specification coefficients against a smoothly varying alternative in a smooth threshold regression (new).
strlinear tests for linearity of the base specification against the smooth threshold alternative in a smooth threshold regression (new).
strnonlin compute various tests for additional additive or encapsulated nonlinearity in a smooth threshold regression (new).
strwgts display the transition weights in a smooth threshold regression (new).
Equation Procs
forecast compute dynamic forecast.
makestrwgts save the smooth transition weights in a smooth threshold regression (new).
Graphs
Graph Procs
addarrow draw a line or arrow on a graph.
addtext draw a text on a graph.
Group
Group Views
bubble bubble plot specified using single area series (new).
bubbletrip bubble plot specified as triplet (new).
Matrix
Matrix Views
bubble bubble plot specified using single area series (new).
bubbletrip bubble plot specified as triplets (new).
Models
Model Views
checkbounds display details for any variables that crossed boundaries during model solution (new).
Model Procs
setbounds set upper and lower boundaries for endogenous variables during model solution (new).
Series
Series Procs
movereg seasonally adjust series using the MoveReg method (new).
stl seasonally adjust series using the STL decomposition method (new).
Spools
Spool Procs
append append objects to a spool.
insert insert objects into a spool.
System
System Views
resids display graph or spreadsheet view of system residuals.
Table
Table Procs
sort sort the rows of the specified selection of cells (new).
VAR
Var Views
arlm serial correlation LM test.
decomp variance decomposition.
hdecomp historical decomposition (new).
resids graph or spreadsheet view of the residuals or structural residuals.
Var Procs
append append SVAR or VEC restriction to VAR.
makeresids make series containing the residuals or structural residuals.
svar estimate factorization matrix for structural innovations.
Var Methods
ls least squares and restricted least squares estimation of a VAR.