全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
781 0
2022-06-02
软件stata
sysuse nlsw88,clear
global yx "wage hours collgrad ttl_exp"
forvalues i=1/4{
  dis _n(2) in yellow "Occupation== " in green `i'
  reg $yx if occupation==`i'
  est store m`i'
  }

以上代码中 _n(2)是什么意思, in yellow in green这两个是随编写者心情生成的名字嘛?
  dis _n(2) in yellow "Occupation== " in green `i' 这行代码什么意思

变量occupation内容 :  Professional/technical |   Managers/admin |    Sales |     Clerical/unskilled |     Craftsmen |       Operatives  |Transport |   Laborers |     Farmers |      Farm laborers |     Service |        Household workers |   Other |        




二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群