Hi Ferran,
For the custom script i mentioned, you will have to run the script outside of FS as it is not a supported process within FS. EG will do the magic.
Regarding to your second question: For each level of the hierarchy, FS produces a table called OUTSTATSELECT. This table contains the stats (the same set of stats from OUTSTAT table) for all the models considered by FS. the _SELECTED_ column shows which model is selected and the _MODEL_ column shows which model is considered for a particular row. To figure out the exact model being applied, you have to look at the SAS Catalog Autolevmodrep (in the same directory as all the other forecast outputs for each level), and take a look at the model in XML format. For example, you might see HPF0_2 as the value of the _MODEL_ column for a particular row in the OUTSTATSELECT table. You can open the SAS Catalog Autolevmodrep and copen the HPF0_2 entry. You might see something like the following:
<ARIMAXSpec version="1.0" name="HPF0_12" label="ARIMA: sale ~ D = (12) Q = (12) NOINT + INPUT1: Dif(12) EVENT2 + INPUT2: Dif(12) price" systemLabel="ARIMA: sale ~ D = (12) Q = (12) NOINT + INPUT1: Dif(12) EVENT2 + INPUT2: Dif(12) price"
<ExtendedDescription type="GENERALARIMA" source="HPFDIAGNOSE"/
<ARIMAXTable constValue="0" parmSet="0" noIntercept="1"
<EstimationOptions method="CLS" noest="0" converge="0.001" delta="0.001" gridval="0.005" maxiter="50" nols="0" nostable="0" singular="1E-7"/
<DependentInfo symbol="sale"/
<DelayDifference delay="0" numFactors="1"
<DifferenceOrder index="0" value="12"/
</DelayDifference
<Filter numPolynomials="1" type="MA"
<Polynomial index="0" type="SIMPLE" numCoefficients="1"
<Coefficient index="0" degree="12" coefficient="."/
</Polynomial
</Filter
<TransferFunction number="2"
<TFSpec index="0" symbol="EVENT2" type="EVENT"
<DelayDifference delay="0" numFactors="1"
<DifferenceOrder index="0" value="12"/
</DelayDifference
</TFSpec
<TFSpec index="1" symbol="price"
<DelayDifference delay="0" numFactors="1"
<DifferenceOrder index="0" value="12"/
</DelayDifference
</TFSpec
</TransferFunction
</ARIMAXTable
</ARIMAXSpec
This is probably as far as you can get for all the models considered in FS. Unfortunately, FS only produces forecasts for the selected model (to save storage), thus it is not possible to compute custom measures such as DPA for the unselected models.
Hope this helps
Alex