/* ** Comments on program title, purposes, ** and the usage of the program */ use gpe2; @ using GPE package (version 2) @ @ this must be the first executable statement @ /* ** Writing output to file or sending it to printer: ** specify file name for output */ /* ** Loading data: ** read data series from data files. */ /* ** Generating or transforming data series: ** create and generate variables with ** data scaling or transformation ** (e.g. y and x are generated here and will be used below) */ call reset; @ initialize global variables @ /* ** Set input control variables for model estimation ** (e.g. _names for variable names, see Appendix A) */ call estimate(y,x); @ do model estimation @ @ variables y, x are generated earlier @ /* ** Retrieve output control variables for ** model evaluation and analysis */ /* ** Set more input control variables if needed, ** for model prediction ** (e.g. _b for estimated parameters) */ call forecast(y,x); @ do model prediction @ end; @ important: don’t forget this @