Hi:
If you use the ODS TRACE statement, you can find out the name of the output object that contains the coefficient and the mean and the std. Then, once you have then output object name(s), you can create an output dataset that contains the data points. From there, it would be fairly easy to graph the points.
For example, if you modified the above PROC NLIN code to use ODS TRACE:
[pre]
ODS TRACE ON/ LABEL;
...PROC NLIN...
ODS TRACE OFF;
[/pre]
Then you would see in your SAS log:
[pre]
Output Added:
-------------
Name: IterHistory
Label: Iterative Phase
Template: stat.nlin.IterHistory
Path: Nlin.IterHistory
Label Path: 'The Nlin Procedure'.'Iterative Phase'
-------------
NOTE: Convergence criterion met.
Output Added:
-------------
Name: ConvergenceStatus
Label: Convergence Status
Template: Stat.nlin.ConvergenceStatus
Path: Nlin.ConvergenceStatus
Label Path: 'The Nlin Procedure'.'Convergence Status'
-------------
Output Added:
-------------
Name: EstSummary
Label: Estimation Summary
Template: stat.nlin.EstSummary
Path: Nlin.EstSummary
Label Path: 'The Nlin Procedure'.'Estimation Summary'
-------------
Output Added:
-------------
Name: ANOVA
Label: Summary Statistics : Dependent Variable y
Template: stat.nlin.ANOVA
Path: Nlin.ANOVA
Label Path: 'The Nlin Procedure'.'Summary Statistics : Dependent
Variable y'
-------------
Output Added:
-------------
Name: ParameterEstimates
Label: Parameter Summary
Template: stat.nlin.ParameterEstimates
Path: Nlin.ParameterEstimates
Label Path: 'The Nlin Procedure'.'Parameter Summary'
-------------
Output Added:
-------------
Name: CorrB
Label: Approximate Correlation Matrix
Template: stat.nlin.CorrB
Path: Nlin.CorrB
Label Path: 'The Nlin Procedure'.'Approximate Correlation Matrix'
-------------
[/pre]
Let's say that you wanted the Parameter Estimates output object, you could create it like this (now that we know the name from the TRACE output):
[pre]
ods output ParameterEstimates=work.parmest;
proc nlin data=one method=marquardt hougaard;
parms a=3 b=2;
model y=a*x**b;
run;
[/pre]
and the output dataset WORK.PARMEST would contain:
[pre]
Obs Parameter Estimate StdErr Alpha LowerCL UpperCL Skewness tValue Probt
1 a 30.1779 1.2717 0.05 26.6473 33.7086 0.0359 23.73 <.0001
2 b 0.3366 0.0301 0.05 0.2531 0.4201 0.0559 11.19 0.0004
[/pre]
ODS TRACE and ODS OUTPUT work with any SAS procedure that creates output objects, so if you find that PROC NLIN is not the procedure you need, then you only need to use ODS TRACE ON/OFF around your new procedure to find out the names of the output objects.
In addition, if you have SAS 9.2, you can try using the ODS GRAPHICS ON/OFF statements around your STAT procedure to see whether there are any automatic graphics associated with your procedure of choice.
cynthia
... View more