今天看啥  ›  专栏  ›  momo

Stata学习:如何构建面板分位数回归模型?qregpd

momo  · 知乎专栏  ·  · 2024-06-27 08:17

文章预览

文献来源 Ding, T., et al. (2024). An inquiry into the nexus between artificial intelligence and energy poverty in the light of global evidence Appendix A. Supplementary data 【数据+Stata】 下载包 ssc install qregpd, replace ssc install moremata, replace ssc install amcmc, replace 示例代码 cd "C:\Download \1 -s2.0-S0140988324004560-mmc1\Code and Data" use Data , clear xtset id year gl control Gdpg lnUrban lnOpen lnIndustry lnGov lnDen set seed 123 qregpd lnEP lnAI $ control , id ( id ) fix ( year ) quantile ( 0.25 ) /// optimize ( mcmc ) noisy draws ( 1000 ) burn ( 100 ) arate ( . 5 ) 得到结果 Adaptive MCMC optimization ................................................. 50: f(x) = -23.5553865 ................................................. 100: f(x) = -22.208123 ................................................. 150: f(x) = -22.5819652 ................................................. 200: f(x) = ………………………………

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