楼主: zhangyiyiw
7616 5

[程序分享] stata中ginidesc命令 [推广有奖]

  • 7关注
  • 8粉丝

已卖:92份资源

副教授

26%

还不是VIP/贵宾

-

威望
0
论坛币
2835 个
通用积分
1.7378
学术水平
8 点
热心指数
18 点
信用等级
9 点
经验
29330 点
帖子
366
精华
0
在线时间
1017 小时
注册时间
2009-12-9
最后登录
2021-12-30

楼主
zhangyiyiw 发表于 2012-5-23 20:40:04 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
在文献中看到stata中有个ginidesc命令,是专门计算基尼系数的吗?怎么用呢,哪里有介绍?
二维码

扫码加我 拉你入群

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

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

关键词:Stata DESC tata ESC IDE

沙发
houquan 发表于 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
已有 1 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
Sunknownay + 100 + 10 + 1 + 1 + 1 热心帮助其他会员

总评分: 经验 + 100  论坛币 + 10  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

We all love to instruct, though we can teach only what is not worth knowing. -- J. Austen

藤椅
绿水蓝天 发表于 2013-6-30 16:36:41
houquan 发表于 2012-5-24 13:40
在Stata里输入:
findit ginidesc
就可以找到下载的地方了。
你好,请问求基尼系数的命令是什么,是ginidesc Y, by(Var分组依据)吗?
自然的美,无碍着的心

板凳
hl6662006 发表于 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命令,是专门计算基尼系数的吗?怎么用呢,哪里有介绍?
请问一下能介绍一下方法吗

地板
15684135360 发表于 2022-7-17 09:22:50 来自手机
请问是哪篇文献介绍的啊

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-9 14:29