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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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