IODE for beginners CIC 31012017 contents 1 introduction
IODE for beginners CIC – 31/01/2017
contents 1. introduction 6. Compute 2. concepts 7. tables/graphics 3. data 8. simulation 4. workspaces 9. print 5. more on variables 10. reports 31/01/2017 plan. be 2
1. introduction 31/01/2017 plan. be 3
why, what • one package to create, estimate and simulate econometric models • automatic report generation (scripting) • simple time series database • data and (sub-)models sharing • standardisation 31/01/2017 plan. be 4
history, users • developed since 1985 • users o FPB: Hermes, Modtrim, Maltese (central module), Nemesis, … o SPF Finances o Paris : Insitut Erasme o IWeps o FUN 31/01/2017 plan. be 5
documentation, installation http: //iode. plan. be manuals in different formats installation o first => admin o update => user IODE versions o o GUI (IODE) command line (iodecmd) com interface (Excel, APL, …) python integration (Py. Iode, LArray) : under development 31/01/2017 plan. be 6
2. concepts 31/01/2017 plan. be 7
object types equations (LEC) variables comments coefs (Scalars) identities lists tables/graphics reports : list of Iode commands 31/01/2017 plan. be 8
starting IODE can be started from : o the “Start” Menu > IODE o windows Explorer => (Current directory ? ) o command line (“command Prompt”) 31/01/2017 plan. be 9
3. data 31/01/2017 plan. be 10
variables sample ◦ Sample definition (Y, Q, M, W) creation ◦ INS-> new variable ◦ --: unavailable ◦ LEC formula ◦ function keys (F 5, F 4, Shift-F 4, F 3, F 2, Shift-F 2, F 8, Shift-F 8) ◦ copy from Excel (Ctrl-P) ◦ DEL-> deletes current variable 31/01/2017 plan. be 11
comments comment = simple text can be associated with any object Alt-F 1 when editing other objects 31/01/2017 plan. be 12
equations & scalars D = c 1 + c 2 * E equation name : endogenous variable ◦ scalar (coef) = lowercase ◦ functions = lowercase ◦ variables = uppercase ◦ LHS = any expression functions keys ◦ F 5 = estimate ◦ F 8 = results ◦ F 4 = coefficients + tests + relax 31/01/2017 plan. be 13
identities Identity definition = LEC expression Identity execution : F 7 ◦ On a partial sample (Shift-F 7) ◦ Using external var and scl files 31/01/2017 plan. be 14
lists shortcuts $-sign edit variables 31/01/2017 plan. be 15
references Alt-F 1: C Alt-F 2: E Alt-F 3: I Alt-F 4: L Alt-F 5: S Alt-F 6: T Alt-F 7: V 31/01/2017 plan. be 16
4. workspaces 31/01/2017 plan. be 17
save & load workspace=container (file) for a group of objects of the same type. save ◦ internal format : cmt, eqs, idt, lst, scl, tbl, var ◦ asci format : ac, ae, ai, al, as, at, av ◦ csv format ◦ nb : #objects load other functions ◦ copy ◦ merge ◦ sample, extrap, Low to High, High to Low, Seasonal adjustments, Hodrick Prescott 31/01/2017 plan. be 18
5. more on variables 31/01/2017 plan. be 19
copy to/from Excel ◦ export to csv /. av ◦ import from. av ◦ copy / paste from/to Excel ◦ select (Shift-arrows) / deselect (Ctrl-U) ◦ Ctrl-C, Ctrl-V, Ctrl-P 31/01/2017 plan. be 20
6. compute 31/01/2017 plan. be 21
execute identities inputs : ◦ execution sample ◦ list of identities ◦ input files (vars and scl) 31/01/2017 plan. be 22
7. tables/graphics 31/01/2017 plan. be 23
definition table = group of text and lec expressions graphic = table executed on different files and samples (gsample) easy creation from list of LEC expressions edit variables using tables compare 2 simulations 31/01/2017 plan. be 24
8. simulation 31/01/2017 plan. be 25
inputs 31/01/2017 plan. be 26
9. print 31/01/2017 plan. be 27
tables & graphics inputs ◦ list of tables ◦ printing sample ◦ files to compare ◦ number of decimal digits ◦ F 8, F 10 31/01/2017 plan. be 28
printing sample operations on periods ◦ diff (y 2 -y 1), average diff (y 2—y 1) ◦ growth rates (y 2/y 1), average grt (y 2//y 1) ◦ sum (y 1+y 2), average (y 1^y 2) ◦ base (y 2=y 1) operations on files ◦ values [1; 2] ◦ differences [1 -2], diff in pct ([1/2]) ◦ sum ([1+2]) ◦ average ([1^2]) 31/01/2017 plan. be 29
print objects equations + estimation results (optional) table definition comments, lists, scalars, identities variables 31/01/2017 plan. be 30
print destination = printer or file printer : windows printer (pdf file) file : select the format : ◦ a 2 m : iode markup format ◦ html : web pages ◦ mif : framemaker interchange format ◦ csv : excel ◦ rtf : word toggle destination: setup or Alt-S 31/01/2017 plan. be 31
10. reports 31/01/2017 plan. be 32
IODE report file extension: . reports = scripting language used for ◦ automate repetitive tasks ◦ ◦ ◦ creation of objects simulation printing loop over lists. . . ◦ interact with the user 31/01/2017 plan. be 33
example $-sign $Ws. Load. Var filename[. var] $Data. Calc. Var VARNAME lec expression $foreach … See manual for a complete list 31/01/2017 plan. be 34
execution 1. GUI : menu “report” 2. command line : c: >iodecmd repfile. rep 31/01/2017 plan. be 35
- Slides: 35