Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The X11 Procedure

Adjustment for Prior Factors

Suppose now that a strike at ZXY Company during July and August of 1988 caused sales to decrease an estimated 50%. Since this is a one-time event with a known cause, it is appropriate to prior adjust the data to reflect the effects of the strike. This is done in PROC X11 through the use of PMFACTOR= varname (Prior Monthly FACTOR) on the MONTHLY statement.

In the following example, the PMFACTOR variable is named PMF. Since the estimate of the decrease in sales is 50%, PMF has a value of 50.0 for the observations corresponding to July and August, 1988, and a value of 100.0 for the remaining observations.

This prior adjustment to SALES is performed to SALES by computing comp (SALES/PMF) * 100.0. A value of 100.0 for PMF leaves SALES unchanged, while a value of 50.0 for PMF doubles SALES. This value is the estimate of what SALES would have been without the strike. The following example shows how this prior adjustment is accomplished.

   data sales; set sales;
      if '01jul1988'd <= date <= '01aug1988'd then pmf = 50;
      else pmf = 100;
   run;
   
   proc x11 data=sales;
      monthly date=date pmfactor=pmf;
      var sales;
      tables a1 a2 a3 d11;
      output out=x11out a1=a1 a2=a2 a3=a3 d11=d11;
   run;

Table A2 contains the prior monthly factors (the values of PMF), and Table A3 contains the prior adjusted series.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.