On 28.08.2022 17:56, Brian Revell wrote:
 Hi Marcin
 as I haven't used script language very frequently and only have a very 
 rudimentary understanding of its syntax,  -I rely on the GUI to meet 
 my requirements l-your suggestion is leaving me perplexed as to how to 
 implement the update and where to put it. My programming expertise 
 only extends to Fortran and Basic-so that will date me!.
  I have downloaded BACE. zip from Source Forge into my Downloads 
 folder. BACE.zip contains the pdf afticle on BACE and a file BACE.gfn. 
That is
correct: BACE.zip archive contains both: BACE.gfn package and 
BACE.pdf docs.
 On my laptop, Gretl resides in C:\Program Files\gretl.
 I cannot understand what the instruction *pkg install 
 /path/to/BACE.zip *really means**. 
Assuming you put BACE.zip in C: (which gives us a path as C:\BACE.zip) 
and have gretl already running, do the following steps:
1. Click on 'open gretl console' (third icon at the bottom of main window.
2. type "pkg install C:\BACE.zip" in gretl's console window and press 
'Enter'. This just instructs gretl to unzip BACE.zip and put its 
contains in special place in your user's directory.
 Why would I install the already downloaded file  BACE.zip *i*nto 
 BACE.zip? 
Basically, because gretl needs to know that such file exists and - that 
it contains package items.
In case of script. The first 3 lines set verbosity, loads bundled 
dataset and loads BACE package into memory:
set verbose off
open australia.gdt
include BACE.gfn
Here you generate time trend and set lags:
genr time
x_lags = 1
y_lags = 1
Next, you create X list which contains variables with ID's from 6 to 10. 
Additionaly, you add lags of them + time:
list X = 6..10
X = lags(x_lags, X) time
Finally, you run BACE for lpau variable as Y, including its lags and all 
Xs (which corresponds to ARDL(1,1). Const terem may be dropped:
BACE(lpau, X, _(with_const=2, Y_AR_p=y_lags))
That's it.
Of course, all those things you may do via BACE GUI interface, but some 
element must be done before (like lagged Xs and time)
Marcin
-- 
Marcin Błażejowski