sarah1223
[s:14] 我的电脑怎么都装不上sas软件!!
不知道有谁可以使用sas软件,帮忙运行一下一下命令:
data example1_1;
input x@@;
t=intnx('quarter','1jan1978'd, _n_-1)
format t yyq4.;
cards;
40777 41778 43160 45897
41947 44061 44378 47237
43315 43396 44843 46835
42833 43548 44637 47107
42552 43526 45039 47940
43740 45007 46667 49325
44878 46234 47055 50318
46354 47260 48883 52065
48527 50237 51592 55152
50451 52294 54633 58802
53990 55477 57840 61978
;
proc x11 data=example1_1;
quarterly date=t;
var x;
output out = out b1 = x d10 = season d11 = adjusted d12 = trend d13 = irr;
data out;
set out;
estimate = trend*season/100;
proc gplot data = out;
plot x*t =1 estimate*t =2/overlay;
[u]plot [/u]adjusted * t =1[u];[/u]
[u]plot[/u] trend * t =1[u];[/u]
plot irr * t = 1;
symbol1 c=black i=join v=star;
symbol2 c=red i=join v=none w=2 l=3;
run;
如果运行不成功,请将有下划线的4个部分删除(2个plot和2个分号)!!谢谢!! 我主要是需要运行出来的G部分--图表!!
谢谢谢谢谢谢了~~~
funlive
format t yyq4.;
这句有问题, 删除这句就可以正常运行 :)
The X11 Procedure
Seasonal Adjustment of - x
G2. Chart For 4th
(X) - D8. Final Unadjusted SI Ratios
(0) - D9. Final SI Ratios Modified for Extremes
(+) - D10. Final Seasonal Factors
(*) - Coincidence of Points
94 96 98 100 102 104 106
. . . . . . .
1979 +*
1980 *+
1981 * +
1982 +*
1983 +*
1984 *
1985 *
1986 X0+
1987 +*
1988 *
1989 +*
. . . . . . .
94 96 98 100 102 104 106
[upload=1]
funlive
很神奇,怎么上传不了附件。。。。。。。
再试一下。。。
[attachment=283]