作者lymn (牠有弯弯尾巴跟温暖的心)
看板Statistics
标题[问题] stata的语法
时间Sun Mar 24 10:08:16 2013
最近尝试用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