BookmarkSubscribeRSS Feed
nyc_user
Calcite | Level 5

Hi all,

 

I'm trying to create a dataset with parameter estimates to use as a source for the different program...

I would like to export the estimates for parameters 49.9999 & 25 as a dataset... but I'm having problems.

 

Thank you in advance for help.

 

proc nlin data=sample;

parameters x1=0 x2=0;

model product= x1 * exp (x2*month) ;

run;

proc model data=sample;

parms x1=0 x2=0;

product=x1 * exp (x2*month) ;

fit product;

run;

pic.png

1 REPLY 1
Reeza
Super User

Process is outlined here:

https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html

 


@nyc_user wrote:

Hi all,

 

I'm trying to create a dataset with parameter estimates to use as a source for the different program...

I would like to export the estimates for parameters 49.9999 & 25 as a dataset... but I'm having problems.

 

Thank you in advance for help.

 

proc nlin data=sample;

parameters x1=0 x2=0;

model product= x1 * exp (x2*month) ;

run;

proc model data=sample;

parms x1=0 x2=0;

product=x1 * exp (x2*month) ;

fit product;

run;

pic.png


 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 551 views
  • 0 likes
  • 2 in conversation