专栏名称: momo
Stata+R,从入门到提高
今天看啥  ›  专栏  ›  momo

Stata学习:如何构建国家空气污染死亡率变量?

momo  · 知乎专栏  ·  · 2024-05-19 09:49
    

文章预览

前情回顾 清洗数据 import delim death - rate - from - air - pollution - per - 100000 , clear drop e drop if mi ( c ) ren c code3 ren d AirPollDeath replace A = A / 10 ^ 5 la var c 国家地区三位码 la var A 国家空气污染死亡率 sa 国家空气污染死亡率 , replace d ta y kdensity A 得到结果 Contains data from 国家空气污染死亡率.dta Observations: 6,150 Variables: 3 19 May 2024 09:48 ------------------------------------------------------------------------------- Variable Storage Display Value name type format label Variable label ------------------------------------------------------------------------------- code3 str8 %9s 国家地区三位码 year int %8.0g Year AirPollDeath float %9.0g 国家空气污 ………………………………

原文地址:访问原文地址
快照地址: 访问文章快照
总结与预览地址:访问总结与预览