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


 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 706 views
  • 0 likes
  • 2 in conversation