title "Box-Cox Transformation"; Data radiation; oven+1; do I=1 to 42; one=1; end; input rad; Datalines; 0.15 0.09 0.18 0.10 0.05 0.12 0.08 0.05 0.08 0.10 0.07 0.02 0.01 0.10 0.10 0.10 0.02 0.10 0.01 0.40 0.10 0.05 0.03 0.05 0.15 0.10 0.15 0.09 0.08 0.18 0.10 0.20 0.11 0.30 0.02 0.20 0.20 0.30 0.30 0.40 0.30 0.05 ; proc transreg data=radiation details; title2 'Defaults'; model boxcox(rad / lambda=-2 to 2 by 0.1) = identity(one); run; /* Box-Cox Transformation Defaults The TRANSREG Procedure Transformation Information for BoxCox(rad) Lambda R-Square Log Like -2.0 0.00 6.6086 -1.9 0.00 13.6817 -1.8 0.00 20.6296 -1.7 0.00 27.4408 -1.6 0.00 34.1022 -1.5 0.00 40.5994 -1.4 0.00 46.9169 -1.3 0.00 53.0372 -1.2 0.00 58.9414 -1.1 0.00 64.6087 -1.0 0.00 70.0166 -0.9 0.00 75.1411 -0.8 0.00 79.9565 -0.7 0.00 84.4361 -0.6 0.00 88.5527 -0.5 0.00 92.2795 -0.4 0.00 95.5914 -0.3 0.00 98.4662 -0.2 0.00 100.8863 -0.1 0.00 102.8397 0.0 + 0.00 104.3216 * 0.1 0.00 105.3346 * 0.2 0.00 105.8887 * 0.3 0.00 106.0009 < 0.4 0.00 105.6934 * 0.5 0.00 104.9925 * 0.6 0.00 103.9270 0.7 0.00 102.5262 0.8 0.00 100.8194 0.9 0.00 98.8343 1.0 0.00 96.5970 1.1 0.00 94.1312 1.2 0.00 91.4583 1.3 0.00 88.5974 1.4 0.00 85.5654 1.5 0.00 82.3772 1.6 0.00 79.0461 1.7 0.00 75.5836 1.8 0.00 72.0001 1.9 0.00 68.3046 2.0 0.00 64.5053 < - Best Lambda * - Confidence Interval + - Convenient Lambda Box-Cox Transformation Defaults The TRANSREG Procedure TRANSREG Univariate Algorithm Iteration History for BoxCox(rad) Iteration Average Maximum Criterion Number Change Change R-Square Change Note ------------------------------------------------------------------------ 1 Constant 1 0.00000 0.00000 0.00000 Converged ERROR: Constant transformations during the last iteration. Iteration History Footnotes Iteration Number Note Explanation ------------------------------------------------------------------------------------- 1 Constant A constant transformation was avoided for rad. 1 Converged Algorithm converged. Model Statement Specification Details Type DF Variable Description Value Dep 1 BoxCox(rad) Lambda Used 0.3 Lambda 0.3 Log Likelihood 106.0 Conv. Lambda 0 Conv. Lambda LL 104.3 CI Limit 104.1 Alpha 0.05 Ind 0 Identity(one) Options All Zero */