iv
ivreghdfe y (x= z)
$cl , absorb ( ) cl()
日期格式
gen month=month(date)
gen year =year(date)
gen monthdate=ym(year,month)
format monthdate %tm
bys使用
bys city monthdate: egen mtem=mean(TEM)
下载
ssc install
分类变量生成数值型
encode 省,gen(prov)