SAS 蜘蛛圖

SAS Day 43: Spider Plot

?? Spider Plot is a powerful graph to visualize the change in percentage for critical values, such as Tumor size, lab values for individual patients over time.

In the graph, each leg of the spider represents an individual patient, the horizontal reference time, Y-axis shows the baseline relative values. It demonstrates the percent change across all desired time range rather than a specified time. However, this method is good for little subjects, if too many subjects it would be too hard to interpret.

[caption id="attachment_2702" align="alignnone" width="500"]
image

adege / Pixabay[/caption]

Example:

We will present the ALT lab value for three patients from day 0 to day 100. In addition, we will try to explore some statistical information from the graph.

image

Sample Code:

ods output;
proc sgplot data=a /*dattrmap=attrmap*/ noautolegend; 
series x=ady y=pchg / lineattrs=(thickness=2) 
group=subjid markers markerattrs=(symbol=circlefilled size=7) transparency=0.3 /*attrid=myid*/; 
refline 0; 
yaxis label="% Change from Baseline" values=(-30 to 420 by 50); 
xaxis label="Days from Baseline" values=(0 to 100 by 20); 
title "ALT Value change from baseline";
run;

Conclusion:

As we can see, the post-treatment is easily compared, the red patient's ALT level stays the relative stable, whereas the blue patient increased about 400% around 100 days.

The spider plot is good to show the qualitative assessment of individual patient percent level change when the total number of patients is small. These plots are less interpretable if a larger number of patients are displayed because it will be difficult to follow the individual lines. In addition, if a patient is dead early in the trial there will be missing information.

The spider plot is famous for telling a story of what happens to each of these responses over time, while the waterfall plot focuses on the best response measure only.

Happy SAS Coding! ??

Reference:
https://www.lexjansen.com/phuse-us/2018/dv/DV08.pdf

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末创倔,一起剝皮案震驚了整個濱河市瘦陈,隨后出現(xiàn)的幾起案子强经,更是在濱河造成了極大的恐慌淆珊,老刑警劉巖,帶你破解...
    沈念sama閱讀 218,284評論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件找筝,死亡現(xiàn)場離奇詭異投队,居然都是意外死亡寝志,警方通過查閱死者的電腦和手機哆料,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,115評論 3 395
  • 文/潘曉璐 我一進店門缸剪,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人东亦,你說我怎么就攤上這事杏节。” “怎么了典阵?”我有些...
    開封第一講書人閱讀 164,614評論 0 354
  • 文/不壞的土叔 我叫張陵奋渔,是天一觀的道長。 經(jīng)常有香客問我壮啊,道長嫉鲸,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,671評論 1 293
  • 正文 為了忘掉前任歹啼,我火速辦了婚禮玄渗,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘狸眼。我一直安慰自己捻爷,他們只是感情好,可當我...
    茶點故事閱讀 67,699評論 6 392
  • 文/花漫 我一把揭開白布份企。 她就那樣靜靜地躺著,像睡著了一般巡莹。 火紅的嫁衣襯著肌膚如雪司志。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,562評論 1 305
  • 那天降宅,我揣著相機與錄音骂远,去河邊找鬼。 笑死腰根,一個胖子當著我的面吹牛激才,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播,決...
    沈念sama閱讀 40,309評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼瘸恼,長吁一口氣:“原來是場噩夢啊……” “哼劣挫!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起东帅,我...
    開封第一講書人閱讀 39,223評論 0 276
  • 序言:老撾萬榮一對情侶失蹤压固,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后靠闭,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體帐我,經(jīng)...
    沈念sama閱讀 45,668評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,859評論 3 336
  • 正文 我和宋清朗相戀三年愧膀,在試婚紗的時候發(fā)現(xiàn)自己被綠了拦键。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 39,981評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡檩淋,死狀恐怖芬为,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情狼钮,我是刑警寧澤碳柱,帶...
    沈念sama閱讀 35,705評論 5 347
  • 正文 年R本政府宣布,位于F島的核電站熬芜,受9級特大地震影響莲镣,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜涎拉,卻給世界環(huán)境...
    茶點故事閱讀 41,310評論 3 330
  • 文/蒙蒙 一瑞侮、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧鼓拧,春花似錦半火、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,904評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至酌住,卻和暖如春店归,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背酪我。 一陣腳步聲響...
    開封第一講書人閱讀 33,023評論 1 270
  • 我被黑心中介騙來泰國打工消痛, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人都哭。 一個月前我還...
    沈念sama閱讀 48,146評論 3 370
  • 正文 我出身青樓秩伞,卻偏偏與公主長得像逞带,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子纱新,可洞房花燭夜當晚...
    茶點故事閱讀 44,933評論 2 355