Tips 90:findname列出变量名字
(2012-04-05 18:36:23)
标签:
查找变量财经 |
分类: 数据管理 |
【问题】
有时候,微观调查数据中有很多变量,又记不住。
想按某种类型,看看有哪些变量,这时候怎么办?
【方法】
ssc install findname
【例子】
. findname
All string variables
. findname,
type(string)
. edit `r(varlist)'
All str1, str2, str3, str4 variables
. findname, type(1/4)
All numeric variables
. findname,
type(numeric)
. order `r(varlist)'
. findname,
type(numeric)
. summarize `r(varlist)'