回複:回複:親愛的SAS 互助組的朋友們,請幫幫忙

來源: BDL 2010-07-13 17:36:03 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (527 bytes)
回答: 親愛的SAS 互助組的朋友們,請幫幫忙Janezhu2010-07-13 15:22:55
It seems the dataset was sorted by name and date.

If this is the case, take average in the first step, then delete the first date for each name and take average, and so on...

You can take out the date as a table separately if it's complicated, use it to control the delete and average process. The whole procedure can be done in PROC SQL. This is the idea you have to use if it's not in SAS but in a general database application. This is also the idea the modern program uses in Web design and interface design.

所有跟帖: 

proc sql? I'll try it, thank you very much! -Janezhu- 給 Janezhu 發送悄悄話 (0 bytes) () 07/13/2010 postreply 18:44:27

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”