-
Notifications
You must be signed in to change notification settings - Fork 0
/
202course_analyse_lz.sas
242 lines (218 loc) · 11.1 KB
/
202course_analyse_lz.sas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
%include 'E:\Tibet\data\990dm.txt';
%cre_lib(tibet,E:\Tibet\data\lib);
%cre_dir(E:\Tibet\data\out\lz);
ods listing close;
ods html file="E:\Tibet\data\out\lz\lz.xls" ;
ods noproctitle;
********************** distribution ;
%include 'E:\Tibet\data\901distribution.txt';
%distribution(tibet.lz,
zcj,
理科综合,
five.);
********************** basic_analyse ;
%include 'E:\Tibet\data\905basic_analyse.txt';
%basic_analyse(
tibet.lz,
dqmc,地区,
zcj);
%basic_analyse(
tibet.lz,
xbmc,性别,
zcj);
%basic_analyse(
tibet.lz,
mzmc,民族,
zcj);
%basic_analyse(
tibet.lz,
kslbmc,考生类别,
zcj);
%basic_analyse(
tibet.lz,
zxmc,学校,
zcj);
********************** effective score ;
%include 'E:\Tibet\data\906effective_score.txt';
%effective_score(
tibet.lz,
sxlbmc,
klmc,
zcj,
minzu
);
********************** nearby students ;
%include 'E:\Tibet\data\907nearly_stu.txt';
%linjie(tibet.zf,lz);
********************** items analyse;
%include 'E:\Tibet\data\902item_analyse.txt';
%item_analyse(
tibet.lz,
zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t33_331 t33_332 t34_341 t34_342
t35_351 t35_352 t36_361 t36_362 t36_363 t36_364 t36_365 t36_366 t36_367
t37_371 t37_372 t37_373 t37_374 t37_375 t38_381 t38_382 t38_383 t38_384 t38_385
t39_391 t39_392 t39_393 t40_401 t40_402 t40_403
,
tibet.lz_items
);
********************** multichoice ;
%include 'E:\Tibet\data\903multichoice.txt';
%multichoice(
tibet.lz,
xzt_xx1 xzt_xx2 xzt_xx3 xzt_xx4 xzt_xx5 xzt_xx6
xzt_xx7 xzt_xx8 xzt_xx9 xzt_xx10 xzt_xx11 xzt_xx12
xzt_xx13 xzt_xx14 xzt_xx15 xzt_xx16 xzt_xx17 xzt_xx18
xzt_xx19 xzt_xx20 xzt_xx21 ,
21); ******最后一个参数为选择题数量;
********************** nandu_xindu ;
%include 'E:\Tibet\data\904reliability.txt';
data tmp33;
set tibet.lz ;
if t101a=33;
run;
data tmp34;
set tibet.lz ;
if t101a=34;
run;
data tmp35;
set tibet.lz ;
if t101a=35;
run;
%nandu(tmp33, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t33_331 t33_332
t36_361 t36_362 t36_363 t36_364 t36_365 t36_366 t36_367
t37_371 t37_372 t37_373 t37_374 t37_375 t38_381 t38_382 t38_383 t38_384 t38_385
t39_391 t39_392 t39_393 t40_401 t40_402 t40_403
, t40_403, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
%nandu(tmp34, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t34_341 t34_342
t36_361 t36_362 t36_363 t36_364 t36_365 t36_366 t36_367
t37_371 t37_372 t37_373 t37_374 t37_375 t38_381 t38_382 t38_383 t38_384 t38_385
t39_391 t39_392 t39_393 t40_401 t40_402 t40_403
, t40_403, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
%nandu(tmp35, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322
t35_351 t35_352 t36_361 t36_362 t36_363 t36_364 t36_365 t36_366 t36_367
t37_371 t37_372 t37_373 t37_374 t37_375 t38_381 t38_382 t38_383 t38_384 t38_385
t39_391 t39_392 t39_393 t40_401 t40_402 t40_403
, t40_403, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
data tmp36;
set tibet.lz ;
if t201a=36;
run;
data tmp37;
set tibet.lz ;
if t201a=37;
run;
data tmp38;
set tibet.lz ;
if t201a=38;
run;
%nandu(tmp36, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t33_331 t33_332 t34_341 t34_342
t35_351 t35_352 t36_361 t36_362 t36_363 t36_364 t36_365 t36_366 t36_367
t39_391 t39_392 t39_393 t40_401 t40_402 t40_403
, t40_403, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
%nandu(tmp37, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t33_331 t33_332 t34_341 t34_342
t35_351 t35_352
t37_371 t37_372 t37_373 t37_374 t37_375
t39_391 t39_392 t39_393 t40_401 t40_402 t40_403
, t40_403, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
%nandu(tmp38, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t33_331 t33_332 t34_341 t34_342
t35_351 t35_352 t38_381 t38_382 t38_383 t38_384 t38_385
t39_391 t39_392 t39_393 t40_401 t40_402 t40_403
, t40_403, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
data tmp39;
set tibet.lz ;
if t301a=39;
run;
data tmp40;
set tibet.lz ;
if t301a=40;
run;
%nandu(tmp39, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t33_331 t33_332 t34_341 t34_342
t35_351 t35_352 t36_361 t36_362 t36_363 t36_364 t36_365 t36_366 t36_367
t37_371 t37_372 t37_373 t37_374 t37_375 t38_381 t38_382 t38_383 t38_384 t38_385
t39_391 t39_392 t39_393
, t39_393, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
%nandu(tmp40, zcj,
xzt_fs1 xzt_fs2 xzt_fs3 xzt_fs4 xzt_fs5
xzt_fs6 xzt_fs7 xzt_fs8 xzt_fs9 xzt_fs10
xzt_fs11 xzt_fs12 xzt_fs13 xzt_fs14 xzt_fs15
xzt_fs16 xzt_fs17 xzt_fs18 xzt_fs19 xzt_fs20
xzt_fs21 t22_221 t22_222 t23_231 t23_232 t23_233 t24
t25_251 t25_252 t26_261 t26_262 t26_263 t26_264 t27_271 t27_272 t27_273
t28_281 t28_282 t28_283 t28_284 t29_291 t29_292 t30_301 t30_302 t30_303
t31_311 t31_312 t31_313 t32_321 t32_322 t33_331 t33_332 t34_341 t34_342
t35_351 t35_352 t36_361 t36_362 t36_363 t36_364 t36_365 t36_366 t36_367
t37_371 t37_372 t37_373 t37_374 t37_375 t38_381 t38_382 t38_383 t38_384 t38_385
t40_401 t40_402 t40_403
, t40_403, tibet.lz_items,75);****** 选做题; ******最后一个参数为选做题分值;
ods html close;
********************** knowledge_skill;
%include 'E:\Tibet\data\908knowledge.txt';
ods rtf file="E:\Tibet\data\out\lz\knowledge.rtf ";
%knowledge(tibet.lz, tibet.lz_items, lz, 理科综合, zhishi);
%knowledge(tibet.lz, tibet.lz_items, lz, 理科综合, nengli);
ods rtf close;
ods listing;