Project

General

Profile

1 717 jones
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 718 jones
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
23
PROC PRINT;
24
25 717 jones
PROC SORT;
26 718 jones
  BY method nodes depth hits searched;
27 717 jones
28
PROC GLM;
29 718 jones
  CLASSES method;
30
  MODEL qtime = method nodes depth searched;
31 717 jones
QUIT;
32
33
PROC PLOT;
34 718 jones
  PLOT qtime*depth;
35 717 jones
PROC PLOT;
36 718 jones
  PLOT qtime*nodes;
37 717 jones
PROC PLOT;
38 718 jones
  PLOT qtime*searched;
39
40 717 jones
RUN;