全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7507 5
2012-05-23
在文献中看到stata中有个ginidesc命令,是专门计算基尼系数的吗?怎么用呢,哪里有介绍?
二维码

扫码加我 拉你入群

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

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

全部回复
2012-5-24 13:40:25
在Stata里输入:
findit ginidesc
就可以找到下载的地方了。
帮助文件:

--------------------------------------------------------------------
help for ginidesc
--------------------------------------------------------------------

Gini index, with within- and between-group inequality decomposition
--------------------------------------------------------------------

ginidesc varname  [[fweights aweights] if exp in range]
        ,bygroup(groupvar) [mat(matname) gkmat(matname)]


This ado-file provides the Gini coefficient for the whole population,
for each subgroup specified in groupvar, and its Pyatt's (1976)
decomposition in between-, overlap- and within-group inequality.
Groupvar is a categorical variable (not string) who determines the
subgroups in which the population will be divided.
It's mandatory that the command ineqdeco (S. P. Jenkins, 1998) are
installed.

Options (Saved results)
------------------------

mat(matname)    Define a 4*2 matrix containing the inequality
                decomposition shown on the table displayed by the
                command.

gkmat(matname)  Define a K*2 matrix containing the values of the ca-
                tegorical variable in the first column, and the co-
                rresponding Gini coefficients in the second one.


Examples
---------

        ginidesc ing, by(educ_al) m(a1) gk(a2)
        
Pyatt's Inequality decomposition

-----------+-----------------------
Desig and |
Grupos    |     Indice       Part.
-----------+-----------------------
DESCOMP.  |
Between   |      0.262      52.472
Overlap   |      0.122      24.476
Within    |      0.115      23.053
-----------+-----------------------
TOTAL     |
Gini      |      0.499     100.000
-----------+-----------------------
Stored in matrix a1
                  
Gini Coefficient by subgroups
of ing
-----------+-----------
        K |     Gini_k
-----------+-----------
        1 |      0.459
        2 |      0.419
        3 |      0.412
        4 |      0.427
-----------+-----------
Stored in matrix a2

Authors
--------

Roger Aliaga y Silvia Montoya <ieeracba@satlink.com>
Instituto de Estudios de la Realidad Argentina y Latinoamericana
(IERAL) - Cordoba - Argentina

References
-----------

Pyatt, G. (1976) "On the Interpretation and Disaggregation of
        Gini Coefficients", The Economic Journal, 86,(June), 243-255.

Also see
---------

ineqdeco
ineqdec0 if installed
ineq if installed
inequal [sg30: STB-23] if installed
二维码

扫码加我 拉你入群

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

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

2013-6-30 16:36:41
houquan 发表于 2012-5-24 13:40
在Stata里输入:
findit ginidesc
就可以找到下载的地方了。
你好,请问求基尼系数的命令是什么,是ginidesc Y, by(Var分组依据)吗?
二维码

扫码加我 拉你入群

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

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

2015-3-11 04:38:44
绿水蓝天 发表于 2013-6-30 16:36
你好,请问求基尼系数的命令是什么,是ginidesc Y, by(Var分组依据)吗?
请问您最后求出基尼系数分解结果了吗,最后能否求得不同群组间的地区内差距和地区间差距,贵求您的指导
二维码

扫码加我 拉你入群

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

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

2019-3-20 10:17:02
zhangyiyiw 发表于 2012-5-23 20:40
在文献中看到stata中有个ginidesc命令,是专门计算基尼系数的吗?怎么用呢,哪里有介绍?
请问一下能介绍一下方法吗
二维码

扫码加我 拉你入群

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

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

2022-7-17 09:22:50
请问是哪篇文献介绍的啊
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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