BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mgx
Obsidian | Level 7 mgx
Obsidian | Level 7

I want to specify a range of parameters in PROC GLIMMIX for several parameters, but not for others. How can I code this? I want to specify a grid search to a range of parameters for the values that are in my code below initially set to 0. My code looks like this:

proc glimmix data=dataset method=quad(qpoints=10) initglm;
parms 
(0.7680)
(-5.4775) (39.5841)
(0) (0) (20.5296)
(0) (0)(-146.07) (1046.48);
nloptions maxfunc=10000 maxiter=10000 gconv=1e-8 fconv=1e-8 technique=newrap;
class var surveyid distvar linkvar;
model response = var var*time var*gender/noint dist=byobs(distvar) link=byobs(linkvar) covb solution;
random int1 slope1 int2 slope2/type=un subject=ID ;
run;

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
jiltao
SAS Super FREQ

You can specify a grid search by listing multiple initial values in the PARMS statement for one parameter, for example,

 

parms 
(0.7680)
(-5.4775) (39.5841)
(0.4 2) (-2 to 2 by 1) (20.5296)
(0) (0)(-146.07) (1046.48);

Here is more information in the documentation --

SAS Help Center: PARMS Statement

 

Thanks,

Jill 

View solution in original post

2 REPLIES 2
jiltao
SAS Super FREQ

You can specify a grid search by listing multiple initial values in the PARMS statement for one parameter, for example,

 

parms 
(0.7680)
(-5.4775) (39.5841)
(0.4 2) (-2 to 2 by 1) (20.5296)
(0) (0)(-146.07) (1046.48);

Here is more information in the documentation --

SAS Help Center: PARMS Statement

 

Thanks,

Jill 

dexcort2020
Obsidian | Level 7
mem-.*** 
(0.7680)
(-5.4775) (39.5841)
(0.4 2) (-2 to 5 by 7) (20.5296)
(0) (0)(-146.07) (1046.48);

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 619 views
  • 5 likes
  • 3 in conversation