* Required macros: 'est_srs', 'ratio', 'regr', and 'diff'; data prob61 ; input tree basalarea volume @@ ; cards ; 1 .3 6 2 .5 9 3 .4 7 4 .9 19 5 .7 15 6 .2 5 7 .6 12 8 .5 9 9 .8 20 10 .4 9 11 .8 18 12 .6 13 ; proc print data = prob61 ; proc sgplot data = prob61 ; scatter x=basalarea y=volume; run ; %est_srs(sample=prob61,npop=250,response=volume,param=total) ; %ratio(sample=prob61,npop=250,response=volume,param=total,x=basalarea,tau_x=75) ; %regr(sample=prob61,npop=250,response=volume,param=total,x=basalarea,tau_x=75) ; %diff(sample=prob61,npop=250,response=volume,param=total,x=basalarea,tau_x=75) ;