The code of many functions manipulating ts and tsmat have been modified to be able to deal with ts and tsmat created with different representations of sub-annual frequencies (for instance 4 or [4,1] for quarterly frequencies).
Function brybos have been modified to better deal with annual data. If you have an annual series x test for instance:
--> brybos('x','M=2','m=2','e=1','k=2');
multivariate test functions arlm0_multi and hetero_sq0_multi have been adapted to Markov-switching results; for instance save the result of a ms_var and run:
--> result=ms_var([your input]); [val,pvalue]=arlm_sq0(result,4) ;[val,pvalue]=hetero_sq0(result) (for each test, val is the value of the test statistics and pvalue its p-value).
(2018/06/19): Grocer version 1.75 has been posted on the web.
The code of several functions has been slightly modified to avoid uncessary warnings with Scilab 6.0.1.
Bugs in gmm and iv function, that did not work with ts, have been corrected.
The user can now enter a time trend in any econometric functions through the string 'trend' as well as through the the string 'trend^1'.
A new function addts2tsmat, that adds a ts to a tsmat, has been added.
(2018/02/12): Grocer version 1.74 has been posted on the web.
Panel estimation functions pppoled, pfixed and parandom have been adapted to work with unbalanced panels.
The automatic programm, that selects automatically the "best" model from a selection of variables, has been extended to deal with panel ppoled, fixed and random effects (see help automatic or have a look at the demo panelauto_d.sci for examples)
The disaggregation method that is used at Insee for quarterly national accounts has been tested, corrected and documented (see help etalcalinsee or have a look at the demo etalcalinsee_d.sci for examples).
Function expbd2exc allows the user to give different names to the variables in the destination file from their Scilab ones (see help expbd2exc).
Function reliability has been extended to work with panel and restricted VAR estimation methods.
Calculation of the log-likelihood in function sur, performing seemingly unrelated regressions, has been corrected.
Functions plt_garch, pltdma_expnbvar, pltdma_expnbvar and pltfac_kalm (plotting the results of garch, DMA and fac_kalman results) did not work with ts: this has been corrected.
The low-level functions explon and explone, used by most high level econometric functions, have been corrected to perform proprerly the determination of bounds when they are determined by the functions.
Function nls have been improved to be able to deal with complex non linear equations.
The error message displayed by function q2a have been corrected.
Function %tsmat_mean (not documented), that was not working properly, has been corrected and now works properly.
Function varmaf, that makes forecasts from VARMA models, has been corrected to deal properly with exogenous defined implicitely, such as 'const' or 'trend^2'.
(2017/03/11): Grocer version 1.73 has been posted on the web.
This version contains new adaptations to the Scilab 6 family, entailed by the transition from Scilab-6.0.0.beta2 to Scilab-6.0.0 (in particular, all strings written on several lines were put on a lone one; some remaining additions of an empty matrix and a non empty one have been removed and replaced by lines of codes working with Scilab versions both before and after 6.0.0).
This version corrects a bug introduced when adapting the ms_var and ms_reg programs to Scilab-6.0.0.beta2: the programs did not work anymore when all coefficients were switching.
Function johansen did not always work with ts: this has been corrected.
Function readxls2bd has been extended to work with annual dates written as numbers instead of being suffixed by 'a'.
The program automatic worked only with one compulsory variable; now it works with any number of them.
The program irf that provides the impulse function from a VAR has been rewritten. The option 'meth=mc1" has been discarded and replaced by the more relevant option 'meth=bootstrap', that estimates the confidence bands by a bootstrap method. Function pltirf2 that plots the corresponding result has been improved.
A new option 'saturate_post', that determines the presence of breaks to the constant term in a pc-gets like regression has been introduced to function automatic.
Help files have been submitted to an extensive review: files that had not been updated to the more recent help files specifications have been upgraded; some errors and typos have been corected.
(2016/07/23): Grocer version 1.72 has been posted on the web.
This version is the first one to work with the Scilab 6 family, whose 6.0.0.beta2 version has been released in June 2016. This has entailed the modification of an unusal number of
functions. In particular, many functions have been modified to deal with a major change with the Scilab 6 family: the result of the addition or subtraction of an empty matrix and a non empty matrix has changed, from the added non empty matrix to an empty matrix. I have performed extensive tests to discover all cases where it may happen in Grocer programs, but I cannot guarantee that there remains none. So if you have the message "Warning adding a matrix with the empty matrix will give an empty matrix result", do not hesitate to send me an e-mail, so that I can deal with the potential implied problems. The installation device has also been changed for Scilab 6 family, due to a change in the working in the lib function.
This version corrects also a few bugs:
Option 'dropna' used to ignore the NA values in a daily ts now works properly on functions da2q and da2m;
When used with a second argument to restrict the names of the variables found in the database, function dblist retained erroneously some variables, now it gives the exact list of variables respecting the entered restrictions;
Function johansen_common_beta, that worked only in the very particular cases contained in the demo for the johansen suite, now works in the general cases;
Function prt_multilogit, that did not search for the coefficients values in the results tlist, now does.
Functions predfailin0 and auto_waldf0 sometimes generated an error because of the switching of a real number to a complex one with zero imaginary part: this has been corrected;
A few functions have also been improved:
Speed of function deriv_eq1 has been greatly increased. The working of function analyse_eq has also been changed: it now produces a global variable called grocer_variables, that collects the names of all variables found during the analysis;
Function values has been extended to allow the extraction of only a subset of variables in a tsmat;
Function %ts_mean %tsmat_mean has been created to overload function mean with ts and tsmat typed data.
(2015/11/09): Grocer version 1.71 has been posted on the web.
The 1.71 version is a minor evolution of the 1.7 version, with the following changes:
Function impexc2bd has been extended to allow the exportation of comments in time series and to suppress the 'a' in Grocer year dates;
Erroneous } signs in functions IPS1 and select_mask have been replaced by the correct ] sign;
In functions ms_reg and ms_var, the possibility of entering options to optim have been introduced.
There was a bug with the symbolic derivative with respect to the log function, that was not properly calculated when the expression between brackets contained operations.
(2015/10/03): Grocer version 1.7 has been posted on the web.
The main novelties of the 1.7 with respect to the previous 1.67 version are the following:
Function automatic has been extended to incorporate the block search algorithm proposed by
J. Doornik to deal with problems when the number of variables is greater than the number of observations.
Grocer block search has been compared to Doornik Autometrics block search program for the battery of tests used by Doorik in his 2009 paper.
These results of these tests are presented in chapter 15 of Grocer manual and can be reproduced using the material given here: they show that Grocer block search program compares favourably with Autometrics one.
In the same vein, function ols has also been extended to allow impulse saturation, the methodolgy proposed by Castle, Doornik and Hendry to test the
the presence of structural breaks in an equation.
A new Function Hetero_TVP_VAR has been created to allow the estimation of a structural VAR with varying coefficents and volatilities,
estimated in bayesian framework using a Monte-Carlo Markov Chain (MCMC) algorithm.
The user can adapt the priors to her needs and a function tvpvar_prior helps helps her to enter her choices. The function also come with
a function Hetero_TVP_VAR_stresid that plots the -time varying- standard deviations of the residuals and a function Hetero_TVP_VAR_irf
that plots the -time varying- impulse response functions of the VAR. It also comes with a function tvpvar_diagnos that performs convergence diagnostics.
Latsly, functions MCMC_autocorr, that calculates autocorrelation of draws for a given set of parameters, geweke_diagnos that performs Geweke''s
numerical std error, relative numerical efficiencies and inefficiencies and raftery that performs Raftery and Lewis (1991) convergence diagnostic,
that is the # of draws needed in MCMC to estimate the posterior cdf of the q-quantile to within +/- r accuracy with probability s, can be used for various
other bayesian estimations using the MCMC algorithm. Function wish_rnd and wish_rnd1, that makes randow draw in a Wishart law have also been added.
A function msvar_irf_cb, written by Stefan Fiesel, that performs confidence bands around impulse response functions in a Markov-switching VAR
model, has been added. This has also lead to write a function msvar_draw that draws at random an artifical Markov-switching VAR with any set of parameters.
Functions findobject and strsubst_trueobj, that find if an object name is truly in a mathematical formula and to replace object names by
another name in a mathemtical formula, have been documented.
Minor adjustements have been made to numerous functions, in order to adapt them to the coming Scilab 6.0 version: this should not change Grocer working
for older versions, but has nevertheless the advantage to make the code somehow cleaner (Grocer cannot be installed for the moment with the Scilab 6.0.alpha, because
the installation programs has yet to be adpated; but Grocer functions can nevertheless be run using less straightforward means: if you are an experienced user and are
interested in testing Grocer under Scilab 6.0.alpha, send me an a-mail and I will indicate you how to proceed).
The user manual has been modified accordingly and slightly enhanced (correction of typos, of a few errors,...).
:
With the release of Scilab 6.0 and because of the changes Siclab 6.0 entails to Grocer implementation,
Grocer releases now work "only" with Scilab versions from the 5.5.0 one and not with older ones. If this poses a problem to you, do not hesitate to signal it to me by e-mail.
To
see older modifications, see here