Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The NLMIXED Procedure

Program Statements

This section lists the program statements used to code the log likelihood function in PROC NLMIXED. It also documents the differences between program statements in PROC NLMIXED and program statements in the DATA step. The syntax of program statements used in PROC NLMIXED is identical to that used in the CALIS and GENMOD procedures (refer to the SAS/STAT User's Guide), and the MODEL procedure (refer to the SAS/ETS User's Guide). Most of the program statements that can be used in the SAS DATA step can also be used in the NLMIXED procedure. Refer to SAS Language: Reference for a description of SAS program statements. The following are valid statements:

ABORT;
CALL name [ ( expression [, expression ... ] ) ];
DELETE;
DO [ variable = expression
      [ TO expression ] [ BY expression ]
      [, expression [ TO expression ] [ BY expression ] ... ]
      ]
      [ WHILE expression ] [ UNTIL expression ];
END;
GOTO statement_label;
IF expression;
IF expression THEN program_statement;
      ELSE program_statement;
variable = expression;
variable + expression;
LINK statement_label;
PUT [ variable] [=] [...] ;
RETURN;
SELECT [( expression )];
STOP;
SUBSTR( variable, index, length       ) = expression;
WHEN ( expression) program_statement;
      OTHERWISE program_statement;

For the most part, the SAS program statements work the same as they do in the SAS DATA step, as documented in SAS Language: Reference; however, there are several differences:

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.