楼主: shinelynne
2618 14

STATA代码,求高人指点 [推广有奖]

11
shinelynne 发表于 2012-10-16 20:54:21
sungmoo 发表于 2012-10-16 20:39
r(max)若有意义,前面须有其他命令。
具体什么命令呢?

12
大白菜2012 发表于 2012-10-16 21:56:32
shinelynne 发表于 2012-10-16 20:54
具体什么命令呢?
see this,

sysuse auto,clear

qui summ mpg
local n = r(max)
forval x=1 (10) `n' {
di `x'
}
元芳,侬怎么L00K?

13
shinelynne 发表于 2012-10-16 23:07:53
大白菜2012 发表于 2012-10-16 21:56
see this,

sysuse auto,clear
I understand this. But....still can not run the codes I wrote. I've checked for many many times....../(ㄒoㄒ)/~

14
大白菜2012 发表于 2012-10-16 23:28:14
shinelynne 发表于 2012-10-16 23:07
I understand this. But....still can not run the codes I wrote. I've checked for many many times... ...
得,要不你把set trace on 之后,出错的那一段粘上来,给大家看看
元芳,侬怎么L00K?

15
shinelynne 发表于 2012-10-17 14:55:50
大白菜2012 发表于 2012-10-16 23:28
得,要不你把set trace on 之后,出错的那一段粘上来,给大家看看
似乎是数据本身的问题。重新整理了数据后又可以了。好囧。。。谢谢大家 有问题会再来请教的

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-30 04:05