Proc SGPLOT help

  • Follow


Dear all:

Does anybody know how to obtain  smoothed data points from PROC SGPLOT
with a smoother? I used the penalized beta spline.

Here's my working code:

proc sgplot data=yj.ncsopts;
	pbspline y= bsb8  x=age/legendlabel='pbs bsub8';
	pbspline y= bsb9  x=age/legendlabel='pbs bsub9';
	title2'Boys';
run;

I want to export the smoothed data points from the pb-spline
smoothing, it shows on the plot but I want the data points.

Qs:
	1. How do I obtained the smoothed data points?
	2. Is it possible to obtain an ODS table output of the smoothed
points?

Any ideas?

Thanks,

-Y
0
Reply Yaw 3/2/2011 10:35:06 PM

Can you use PROC TRANSREG to fit the spline?
0
Reply iebupdte (1746) 3/3/2011 2:15:30 PM


1 Replies
568 Views

(page loaded in 0.462 seconds)

Similiar Articles:













7/25/2012 7:46:20 AM


Reply: