BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
csetzkorn
Lapis Lazuli | Level 10

I tend to use:

 

ParameterEstimates = WORK.ParameterEstimates
FitStatistics = WORK.Model_Fit
ANOVA = Work.ANOVA
SelectionSummary = WORK.SelectionSummary;

 

to extract model parameters and other stats when I use  proc glmselect. I am trying to do something similar for proc nlmixed. Looking at this preliminary/simplified code:

 

 

ods select none;
proc nlmixed data=AnalysisData;
parms s2u1=1;
y = exp(-X);
model Y1 ~ normal(y, s2u1);
ods output
parameters = Work.Parameters;
run;
ods select All;

I obtain:

 

s2u1 NegLogLike
1 553224.908

 

Where is the parameter for X? Any input would be very much appreciated. Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
csetzkorn
Lapis Lazuli | Level 10

Hi all,

 

Sorry actually the following code snippet works fine:

 

ods output
Parameters = Work.Parameters
FitStatistics = WORK.Model_Fit
;

Sorry!

View solution in original post

3 REPLIES 3
ballardw
Super User

I think if a variable is not on the PARMS statement when PARMS is used then it is not included in the ParameterEstimates output

Reeza
Super User

Initial Parameters are in the Parameters tables.

Estimates are in the ParameterEstimate table. 

 

Does that provide what you're looking for?

 


@csetzkorn wrote:

I tend to use:

 

ParameterEstimates = WORK.ParameterEstimates
FitStatistics = WORK.Model_Fit
ANOVA = Work.ANOVA
SelectionSummary = WORK.SelectionSummary;

 

to extract model parameters and other stats when I use  proc glmselect. I am trying to do something similar for proc nlmixed. Looking at this preliminary/simplified code:

 

 

ods select none;
proc nlmixed data=AnalysisData;
parms s2u1=1;
y = exp(-X);
model Y1 ~ normal(y, s2u1);
ods output
parameters = Work.Parameters;
run;
ods select All;

I obtain:

 

s2u1 NegLogLike
1 553224.908

 

Where is the parameter for X? Any input would be very much appreciated. Thanks!


 

csetzkorn
Lapis Lazuli | Level 10

Hi all,

 

Sorry actually the following code snippet works fine:

 

ods output
Parameters = Work.Parameters
FitStatistics = WORK.Model_Fit
;

Sorry!

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 947 views
  • 0 likes
  • 3 in conversation