|
[ Home | GAUSS | GAUSS Engine | GAUSS Apps | 3rd Party Apps | Keywords Index ] Transforming the Dependent Variable The Dependent Variable If the time series being analyzed is stored as prices in the dataset, it will be necessary to transform it before analysis. GARCH models are most commonly estimated using annualized log returns. The FANPAC keyword function computeLogReturns calculates where the logarithm is the base 10 (the GAUSS function log() rather than ln()), and
computeLogReturns amzn 250;
The success of the estimation in GARCH models is very dependent on proper scaling of the time series. The optimization will have serious difficulty when numbers are very large or very small and especially when there are both. For best results scale the time series to approximately a zero mean and unit variance. Some investigators may desire percent returns rather than log returns. Percent returns are generated by the keyword command computePercentReturns. For example
computePercentReturns amzn 100;
This keyword command computesFor interpretation as a percent
|