【发布时间】:2014-06-11 12:27:17
【问题描述】:
使用Stata的describe(docs)时:
sysuse auto
d
我得到以下输出:
Contains data from /usr/local/stata13/ado/base/a/auto.dta
obs: 74 1978 Automobile Data
vars: 12 13 Apr 2013 17:45
size: 3,182 (_dta has notes)
----------------------------------------------------------------------------------------------------------------------------
storage display value
variable name type format label variable label
----------------------------------------------------------------------------------------------------------------------------
make str18 %-18s Make and Model
price int %8.0gc Price
mpg int %8.0g Mileage (mpg)
rep78 int %8.0g Repair Record 1978
headroom float %6.1f Headroom (in.)
trunk int %8.0g Trunk space (cu. ft.)
weight int %8.0gc Weight (lbs.)
length int %8.0g Length (in.)
turn int %8.0g Turn Circle (ft.)
displacement int %8.0g Displacement (cu. in.)
gear_ratio float %6.2f Gear Ratio
foreign byte %8.0g origin Car type
----------------------------------------------------------------------------------------------------------------------------
Sorted by: foreign
是否可以从显示的结果中删除value label?
【问题讨论】:
-
如果您想查看除值标签名称之外的所有内容,这是可编程的,但我认为无法通过选项选择来实现。请注意,
describe是命令,而不是函数。 -
@NickCox 感谢您输入尼克。我以前很怕那个。如果我能自己编程的话,我会看看。
-
@NickCox 请将您的评论变成答案,以便我接受。
标签: stata