Professional Documents
Culture Documents
Taller 1:
RESULTADOS DE SAS Y R:
Mtodo
X
Y
Z
TABLA 1
Velocidad
700 850 820 640 920
480 460 500 570 580
500 550 480 600 610
SSE=
METODO
X
Y
Z
SST=
A
B
B
Mean
786
518
548
SD
113.929803
54.037024
58.051701
SSA=
N
5
5
5
Valor F
16.78 (3)/(4)
Pr > F
0.0003
NPALA Mean
617.33333333
Tukey Grouping
Mean
786.00
548.00
518.00
N METODO
5 X
5 Z
5 Y
A
B
B
Grfico 1
Grfico 2
Mean
786.00
548.00
518.00
N
5
5
5
METODO
X
Z
Y
GRAFICO Q-Q
Pr > F
Programa en SAS
/* Cody, R. Smith,J.K. Applied Statistical and the Programing Language
Printice Hall*/
GOPTIONS cback=white colors=(black black black)
Ftext=simplex ftitle=simplex htitle=1.2 htext=1.1;
OPTIONS pagesize=90 ls=172 nodate nonumber nocenter; run;
/* Lectura de las observaciones: definicin del archivo datos1*/
title 'Comparacion entre metodos de lectura rapida';
DATA datos1;
input metodo $ @;
do obs=1 to 5;
input npala @;
output;
end;
cards;
X 700 850 820 640 920
Y 480 460 500 570 580
Z 500 550 480 600 610
;
run;
/* Grafica de cajas e intervalos de confianza por nivel del factor: metodo */
title 'Velocidad de lectura vs metodo';
PROC GPLOT data=datos1;
plot npala*metodo=1/FRAME;
plot npala*metodo=2/FRAME;
symbol1 i=box v=star c=black;
symbol2 i=stdj v=star c=black h=.4;
run;
/* Construccin de la tabla anova y obtencin de medias estadsticamente iguales por diferentes criterios */
PROC ANOVA data=datos1;
classes metodo;
model npala=metodo;
means metodo;
means metodo/duncan tukey;