討論串sas分組加總問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者timlight36 (阿光)時間12年前 (2012/01/28 13:06), 編輯資訊
1
0
0
內容預覽:
程式類別]:. [程式問題]:. SAS處理分組加總與輸出. [軟體熟悉度]:. 新手(1個禮拜). [問題敘述]:. 各位前輩好. 我有一份資料. date time type strike qnty(數量). 20060102 0845 c 5000 2. . . . . .. . . . .
(還有494個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者tew (咖啡王子)時間12年前 (2012/01/28 13:53), 編輯資訊
1
0
0
內容預覽:
兩種做法 不過初學者 我就不用 sql. proc sort data=你算好total_qnty的檔案;by date descending total_qnty;. run;. data a;. set yoursortdata;by date;. if first.date;. run;. 這

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者timlight36 (阿光)時間12年前 (2012/01/28 14:21), 編輯資訊
0
0
0
內容預覽:
目前程式. proc sort data=test1;. by date ;. run;. proc means data=test1 N sum;. var qnty;. class type strike;. by date;. output out=summation1 sum=total_q
首頁
上一頁
1
下一頁
尾頁