* MatrixSpring Example -- source code file spring-matrix.sas; options linesize=70 nodate; data spring; input disp force @@; label disp=Displacement force=Force; datalines; 0 0 1 49 2 101 3 149 4 201 ; proc print; * Model 1: Regression through the origin Show means, USS, Variances, and SDs; proc reg simple corr data=spring; * Show confidence limits for regression parameter estimates, X-transpose X and its inverse, residuals, and predicted values; model force = disp / noint xpx i r p clm cli; * Mode1 2: Regression through the origin Show means, USS, Variances, and SDs; proc reg simple corr data=spring; * Show confidence limits for regression parameter estimates, X-transpose X and its inverse, residuals, and predicted values; model force = disp / xpx i r p clm cli; run; quit;