Está en la página 1de 12

SAS

BASICO
Giampaolo Orlandoni M. M Josefa Ramoni P.

I tit t d Instituto de E Estadstica t d ti A Aplicada li d Universidad de Los Andes Venezuela l

GRAFICOS SAS
1 Grficos SAS 1.
1. 2 2. 3. 4. GRFICOS : PLOT, CHART GRFICOS : GCHART GCHART, GPLOT GPLOT, Graph-N-Go Analyst Application

2. Mapas en SAS. GMAP


3. ODS

GRAFICOS
Ods

PLOT

y GPLOT

html path = 'C:\DataSas\html' gpath = 'C:\DataSas\graf' file = '6_Plot1.html';

Data Ejercicio; Input Edad Sexo $ Pulso Ejer Aerobic;


datalines; 28 M 86 41 M 76 30 M 78 39 F 90 2 3 2 1 36.6 26.7 33.8 13.6

Proc PLOT data=Ejercicio; PLOT edad*pulso=sexo; Proc GPLOT data=Ejercicio; PLOT edad*pulso=sexo; ; run;

PLOT
Ods

y GPLOT

html path = 'C:\DataSas\html' gpath = 'C:\DataSas\graf' file = '6_Plot1.html'; = '6_Plot2.html'; = '6_Plot3.html'; = '6 6_Plot4.html Plot4 html'; ; = '6_Plot5.html';

file file file file

GRAFICOS CHART \DataSAS\html\6_Chart1.html


Proc CHART data=Ejercicio; vbar edad /type=mean sumvar=pulso group=sexo midpoints=(20 30 40 50); where ejer=1; title1 'Pulso Promedio por Edad y Sexo'; title2 'Ejercicio Grupo 1'; Proc GCHART data=Ejercicio; vbar edad /type=mean sumvar pulso sumvar=pulso group=sexo midpoints=(20 30 40 50); where ejer=1; j title1 'Pulso Promedio por Edad y Sexo'; title2 'Ejercicio Grupo 1';

GRAFICOS CHART

6_Chart2Interactivo.sas

/* GRAFICO INTERACTIVO: (PROC GCHART, ODS, ActiveX) goptions device=activex; proc gchart data=ejercicio; axis1 order=(0 to 20 by 2) label=('N Personas') minor=(number=1) offset=(0,0); axis2 label=('Edad ( ' j j=r 'Grupo'); p ); hbar3d edad / midpoints=(20 30 40 50) freq freqlabel='Total in Group' title1 'Programa Ejercicios'; run; title; subgroup=sexo coutline=black; autoref maxis=axis2 raxis=axis1

GRAFICOS AUTOMATICOS SAS


1-Graph-N-Go (SAS/GRAPH ) Click Soluciones Generacin Informes Graph-N-Go Click el Icono New SAS Data Set y seleccionar la data para el grfico. Click el Icono del tipo de plot y moverlo al campo de trabajo Doble Click el objeto plot, seleccionar la fuente de datos como la data modelo, y especificar las variables y opciones del plot. plot 2-Analyst Application (SAS/GRAPH y SAS/STAT) Click Solutions Analysis Analyst. Click File Open by SAS Name para agregar data. Click Graphs requerido. y seleccionar el tipo de plot

MAPAS

SAS

Mapas1 Mapa: \DataSAS\html\6_Mapa1.html

ODS
ODS SELECT ODS ODS GRAPHICS ON OFF ODS HTML PDF RTF

SAS

Ods_Listados.sas

ANLISISDEDATOSEXPLORATORIOS.

También podría gustarte