BookmarkSubscribeRSS Feed
charles_pignon1
Calcite | Level 5

Hi everyone,

I'm running proc NLIN to output parameter estimates, and would like to add the standard error of the parameter estimates to the output dataset. Proc REG has the outseb option to do this, but I haven't found any equivalent for proc NLIN. Would anyone have any ideas?

Here is the code I have so far: it outputs a dataset called output_data which contains my parameters: Asat, fi, th, and Rd. Running this will give me the parameter estimates and their standard errors in a separate table; I need the standard errors associated with each parameter to be included in the output_data dataset.

proc NLIN data=AQ method=Marquardt outest=status noitprint; where curve=4;

by curve;

f = (Asat+PPFD*fi-SQRT((fi*PPFD+Asat)*(fi*PPFD+Asat)-4*fi*Asat*th*PPFD))/(2*th)-Rd;

bounds -3<Rd<50;

parameters Asat= 5 to 60 by 1

fi= 0.2 to 0.8 by 0.1

Rd= 1E-8 to 10.1 by 0.5

th= 0 to 1 by 0.2;

model A=f;

output out=output_data parms=Asat fi th Rd predicted=Ahat student=student;

run;

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 0 replies
  • 708 views
  • 0 likes
  • 1 in conversation