The SASEHAVR Interface Engine |
Example 35.4 Viewing Weekly Time Series from a HAVER Database
An example of weekly data spanning September 1, 2004, to December 31, 2004, is shown in Output 35.4.1.
libname lib1 sasehavr "%sysget(HAVER_DATA)"
freq=weekly
start=20040901
end=20041231;
data hwoutw;
set lib1.haverw;
run;
title1 'HAVER Analytics Database, Frequency=weekly, infile=haverw.dat';
title2 ' Define a range inside the data range for OUT= dataset';
title3 ' Using the START=20040901 END=20041231 LIBNAME options.';
proc print data=hwoutw;
run;
Output 35.4.1
Defining a Range Inside the Data Range for Weekly Time Series
29AUG2004 |
7890.0 |
1.39 |
1360.8 |
27.342 |
1.515 |
275.2 |
05SEP2004 |
7906.2 |
1.46 |
1353.7 |
25.213 |
1.580 |
273.7 |
12SEP2004 |
7962.7 |
1.57 |
1338.3 |
25.255 |
1.635 |
250.6 |
19SEP2004 |
7982.1 |
1.57 |
1345.6 |
15.292 |
1.640 |
275.8 |
26SEP2004 |
7987.9 |
1.56 |
1359.7 |
15.068 |
1.685 |
282.7 |
03OCT2004 |
7949.5 |
1.54 |
1366.0 |
21.549 |
1.710 |
279.6 |
10OCT2004 |
7932.4 |
1.56 |
1362.3 |
17.183 |
1.685 |
338.7 |
17OCT2004 |
7956.9 |
1.59 |
1350.1 |
17.438 |
1.680 |
279.8 |
24OCT2004 |
7957.3 |
1.63 |
1346.0 |
12.133 |
1.770 |
317.6 |
31OCT2004 |
7967.6 |
1.75 |
1362.7 |
21.322 |
1.855 |
305.5 |
07NOV2004 |
7954.1 |
1.84 |
1350.4 |
22.028 |
1.950 |
354.8 |
14NOV2004 |
8009.7 |
1.89 |
1354.8 |
25.495 |
2.045 |
311.9 |
21NOV2004 |
7938.3 |
1.93 |
1364.5 |
24.000 |
2.075 |
356.0 |
28NOV2004 |
8053.4 |
1.99 |
1381.3 |
24.424 |
2.155 |
320.7 |
05DEC2004 |
8010.7 |
2.05 |
1379.3 |
21.862 |
2.195 |
472.7 |
12DEC2004 |
8054.8 |
2.08 |
1355.1 |
22.178 |
2.210 |
370.6 |
19DEC2004 |
8019.2 |
1.98 |
1358.3 |
12.066 |
2.200 |
374.7 |
26DEC2004 |
7995.5 |
1.89 |
1366.3 |
12.787 |
2.180 |
446.6 |