Thank you for the reference, SASCom1.
I greatly appreciate it. I attempted to apply the boxcoxar macro to the sample sashelp.air dataset. After reviewing the manual, my understanding is that for this dataset, I should use the dif(1,12) option, as the raw Air data exhibits both trend and seasonal patterns. However, I am uncertain whether to use the default setting for the AR= option or if I should specify it manually. The manual states, "For a process with moving-average terms, a large value for the AR= option might be appropriate," but I am unclear on what constitutes a "large" value. Should I select an AR=p for the raw Air data to ensure the residuals of the fitted model are white noise? I am uncertain about the best approach to selecting these crucial AR options for this macro, especially since the manual states that the transformed series must be a stationary AR(p) process with white noise innovations. But the number of "optimal" lags for the raw Air data may not align with the number of optimal lags for the transformed Air. I use this code for now:
%BOXCOXAR(sashelp.air, Air, DIF=(1,12), AR=2, LAMBDALO=-2, LAMBDAHI=2, NLAMBDA=50,OUT=BoxCox);
... View more