metacat/test/stats/querydata.sas @ 8801
1 |
OPTIONS LS=78 NOCENTER; |
---|---|
2 |
LIBNAME data '.'; |
3 |
FILENAME qdata './querydata.csv'; |
4 |
|
5 |
DATA ONE; |
6 |
INFILE qdata DLM=',' TRUNCOVER; |
7 |
INPUT nodes depth index nested hits searched; |
8 |
|
9 |
DATA two; |
10 |
LENGTH method $ 8; |
11 |
SET one; |
12 |
rename index=qtime; |
13 |
method='index'; |
14 |
DATA three; |
15 |
LENGTH method $ 8; |
16 |
SET one; |
17 |
rename nested=qtime; |
18 |
method='nested'; |
19 |
|
20 |
DATA four; |
21 |
SET two three; |
22 |
DROP index nested; |
23 |
|
24 |
PROC PRINT; |
25 |
|
26 |
PROC SORT; |
27 |
BY method nodes depth hits searched; |
28 |
|
29 |
PROC GLM; |
30 |
CLASSES method; |
31 |
MODEL qtime = method nodes depth searched; |
32 |
QUIT; |
33 |
|
34 |
PROC PLOT; |
35 |
PLOT qtime*depth; |
36 |
PROC PLOT; |
37 |
PLOT qtime*nodes; |
38 |
PROC PLOT; |
39 |
PLOT qtime*searched; |
40 |
|
41 |
RUN; |
- « Previous
- 1
- 2
- 3
- Next »