討論串[程式] SAS如何刪除變數值小於5的觀測值
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓5(5推 0噓 10→)留言15則,0人參與, 最新作者rinchen (加油!加油!!)時間14年前 (2011/05/04 14:12), 編輯資訊
0
0
0
內容預覽:
PROC SQL ;. CREATE TABLE new AS. SELECT *. FROM old. GROUP BY company. HAVING min(count(ta),count(roa)) >=5 ;. QUIT;. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ Fro

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者west1996 (焦了六年變脆了)時間14年前 (2011/05/04 13:23), 編輯資訊
0
0
0
內容預覽:
proc sql;. create table new as. select *. from old. where company not in (. select distinct company. from old. group by company. having min(count(ta),

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者linlowmoon (ya!)時間14年前 (2011/05/04 11:19), 編輯資訊
0
0
0
內容預覽:
請問. 我的資料是panel. 長成下面這樣. company year ta roa. 1 2010 500 0.4. 2009 400 0.5. 2008. 2007. 2006. 2005. 2 2010 500 0.4. 2009 400 0.5. 2008 300 0.4. 2007 20
首頁
上一頁
1
下一頁
尾頁