24.04.2014 Views

Pratique de Sas Windows ...9.3 Volume 2 - Ined

Pratique de Sas Windows ...9.3 Volume 2 - Ined

Pratique de Sas Windows ...9.3 Volume 2 - Ined

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

*--Aménagement <strong>de</strong> la largeur, nommage du graphique et redéfinition <strong>de</strong> la <strong>de</strong>nsité <strong>de</strong> point<br />

par pouces. Destination Listing ouverte sans ouverture du Graphic Editor --*/<br />

ods graphics / reset width=21 cm height=&heightin<br />

imagename="oddsratioForestPlotColor_V93";<br />

ods listing sge=off style=Styles.ForestColor93 image_dpi=&dpi;<br />

title;<br />

/*--Creation du tracé-- inspiré du co<strong>de</strong> lié à la figure 9.1.8 p242 du livre rouge*/<br />

proc sgplot data=b.oram noautolegend nocycleattrs;<br />

scatter y=effect x=oddsratioest /markerattrs=(size=4pt);<br />

highlow y=effect low=lowercl high=uppercl / type=line;<br />

scatter y=effect x=or / markerchar=oddsratioest x2axis;<br />

scatter y=effect x=lcl / markerchar=lowercl x2axis;<br />

scatter y=effect x=ucl / markerchar=uppercl x2axis;<br />

scatter y=effect x=sig / markerchar=vs x2axis;<br />

refline 1 100 / axis=x;<br />

refline 0.01 0.1 10 / axis=x lineattrs=(pattern=shortdash) transparency=0.5;<br />

inset '<br />

Diminue ' / position=bottomleft;<br />

inset ' Augmente ' / position=bottom;<br />

xaxis type=log offsetmin=0 offsetmax=0.35 min=0.01 max=100 minor display=(nolabel);<br />

x2axis offsetmin=0.7 display=(noticks nolabel);<br />

yaxis display=(noticks nolabel) offsetmin=&pct offsetmax=&pct2 reverse;<br />

run;<br />

qui donnera<br />

La sortie directe GTL <strong>de</strong> la proc logistic était cependant déjà <strong>de</strong> cette qualité !<br />

Après cette rédaction d’août 2012, une page est sortie sur le blog Graphically Speaking :<br />

http://blogs.sas.com/content/graphicallyspeaking/2012/09/30/forest-plot-with-subgroups/<br />

portant sur les Forest Plot with Subgroups. En ce début 2013, il y a eu mise à jour avec <strong>de</strong> nouvelles<br />

possibilités : http://blogs.sas.com/content/graphicallyspeaking/2013/01/06/forest-plot-with-<strong>Sas</strong>-9-3<br />

Par ailleurs, je suis tombé par hasard sur ces vieux précurseurs en 2009 (non retesté) page 33 <strong>de</strong><br />

« TS11 Clinical trial reporting with <strong>Sas</strong> ods graphics » <strong>de</strong> <strong>Sas</strong> institute suisse Pauli et Garbutt<br />

http://www.phusewiki.org/docs/2009 PAPERS/<br />

171 INED Service Informatique Wielki

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!