摘要: x是timerisk。texttab是字符,例如Tim(Month), 100mg, Placebo。 legend展示: seriesplot是画出两条线,x y分别是坐标点 第一个scatterplot是画出统计量。lab全是统计量。 第二个scatterplot是画出点。 Stats展示:直接 阅读全文
posted @ 2021-10-05 23:02 Iving 阅读(192) 评论(0) 推荐(0) 编辑
摘要: /*--Fig 4.6.2 Heat map--*/ data GTL_GS_HeatmapParm; drop pi val; pi=constant('Pi'); do x=1 to 20; do y=1 to 10; value=sin(x*pi/10) + cos(y*pi/10); val 阅读全文
posted @ 2021-10-05 22:20 Iving 阅读(154) 评论(0) 推荐(0) 编辑
摘要: dropto = x 从某点向X轴作垂线 referenceline 参考线,水平或者垂直 ods html; proc template; define statgraph _referenceDropline; begingraph; layout overlay / xaxisopts = ( 阅读全文
posted @ 2021-10-05 22:12 Iving 阅读(512) 评论(0) 推荐(0) 编辑
摘要: ods html; proc template; define statgraph _ellipse; begingraph; layout overlay / xaxisopts = (griddisplay = on) yaxisopts = (griddisplay = on); ellips 阅读全文
posted @ 2021-10-05 22:01 Iving 阅读(39) 评论(0) 推荐(0) 编辑
摘要: ods html; proc template; define statgraph _pblineplot; begingraph; layout overlay / xaxisopts = (griddisplay = on) yaxisopts = (griddisplay = on); sca 阅读全文
posted @ 2021-10-05 21:58 Iving 阅读(69) 评论(0) 推荐(0) 编辑
摘要: loessplot 局部多项式拟合, ods html; proc template; define statgraph _loessplot; begingraph; layout overlay / xaxisopts = (griddisplay = on) yaxisopts = (grid 阅读全文
posted @ 2021-10-05 19:52 Iving 阅读(128) 评论(0) 推荐(0) 编辑
摘要: MODELBAND用来画置信区间的,只能和这三个plot一块使用。(LOESSPLOT, REGRESSIONPLOT, or PBSPLINEPLOT) ods html; proc template; define statgraph _regressionplot; begingraph; l 阅读全文
posted @ 2021-10-05 16:38 Iving 阅读(215) 评论(0) 推荐(0) 编辑
摘要: XAXISOPTS = (TYPE = time timeopts = (interval = month)) 指定使用坐标轴的类型,指定坐标轴的间隔 ods html; proc template; define statgraph _boxplot; begingraph; layout ove 阅读全文
posted @ 2021-10-05 15:50 Iving 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 就是比例分布图 ods html; proc template; define statgraph _histogram; begingraph; layout overlay; histogram mpg_city ; endlayout; endgraph; end; run; proc sgr 阅读全文
posted @ 2021-10-05 15:33 Iving 阅读(141) 评论(0) 推荐(0) 编辑
摘要: datatransparency = 0.4 透明度 ods html; proc template; define statgraph _linechart; begingraph; layout overlay / xaxisopts = (display = (ticks tickvalues 阅读全文
posted @ 2021-10-05 15:29 Iving 阅读(90) 评论(0) 推荐(0) 编辑
摘要: innermargin是用在layout overlay或prototype中,去定义一个block plot or axis table。 prototype是用在DATALATTICE|DATAPANEL中定义一个plot structure. /* Create a format for th 阅读全文
posted @ 2021-10-05 14:37 Iving 阅读(310) 评论(0) 推荐(0) 编辑
摘要: groupdisplay = 定义如何显示group,堆积、簇等等。 ods html; proc template; define statgraph _barchart; begingraph / ; entrytitle "a"; layout overlay / xaxisopts = (d 阅读全文
posted @ 2021-10-05 13:53 Iving 阅读(301) 评论(0) 推荐(0) 编辑
摘要: BREAK = TRUE|FALSE 数据中有缺失值时,是显示一条水平线还是空白 JUSTIFY= 数据点直接的连接方式。多使用center。 data GTL_GS_stepGroup; format Date Date9.; do i=0 to 334 by 40; date='01jan200 阅读全文
posted @ 2021-10-05 13:37 Iving 阅读(208) 评论(0) 推荐(0) 编辑
摘要: discretelegend ”name“ / halign = valign = location = border = across = 2 用几列来显示legend sortorder = 按什么顺序排列显示legend title = "" titleattrs = () ; 阅读全文
posted @ 2021-10-05 13:27 Iving 阅读(871) 评论(0) 推荐(0) 编辑
摘要: layout ; plots / orient = horizontal group = 分组展示数据。就是方便不同组之间对比。 name = "name" 给DISCRETELEGEND提供一个名字。就是用来显示legend图例的。 legendlabel = ""定义显示在legend中的lab 阅读全文
posted @ 2021-10-05 12:40 Iving 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 从xorigin > x yorigin > y的合成向量 /*--4_2_9 Data Set VECTOR--*/ data GTL_GS_vector; format label 3.0; do i=1 to 10; x=ranuni(2); xo=x*(1+(ranuni(2)-0.5)); 阅读全文
posted @ 2021-10-05 12:38 Iving 阅读(119) 评论(0) 推荐(0) 编辑
摘要: data GTL_GS_SeriesGroup; format Date Date9.; do i=0 to 334 by 30; date='01jan2009'd+i; if mod (i, 30) =0 then freq=1; else freq=0; Drug='Drug A'; Val 阅读全文
posted @ 2021-10-05 12:34 Iving 阅读(235) 评论(0) 推荐(0) 编辑
摘要: ods html; *DATALABEL = ; proc template; define statgraph _scatter; begingraph; entrytitle "Weight by Height"; layout overlay/xaxisopts = (griddisplay 阅读全文
posted @ 2021-10-05 12:21 Iving 阅读(146) 评论(0) 推荐(0) 编辑
摘要: data GTL_GS_NeedleLabel; format Date Date9.;format a 4.3; do i=0 to 334 by 30; date='01jan2009'd+i; A = 16+ 3*sin(i/90+0.5) + 1*sin(3*i/90+0.7); outpu 阅读全文
posted @ 2021-10-05 12:20 Iving 阅读(110) 评论(0) 推荐(0) 编辑
摘要: DATASKIN: 控制plots的显示,看起来是否更光滑等。 ods html; proc template; define statgraph _bubbleplot; begingraph; layout overlay / xaxisopts = (griddisplay = on) yax 阅读全文
posted @ 2021-10-05 11:54 Iving 阅读(76) 评论(0) 推荐(0) 编辑