[問題] stata下變數為string

看板Statistics作者 (微笑台灣)時間16年前 (2009/10/22 17:33), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
如果是跟統計軟體有關請重發文章 如果跟論文有關也煩請您重發文章 文章類別是為了幫助大家搜尋資料與解答,造成不便之處請見諒 我有一個變數reason的型態為 reverse1 reverse2 wrongfact wronglaw otherreason 在stata下 為string 但是因為為string的型態 所以我無法進行分析 請問 要如何 將型態string 改成 int or float 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.109.168.106

10/25 09:08, , 1F
試試看 encode 指令吧
10/25 09:08, 1F
文章代碼(AID): #1Au2RRZP (Statistics)