BookmarkSubscribeRSS Feed
ANKH1
Pyrite | Level 9
In proc glimmix, what syntax is used to change the optimization algorithm to other than Newton Raphson?
proc glimmix data=mydata;
   class myclass;
   model response = mycovariates / dist=binomial link=logit solution;
   random intercept / subject=myid;
 run;
 
 
3 REPLIES 3
sbxkoenk
SAS Super FREQ

SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation
SAS/STAT 15.3 User's Guide
The GLIMMIX Procedure
NLOPTIONS Statement
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_glimmix_syntax18.htm

 

SAS/STAT 15.3 User's Guide
Shared Concepts and Topics
NLOPTIONS Statement
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_introcom_sect052.htm

 

Koen

ANKH1
Pyrite | Level 9
proc glimmix data=mydata method=laplace;
   class myclass;
   model response = mycovariates / dist=binomial link=logit solution;
   random intercept / subject=myid;
 run;

Hi! I found out that you can choose the method (example laplace) by adding the statement above.

sbxkoenk
SAS Super FREQ

@ANKH1 wrote:
proc glimmix data=mydata method=laplace;
run;

Hi! I found out that you can choose the method (example laplace) by adding the statement above.


There's an "inter-play" between several statements and options.

  • Several estimation methods of the GLIMMIX procedure (METHOD=RSPL, MSPL, RMPL, MMPL) are doubly iterative. 
  • The NLOPTIONS statement controls the inner iterations. The outer iteration behavior can be controlled with options in the PROC GLIMMIX statement, such as the MAXLMMUPDATE=, PCONV=, and ABSPCONV= options. If the estimation method involves a singly iterative approach, then there is no need for the outer cycling and the model is fit in a single optimization controlled by the NLOPTIONS statement (see the section Singly or Doubly Iterative Fitting).
  • Note that in a GLMM with pseudo-likelihood estimation, specifying TECHNIQUE=NONE has the same effect as specifying the NOITER option in the PARMS statement. If you estimate the parameters by METHOD=LAPLACE or METHOD=QUAD, TECHNIQUE=NONE applies to the optimization after starting values have been determined.

SAS Help Center

https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_glimmix_syntax18.htm

 

Br, Koen

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 560 views
  • 1 like
  • 2 in conversation