|
文献来源
参考马丽梅和张晓(2014)、Hao和Deng(2019)、李兰冰和李焕杰(2021)的做法,定义能源消费结构为8个高耗煤行业总产值占地区生产总值比重,用于表征煤炭在能源消耗总量中占比的间接指标。行业名单为:
- 电力、热力的生产和供应业
- 石油加工、炼焦及核燃料加工业
- 黑色金属冶炼及压延加工业
- 非金属矿物制品业
- 煤炭开采和洗选业
- 化学原料及化学制品制造业
- 有色金属冶炼及压延加工业
- 造纸及纸制品业
- 李兰冰,李焕杰.技术创新、节能减排与城市绿色发展[J].软科学,2021,35(11):46-51.
- 马丽梅,张晓.中国雾霾污染的空间效应及经济、能源结构影响[J].中国工业经济,2014(04):19-31.
- Hao, X., & Deng, F. (2019).The marginal and double threshold effects of regional innovation on energy consumption structure: Evidence from resource-based regions in China. Energy Policy, 131, 144–154.
数据来源
国泰安。
- 下载表名 分省份国内生产总值
- 数据区间 1952 至 2021
- 选择代码 全部代码
- 输出类型 Excel2007格式(*.xlsx)
- 选择字段 年度标识[Sgnyea] 省份编码[Prvcnm_id] 省份名称[Prvcnm] 地区生产总值[Gdp0101]
- -
- 下载表名 分省份行业概况年度文件
- 数据区间 1999 至 2020
- 选择代码 全部代码
- 输出类型 Excel2007格式(*.xlsx)
- 选择字段 年度标识[Yeasgn] 行业代码[Indcd] 行业名称[Indnme] 省份编码[Provsgn] 省份名称[Provnm] 工业总产值[Grsidsov]
清洗数据
cap pr drop A
pr def A
cd "D:\Download"
qui{
foreach var of varlist * {
label variable `var' "`=`var'[1]'"
replace `var' = "" if _n == 1
destring `var' , replace
}
drop in 1/2
cap rename Provsgn Prvcnm_id
cap rename Sgnyea year
cap rename Yeasgn year
}
destring y *id G, force replace
compress
end
import excel "D:\Download\分省份国内生产总值132919190\CRE_Gdp01.xlsx", sheet("sheet1") firstrow clear
A
save GDP, replace
import excel "D:\Download\分省份行业概况年度文件140026175\IND_Indstsvybs.xlsx", sheet("sheet1") firstrow clear
A
merge m:1 y *_id using GDP, nogen keep(1 3) keepus(G*)
drop if Prvcnm_id < 100000
drop if Gr == .
* 换算单位(千元→亿元)
replace Gr = Gr / 10^5
* 采用正反字段识别
cap drop f*
g f = 0
foreach i in 生产和供应 石油加工 炼焦 核燃料加工 黑色金属冶炼 非金属矿物制品业 煤炭开采 化学制品制造 有色金属冶炼及 有色金属冶炼和{
replace f = 1 if regexm(Indnme, &#34;`i&#39;&#34;)
}
foreach i in 煤气 蒸汽 自来水 水的 燃气生 其他 制浆{
replace f = 0 if regexm(Indnme, &#34;`i&#39;&#34;)
}
tabu Indnme if f == 1
* 聚合计算
g v = f*Gr
bys y *id: egen T = sum(v)
g 能源消费结构 = T / Gdp
keep y P* 能
duplicates drop
tabstat 能, by(y) s(N mean sd min p25 p50 p75 max) c(s)
save 能源消费结构, replace得到结果
存在的问题是,数据库中只到2011年。要获得完整数据,还需要其他数据库的补充或者查阅年鉴。
Summary for variables: 能源消费结构
Group variable: year (年度标识)
year | N Mean SD Min p25 p50 p75 Max
---------+--------------------------------------------------------------------------------
1999 | 31 .2303441 .1299486 .0283021 .1581819 .1937547 .2658731 .6982258
2000 | 31 .2482602 .1331882 .0275768 .1593407 .2032794 .2887702 .6885576
2001 | 31 .2417246 .1245541 .021614 .1664839 .214493 .2843424 .6371995
2002 | 31 .2444036 .1307374 .0273966 .1682772 .2178928 .3039857 .7226028
2003 | 31 .3220424 .1556212 .055331 .2449177 .268007 .3841191 .8865177
2004 | 31 .431421 .2091159 .0502707 .3229562 .3553068 .5264365 1.162725
2005 | 31 .4614047 .2257187 .053286 .3415508 .3989596 .5511087 1.265949
2006 | 31 .5029863 .235548 .0513956 .3620664 .4610852 .596131 1.323645
2007 | 31 .5463927 .249685 .0411841 .3840767 .4706053 .672224 1.429197
2008 | 31 .5878292 .2732724 .0389807 .4184546 .5061065 .7177306 1.614644
2009 | 31 .5596545 .2427409 .0433067 .3907818 .5223473 .7138202 1.383909
2010 | 31 .6017716 .2527 .0466538 .4235756 .5651178 .7611089 1.453746
2011 | 31 .631622 .2700625 .0422083 .4522904 .6068345 .8093249 1.495112
---------+--------------------------------------------------------------------------------
Total | 403 .4315274 .2548095 .021614 .248115 .3841191 .5786575 1.614644
------------------------------------------------------------------------------------------(完) |
|