GPLOT - Interpolation
Reporting & Visualisierung |
Eingetragen von Kapfer. | 15 November, 2007 - 11:46
Hallo,
folgendes Problem bei der Interpolation: "HILO" zeigt mir - in dem Fall wie gewünscht q3 +q1 verbunden - an.
Ich bräuchte das gleiche für die Verlaufsbeobachtung, aber ohne Anzeige des Mittelwertes. Alles andere paßt soweit.
Kann mir jemand weiterhelfen?
Vielen Dank + Grüße,
Tom
Anbei Code
Ods output SUMMARY=crpout;
proc means data = test fw=6 maxdec=2 max q1 q3 median;
var crp;
class time;
run;
ods output close;
proc print data = crpout; run;
*Umformung der Datenstruktur;
DATA crpout2; SET crpout;
wert=crp_median; type=1; OUTPUT;
wert=crp_q1; type=2; OUTPUT;
wert=crp_q3; type=2; OUTPUT;
RUN;
proc print data = crpout2 label ; run;
SYMBOL1 VALUE=dot r=1 C=black INTERPOL = JOIN ; * Verbundene Linie der Mediane ;
SYMBOL2 VALUE=plus R=1 C=black INTERPOL = HILO ; * Verbundene Linie q3 + q1;
axis1 ORDER=(0 to 2 by 0.1) LABEL=('hs-CRP (mg/dl)') ;
axis2 offset=(1cm,1cm) LABEL=none;
PROC GPLOT DATA=crpout2;
PLOT wert *time=type / VAXIS=axis1 HAXIS=axis2 ;*VREF=1 ;
TITLE 'CRP with Median and IQR for Verum-Group';
footnote 'type1 = Median type2 = IQR' ;
run; quit;
proc means data = test fw=6 maxdec=2 max q1 q3 median;
var crp;
class time;
run;
ods output close;
proc print data = crpout; run;
*Umformung der Datenstruktur;
DATA crpout2; SET crpout;
wert=crp_median; type=1; OUTPUT;
wert=crp_q1; type=2; OUTPUT;
wert=crp_q3; type=2; OUTPUT;
RUN;
proc print data = crpout2 label ; run;
SYMBOL1 VALUE=dot r=1 C=black INTERPOL = JOIN ; * Verbundene Linie der Mediane ;
SYMBOL2 VALUE=plus R=1 C=black INTERPOL = HILO ; * Verbundene Linie q3 + q1;
axis1 ORDER=(0 to 2 by 0.1) LABEL=('hs-CRP (mg/dl)') ;
axis2 offset=(1cm,1cm) LABEL=none;
PROC GPLOT DATA=crpout2;
PLOT wert *time=type / VAXIS=axis1 HAXIS=axis2 ;*VREF=1 ;
TITLE 'CRP with Median and IQR for Verum-Group';
footnote 'type1 = Median type2 = IQR' ;
run; quit;
