X11 Procedure

Example 43.2 Components Estimation—Quarterly Data

(View the complete code for this example.)

This example is similar to Example 43.1, except quarterly data are used. Tables B1, the original series, and D11, the final seasonally adjusted series, are printed by the TABLES statement. The OUTPUT statement writes the listed tables to an output data set.

data quarter;
   input date yyq6. +1 fy35rr 5.2;
   format date yyq6.;
datalines;
1971Q1 6.59

   ... more lines ...   

title 'Quarterly Retail Sales Data (in $1000)';
proc x11 data=quarter;
   var fy35rr;
   quarterly date=date;
   tables b1 d11;
   output out=out b1=b1 d10=d10 d11=d11 d12=d12 d13=d13;
run;

Output 43.2.1: X11 Procedure Quarterly Example

Quarterly Retail Sales Data (in $1000)

The X11 Procedure
 
Seasonal Adjustment of - fy35rr

X-11 Seasonal Adjustment Program
U. S. Bureau of the Census
Economic Research and Analysis Division
November 1, 1968
 
The X-11 program is divided into seven major parts.
Part Description
A. Prior adjustments, if any
B. Preliminary estimates of irregular component weights
and regression trading day factors
C. Final estimates of above
D. Final estimates of seasonal, trend-cycle and
irregular components
E. Analytical tables
F. Summary measures
G. Charts
 
Series - fy35rr
Period covered - 1st Quarter 1971 to 4th Quarter 1976

B1 Original Series
Year1st2nd3rd4thTotal
19716.5906.0106.5106.18025.290
19725.5205.5905.8406.33023.280
19736.5207.3509.24010.08033.190
19749.91011.15012.40011.64045.100
19759.9408.1608.2208.29034.610
19767.5407.4407.8007.28030.060
Avg7.6707.6178.3358.300 

Total: 191.53 Mean: 7.9804 S.D.: 1.9424



Output 43.2.2: X11 Procedure Quarterly Example, Table D11

D11 Final Seasonally Adjusted Series
Year1st2nd3rd4thTotal
19716.8776.2726.2225.95625.326
19725.7625.8365.5836.08923.271
19736.8207.6698.8409.68133.009
197410.37011.65511.85511.16045.040
197510.4188.5347.8537.94734.752
19767.9017.7937.4446.97930.116
Avg8.0257.9607.9667.969 

Total: 191.51 Mean: 7.9797 S.D.: 1.9059



Last updated: June 19, 2025