PMA Function (CREATE command)

PMA creates new series based on the prior moving averages of existing series. The prior moving average for each case in the original series is computed by averaging the values of a span of cases preceding it.

Example

CREATE PRIORA = PMA(VARA,3).