+ Reply to Thread
Results 1 to 5 of 5

The functions for Herfindahl index for mass data processing

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    3

    The functions for Herfindahl index for mass data processing

    Dear all,

    I am struggling with a task which asked me to get the HHI index for 506 air transportation routes from the year 1994 to 2012. In other words, I need to calculate the Herfindahl for every route every year. The number under every year is the seats available provided by the operators and the market share should be calculated beforehand. Actually I know how to calculate HHI but it is the first time for me to use Excel for this kind of tasks. I want to know a easiest way (function) to work out it. Here I attach the original data file in excel and I will appreciate it if you can give me several examples for it.

    Thank you very much for your time!

    Best,

    G. Han
    Attached Files Attached Files
    Last edited by G HAN; 10-21-2015 at 12:10 AM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,437

    Re: The functions for Herfindahl index for mass data processing

    Since you cannot assume that we know how to calculate a Herfindahl index, I would suggest that you explain to us how you would calculate the herfindahl index outside of Excel. Once we understand how to perform the calculation outside of Excel, then we will be in a better position to help you program this calculation in Excel.

    As a new user of Excel, I would suggest that one of your most useful help files will be a list of functions available in Excel: https://support.office.com/en-us/art...rs=en-US&ad=US Just as it is important to learn keywords and statements and such when learning other programming languages, one key element in learning to program spreadsheets is becoming familiar with a spreadsheets functions.

    According to wikipedia, the Herfindahl index is simply the sum of the squares of the market shares of each firm H=sum(marketshare^2). So, it seems that the first step in calculating a Herfindahl index will be to compute the market share of each airline. I expect this will involve some SUMIF() or COUNTIF() functions, depending on how you define market share.

    Once you have market share calculated for each airline, it should be a simple =SUMSQ() function.

    Hopefull that ill help you get started.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    10-20-2015
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    3

    Re: The functions for Herfindahl index for mass data processing

    Dear MrShorty,

    Thank you for your suggestions! The HHI index is a measure of the size of firms in relation to the industry and an indicator of the amount of competition among them. In my case,
    HHI = Sigma [ (the ratio of every operator's seats available every year to all seats available every year x 100) to the power 2] . For instance, if there are two operators running passengers transportation services for route No. 3. in the year 1994 and operator A provided 200 seats in total for this route while operator B provided 300. So the HHI for this year this route is= [(200/200+300)x100]^2 +[300/200+300)x100]^2=1600+3600=5200. If there is only one operator provided seats for a route in a year, the HHI=(1x100)^2=10000.

    Thank you very much for your attention!

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,437

    Re: The functions for Herfindahl index for mass data processing

    So it looks like the first quantity we need is the number of seats supplied by each airline, is that correct? are these the quantities in the Y1994 etc. columns?

    Another feature of Excel (and most database type programs) is a pivot table. A pivot table can take a "database" like this, and summarize it based on your chosen criteria. In the sample file attached, I created a pivot table that summarized Y1994 (year 1994?) by operator code. I have it sum the Y1994 column by operator code, it includes the total at the bottom. Then, if I've understood correctly, market share is each operator total divided by this grand total. The Herfindahl index is computed at the bottom, and is simply the sum of these squared (using the SUMSQ() function).

  5. #5
    Registered User
    Join Date
    10-20-2015
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    3

    Re: The functions for Herfindahl index for mass data processing

    Although it does not seem to be what I want, but I found the pivot table you mentioned very useful. Anyway, thank you very much for your generous help! I should figure it out by myself from now on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Computing Herfindahl
    By b0b020 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-12-2015, 08:53 PM
  2. INDEX(MATCH)) / LOOKUPS Processing Calculator Speed
    By AstToTheRegionalMGR in forum Excel General
    Replies: 1
    Last Post: 02-17-2015, 10:57 AM
  3. Sheet-related processing causes Excel VBA Userform to stop processing Tab/Enter
    By Joaquin M Lopez Muno in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-22-2014, 03:02 PM
  4. Reduce processing time for processing multiple excel sheets
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2014, 09:25 AM
  5. [SOLVED] Financial Formula Data Processing - multiple logic functions in one
    By spikesplayfood in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-11-2012, 02:21 PM
  6. calculating a herfindahl
    By cj21 in forum Excel General
    Replies: 4
    Last Post: 09-28-2011, 06:17 AM
  7. [SOLVED] VBA- body mass index cal
    By dziw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2007, 09:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1