作者idpena ()
看板Statistics
標題[程式] SAS 單數雙數問題
時間Sun Oct 28 16:06:21 2012
------------------------------------------------------------------------
軟體熟悉度
新手(不到1個月)
[問題敘述]:
想請教一下
要如何在IF THEN的情況下
將單數雙數做區分
gender=.;
if id=__ then gender=0
if id=__ then gender=1
拜託各位大大 我卡在這邊好久了QAQ
-----------------------------------------------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.42.228.186
1F:→ idpena:我好像把內容的系統類別刪掉了-..- 是SAS 10/28 16:07
2F:推 imaltar:所謂單雙數是指甚麼 10/28 17:23
3F:→ idpena:我找到了 用mod的餘數來找 用資料數值/2 餘數為1or0 @@" 10/28 18:22