stata中变量的使用
1、用list make weight 显示数据

3、用replace命令replace weight=weight/1000

5、list中nolabel参数的使用。list make foreign price predprice,nobel步骤4中foreign 显示为domestic和foreign,而步骤5中foreign 显示为0和1

7、显示自定义变量.list make foreign where

9、定义model变量和modelwhere变量 gen model =usubstr(make,ustrpos(make,"")+1,.) gen modelwhere =model +" " + where

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:27
阅读量:49
阅读量:89
阅读量:44
阅读量:45