Thanks here is the code. Yes I agree the actionset is overall good. Just something about the data. I'm checking for outliers on data coming from a simple exponential forecast from TSModel. There is 469 different by groups all with approx. 880 observations. We run similar workflows on other data and have had no challenges. proc cas;
session casauto;
dataPreprocess.outlier /
table={name="forecast"
caslib="casuser"
groupby={"unique_id"}
}
inputs={"Error"}
method= "IQR"
treatment = "trim"
outVarsNamePrefix=""
outVarsNameSuffix="excl_Outl"
countOutliers="True"
arguments={ scaleMultiplier=1.5 }
copyVars = {"unique_id" , "ACTUAL", "PREDICT", "ERROR", "prdate"}
casout = {caslib="casuser" name="new_withoutl" replace= true}
casOutOutlierInformation={caslib="casuser" name="OutlierStat" replace=True}
;
run; The log writes as this 84 proc cas; 85 session casauto; 86 dataPreprocess.outlier / 87 table={name="forecast" 88 caslib="casuser" 89 groupby={"unique_id"} 90 } 91 inputs={"Error"} 92 method= "IQR" 93 treatment = "trim" 94 outVarsNamePrefix="" 95 outVarsNameSuffix="excl_Outl" 96 countOutliers="True" 97 arguments={ scaleMultiplier=1.5 } 98 copyVars = {"unique_id" , "ACTUAL", "PREDICT", "ERROR", "prdate"} 99 casout = {caslib="casuser" name="new_withoutl" replace= true} 100 casOutOutlierInformation={caslib="casuser" name="OutlierStat" replace=True} 101 ; 102 run; NOTE: Active Session now casauto. ERROR: The calculation of percentiles did not converge. You might want to adjust the tolerance or the maximum number of iterations. ERROR: The calculation of percentiles did not converge. You might want to adjust the tolerance or the maximum number of iterations. ERROR: The calculation of percentiles did not converge. You might want to adjust the tolerance or the maximum number of iterations. ERROR: The calculation of percentiles did not converge. You might want to adjust the tolerance or the maximum number of iterations. ERROR: The action stopped due to errors. 103 Just switching to zscore as the outlier method everything works.
... View more