The MODEL Procedure


Syntax: MODEL Procedure

The following statements can be used with the MODEL procedure:

  • PROC MODEL options;

  • ABORT ;

  • ARRAY arrayname variable-list …;

  • ATTRIB variable-list1 attribute-list1 <variable-list2 attribute-list2 …>;

  • BOUNDS bound1 < , bound2 …>;

  • BY variable-list;

  • CALL name;

  • CALL name( expression1 < , expression2 …> );

  • CONTROL variable < value > …;

  • DELETE ;

  • DO ;

  • DO variable = expression < TO expression > < BY expression > < , expression TO expression < BY expression > …> < WHILE expression > < UNTIL expression > ;

  • END ;

  • DROP variable …;

  • ENDOGENOUS variable < initial-values > …;

  • ERRORMODEL equation-name ~ distribution < CDF=( CDF(options) ) > ;

  • ESTIMATE item1 < , item2 …> < ,/ options > ;

  • EXOGENOUS variable < initial values > …;

  • FIT equations < PARMS=( parameter values …) > < START=( parameter values …) > < DROP=( parameters ) > < / options > ;

  • FORMAT variable-list < format > < DEFAULT= default-format > ;

  • GOTO statement-label ;

  • ID variable-list;

  • IF expression ;

  • IF expression THEN programming-statement1 ;  < ELSE programming-statement2 > ;

  • variable = expression ;

  • variable + expression ;

  • INCLUDE model-file …;

  • INSTRUMENTS < instruments > < _EXOG_ > < EXCLUDE=( parameters ) > < / options > ;

  • KEEP variable …;

  • LABEL variable =’label’ …;

  • LENGTH variable-list <$> length …<DEFAULT=length > ;

  • LINK statement-label ;

  • MOMENT variable-list = moment-specification …;

  • OUTVARS variable …;

  • PARAMETERS variable1 < value1 > < variable2 < value2 …> > ;

  • PUT print-item …< @ > < @@ > ;

  • RANGE variable < = first > <TO  last > ;

  • RENAME old-name1 = new-name1 < …old-name2 = new-name2 > ;

  • RESET options;

  • RESTRICT restriction1 < , restriction2 …> ;

  • RETAIN variable-list1 value1 < variable-list2 value2 …> ;

  • RETURN ;

  • SOLVE variable-list <SATISFY=(equations) > < / options > ;

  • SUBSTR ( variable, index, length ) = expression ;

  • SELECT < ( expression ) > ;

  • OTHERWISE programming-statement ;

  • STOP ;

  • TEST < "name" > test1 <, test2 …> < ,/ options >;

  • VAR variable < initial-values > …;

  • WEIGHT variable;

  • WHEN ( expression ) programming-statement ;