AnalyseGE Form Expressions using Coeff etc in TAB file


The main aim is to evaluate Formulas involving Coefficients, Variables and Sets defined in the TAB file. Usually quantifiers are required at the start (though they can be omitted in some cases). A semicolon is normally required at the end (except for the last of a sequence of formulas). The keyword "Formula" must not be included. Also note that you only include the "right-hand side" (the expression to be evaluated) of the formulas entered in this way - there is no Coefficient name on the "left-hand side" (and no equals sign).

Examples

(all,c,com) SALES(c) ;

(all,c,com) SALES(c) * x0dom(c) ;

SALES ;

SALES(c) * x0dom(c) ;

SUM(c,COM, SALES(c)) + GDPEXP ;

The formula part just consists of quantifiers followed by what would normally be the right-hand side (of the formula in a TABLO Input file). Do not put a left-hand side followed by equals. Use variables in the formula just as if they were coefficients.

Normally the appropriate quantifiers [for example, "(all,c,com)" as above] must be included. Sometimes (as in the third and fourth examples above) you can omit them since the program will add the quantifiers for you. The only time you can omit indexes is when the expression is just the name of a coefficient or variable (as in the third example above).

You can copy expressions from another text editor (for example, GemEdit or TABmate) into the memo on the AnalyseGE form. Right-click on the memo to bring up the paste menu item (and other related menu items). You can also edit expressions in the memo on the AnalyseGE form.



URL of this topic: www.copsmodels.com/webhelp/analysege/hc_expcoeff.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage