7 ms·
as someone with a bit of an economics and official statistics background as well as tech (albeit not in the US), one of my frustrations with visiting hacker new
by ACow_Adonis 5y ago
as someone with a bit of an economics and official statistics background as well as tech (albeit not in the US), one of my frustrations with visiting hacker news are these threads on non-tech topics.
for instance: CPI. how is it calculated?
I haven't downvoted this post, but let's use it as an example.
here's how CPI appears to be calculated: https://www.bls.gov/opub/hom/cpi/calculation.htm https://www.bls.gov/opub/hom/cpi/calculation.htm
by my reading, the basic methodology is to obtain a basket of goods and consumer items and then track the price change in those items. yes, it's more complicated than that in the actual methodology in reality, there's likely some debatable things like hedonic adjustment and a real question over what the index should track, but the general idea seems sound.
this post seems to suggest that CPI is based on some kind of longitudinal household survey methodology weighted for how much individual households consume over time, and that statisticians and economists are simpletons fooled by basic household budget substitution effects as prices and consumption patterns shift.
CPI becomes "a load of crap". But the error seems to be in the original post's incorrect misunderstanding of how CPI is actually calculated. and the actual method is somewhat closer to his suggested base-item method.
- efaref 5y agoThe key part is in "obtain a basket of goods". The ONS (UK statistics) are quite open about how they do this: https://www.ons.gov.uk/economy/inflationandpriceindices/articles/ukconsumerpriceinflationbasketofgoodsandservices/2021 https://www.ons.gov.uk/economy/inflationandpriceindices/arti... Specifically: > For example, if the price of tea rose dramatically during one year, consumers might switch their spending towards coffee, making it necessary to adjust the expenditure weights accordingly in the following year. Or put another way, if fuel goes up astronomically and people buy less of it, they will adjust its weight downwards, limiting the effects of its price increase on the headline inflation. It's not that statisticians and economists are fooled. The methodology works assuming that people have spare money and can choose to spend or not. But the reality is that things have got so expensive that most people are living paycheck to paycheck and spending everything they have, so their attempts to eradicate the bias of choice ends up just measuring how much money people have to spend (i.e. wage growth).
- ACow_Adonis 5y agoLet's run that scenario in a simplified manner of how CPIs are likely actually going to be calculated. First, they have to determine the conceptual basket of goods to track. Ok, that's comparable to your 1000 "highest volume" items methodology (albeit yours is a bit simplified too, we'll ignore the problem that good or volume is complicated for everyone). Generally stats bodies do this by looking at what consumers actually spend things on. This seems emminently sensible to me, and no offense intended, superior to a top 1000 volume method. Fuel, presumably, gets included in both. Then they need to assign a weight for every good to determine how much its mixture of quantity + price movements contribute to the CPI figure. I put it to you this is necessary. Every item shouldn't be equally weighted even in your methodology (the distribution of volume of relative goods purcahsed/consumed is guaranteed to not be uniform across all 1000 goods, and it makes no sense for no. 1 to be given an equal weight to no. 999). Stats bodies do this too. This is what is meant by weight adjustment in this context. And both you and stat agencies should be doing it. At some point, your "top 1000" goods is going to change and you're going to have to figure out what is in a new basket at a new time. So too does the CPI basket of goods. You both need to do this. Note that your methodology does not actually fix the fuel-budget-substitution issue. Price movements in your method that invoke a strong enough substitution or consumption effect result in fuel dropping out of your top 1000 as well. By keeping your basket constant for a given period of time and just tracking the good's prices, you track expenditure somewhat consistently for a given period. That's a good thing. There's no reference to changes in a consumer's budget. But...CPI calculating stats agencies do this too for a set basket of goods just like you do. They fix the basket and track it over time, adjusting, like yours, only for re-inclusion the basket of goods under consideration. Lastly, comes the hedonic quality problem. Changes in quality of consumption/goods over time. Some substitutions seem just because of taste or culture (see for example, relative consumption of antimacassars over time, or certain culture's preference for certain foods or items). Others are obviously qualitative in nature (i.e. computer processing power), and most things are a complex mix of tech/economy/culture/price/quality. This is the part that captures and tries to control for your qualitative substitution problem (it's not without its controversies, but I argue that your method needs it as well because it suffers similar problems, and indeed all ones which try to standardise subjective consumption of a national economy into a single figure). Relevant to 'fuel' is its price, but also substitution to other new fuels that turn up (hydrogen, LPG, lithium-ion), but also technology efficiency gains that have changed the consumption to utility ratio. Again, stats agencies try to control for this too. Aside from the definition of the basket of goods (a weakness and methodology shared by your "fix"), there is generally no explicit reference to consumer's budget or assumed spending patterns when tracking within a given basket. There is nothing inherently equivalent to "assumed spare money or choosing to spend or not". (I suppose I'm happy to be proven wrong on this for a given countries methodology). it's not just a simplified survey of median households or expenditure. Now, you can (and many people justifiably do) take issue with ideas and quantification of hedonic quality problems: but it's a universal problem, your method doesn't fix it, and I think you're generally misconstruing how CPIs are calculated around the world. The problems you mention are already attempted to be tackled and controlled for in methodology, and the official methodology is already generally superior to your suggested replacement. Edit: it's also not like stats/economics agencies are doing this WITHOUT an accesible measures of nominal wages (that is wages and resource flows without inflation taken into account) available to them. edit 2: in the real world, further considerations like geography, seasonality, population, etc is additionally controlled and adjusted for. And many stat agencies, in my experience, offer additional breakdowns of other price series, such as geographical and categorical indexes, or various additional weightings and combinations, so if you take issue with headline CPI you can investigate other more appropriate measures for your specific use cases.
- lend000 5y ago> one of my frustrations with visiting hacker news are these threads on non-tech topics Then you proceed to learn about CPI in detail for the first time, and use your incomplete understanding to refute mine. I've been down the rabbit-hole on CPI and learned a lot (partially from someone else on HN, who also probably wasn't an economist). The Wikipedia page is pretty thorough for US CPI [0]. The high-level idea is pretty simple, and seems reasonable. The problem is the survey itself [1]. The people contributing to the survey are one segment of Americans, not America as a whole. They are the middle class. Those are the 65% of people who actually fill out the forms and mail them back. And those forms are a lot of work, so accuracy is a whole other issue (Visa would probably be better equipped than the BLS to determine inflation). And if wealth inequality increases and inflation also increases (but money is moving into items that the middle class no longer can afford), that will not be reflected in the survey. The opposite is also true, but wealth inequality hasn't decreased much during the CPI's history. If wealth inequality remains constant, I would say CPI is not a "load of crap." Hyperbole, sure. But when so much is at stake, its nontrivial shortcomings do demand a bit of emphasis. [0] https://en.wikipedia.org/wiki/United_States_Consumer_Price_Index#Method_of_calculation https://en.wikipedia.org/wiki/United_States_Consumer_Price_I... [1] https://en.wikipedia.org/wiki/Consumer_Expenditure_Survey https://en.wikipedia.org/wiki/Consumer_Expenditure_Survey
- nuerow 5y ago> Then you proceed to learn about CPI in detail for the first time, and use your incomplete understanding to refute mine. > I've been down the rabbit-hole on CPI and learned a lot (...). The Wikipedia page is pretty thorough for US CPI [0]. Do you actually feel you're in any position to speak with authority on a subject, inclusive down to people with a background on economics, just because... You claim you read a Wikipedia article?
- lend000 5y agoA couple of recommendations for you: 1. Avoid one of, if not the most common logical fallacy on HN: appeal to authority / credentialism. 2. Do not assume you know anyone's career, life history, or background on a mostly anonymous forum (neither mine nor the previous commenter's). Judge every comment by its merit. I linked the Wikipedia page because it's all you really need to know for the purpose of the conversation. It reveals the flaw I am interested in discussing. If you have anything relevant to contribute to the conversation, I'm all ears.
- ReptileMan 5y agoI think that the problem is share of discretionary spending. If 80% of your income is spend on fixed costs any increase in them will hurt a lot. The way I understand cpi is that for some class of citizens it is good representation but is total bullshit for the working poor to low middle class.
- senectus1 5y agoDo they change the "basket" with the change in consumer trends? We purchase a LOT of subscriber model services these days, also delivery services and the like... services in general really. Does the CPI change with consumer trends?