看板 Statistics 關於我們 聯絡資訊
我跑panel data 下指令 iis idcode 卻出現 varlist: idcode: string variable not allowed 請問這樣是指啥麼 我想要讓 國家為 固定效果 卻只能是時間為固定效果 我少了啥麼步驟嗎 我下的指令為 iis idcode tis year xtset idcode year 出現 varlist: idcode: string variable not allowed xtreg loginflation import firstdifference,fe 出現 must specify panelvar; use xtset 請人告訴我 發生啥麼事情了 感恩 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.119.52.175
bcs:id應該是numeric, 試用讀檔取代貼上資料 12/11 19:25
alexchu:資料型態是字串 電腦無法運算 12/11 21:26
paiyeu:如果我把國家名稱改成 用1,2,3數字來表示 可以嗎 12/11 22:40