請問一個sas的問題 關於百分位數

看板Statistics作者 (下一步呢)時間18年前 (2008/04/26 23:48), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
我的問題如下: 如果用sas先找出我的資料的第30及70百分位數 我的語法如下: proc univariate data=try3 round=0.000001; var aa; by bb; output out=y1 pctlpts=30 70 pctlpre=aa; 上面只能顯示出第30 70百分位數是多少 但又要從y1中把小於第30百分位數或大於第70百分位數的資料輸出 請問有時麼好的方法可以做?? 還是只能看到上面輸出的數值,再用(if aa<p30 then output)的指令去作 p30=數字 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.251.76
文章代碼(AID): #184qxG3Y (Statistics)
文章代碼(AID): #184qxG3Y (Statistics)