Project

General

Profile

« Previous | Next » 

Revision 718

Added by Matt Jones about 23 years ago

modified analysis to add query_method (index or nested) as a
factor in the GLM.

View differences:

querydata.sas
6 6
  INFILE qdata DLM=',' TRUNCOVER;
7 7
  INPUT nodes depth index nested hits searched;
8 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

  
23
PROC PRINT;
24

  
9 25
PROC SORT;
10
  BY nodes depth hits searched;
26
  BY method nodes depth hits searched;
11 27

  
12 28
PROC GLM;
13
  MODEL index = nodes depth searched;
29
  CLASSES method;
30
  MODEL qtime = method nodes depth searched;
14 31
QUIT;
15 32

  
16
PROC GLM;
17
  MODEL nested = nodes depth searched;
18
QUIT;
19

  
20 33
PROC PLOT;
21
  PLOT index*depth;
34
  PLOT qtime*depth;
22 35
PROC PLOT;
23
  PLOT index*nodes;
36
  PLOT qtime*nodes;
24 37
PROC PLOT;
25
  PLOT index*searched;
26
  
38
  PLOT qtime*searched;
39
 
27 40
RUN;

Also available in: Unified diff