MATLAB怎么计算赫芬达尔指数,求教:如何用stata计算赫芬达尔指数

该博客介绍了Herfindahl-Hirschman指数(HHI)生成工具,这是一个用于经济学和金融领域的集中度指标。该工具支持多个变量和分组,并能将输出导出为CSV格式的表格。用户可以通过指定变量、分组条件和输出文件选项来使用该工具。作者是Muhammad Rashid Ansari,来自INSEAD商学院。
摘要由CSDN通过智能技术生成

http://fmwww.bc.edu/RePEc/bocode/h/hhi.hlp:

*Version August 2012

--------------------

basic syntax:

hhi var, by(varlist) [if exp] [in range] [outfile, replace]

Description:

hhi generates Herfindahl-Hirschman index variables also commonly known as concentration index in econom

> ics and finance. The module supports multiple variables and group ids and allows user to export outpu

> t in table format (csv comma delimited).

Options

-------

by(varlist): allows multiple groups defined by `varlist' e.g. (year, country, region)

outfile: export data in table format (.csv comma delimited)

Examples:

----------

hhi x1 x2

hhi x1, by (year country region)

hhi x1, by (year country region) outfile

hhi x1 x2 x3, by(year country region)

hhi x1 x2 x3, by(year country region) outfile replace

Author

Muhammad Rashid Ansari

INSEAD Business School

1 Ayer Rajah Avenue, Singapore 138676

rashid.ansari@insead.edu

(remote file ends)

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值