[問題] stata的語法
最近嘗試用stata的 metan指令跑資料
. insheet using "F:\practice.txt", tab (Import檔案)
(5 vars, 4 obs)
. describe (請軟體描述)
Contains data
obs: 4
vars: 5
size: 104
---------------------------------------------------------------------------------------------------------------------------------------------
storage display value
variable name type format label variable label
---------------------------------------------------------------------------------------------------------------------------------------------
id str10 %10s ID
t1_failurenum~r float %9.0g T1_failure number
t1_toothyear float %9.0g T1_toothyear
c_failurenumber float %9.0g c_failure number
c_toothyear float %9.0g
---------------------------------------------------------------------------------------------------------------------------------------------
Sorted by:
Note: dataset has changed since last saved
. list id t1_failurenum~r t1_toothyear c_failurenumber c_toothyear, clean noobs
id t1_fai~r t1_too~r c_fail~r c_toot~r
2005JD RCS .5 77 .5 77
2000JPD JM 3 69 3 75
2000JD RWW 4 219 5 237
2000COI UP 7 572.4 12 859.9
(列出我的表格)
. metan t1_failurenum~r t1_toothyear c_failurenumber c_toothyear
(跑metan指令)
但是卻一直跑出下面這一段文字
Non integer cell counts found
r(9);
請高手們指點我一下是哪裡出錯了 謝謝T_T
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.167.251.161