149 points · by gkst · 10y ago · 158 comments
I'm legitimately curious, what is the statistical significance of an average versus a median?
Also we've got multiple data sets at play and so we shouldn't be using a "ratio" but rather a z-score.
A z-score is a measure to normalize all the different distributions and see how many standard deviations away from the average each value is. It's the accepted practice for comparing across two different data sets.
Udacity covers it in their data science course: https://www.udacity.com/course/viewer#!/c-st095/l-81689336/m...
As far as the LLN, also right but this assumes that PayScale has anywhere close to enough datapoints for that number to be reached which I would question. Also not sure if we can consider the LLN in the same way if you are comparing a total population with a sample here?
That I guess is the other compounding factor actually, the population of Software Engineers is actually just a sample of the overall population of "the general public's income" and so that does impact this as well. We're not comparing group A to group B but rather group A to group ABC...N.
Edit: I'm not sure why I'm getting downvotes.
Anywhere you read about average incomes from a serious source it'll be the median, no one uses "mean income" for average when dealing with incomes, since the distribution is so skewed.
If you even just google "average income" it'll report you the median. Median is so completely standard when reporting on income data that it gets short-handed to "average".
"Moreover, we compare median annual values for software engineers with mean annual values for the general population. Considering how large the income share of top earners is in several countries, annual median values for the general population might well show a different picture."
This is demonstrably untrue. A search for "average income" returns articles referencing both median and mean incomes (and usually clearly distinguishing between the two).
(Now, if a piece talks exclusively and explicitly about medians and then uses a term such as "this average" that's probably OK because they've already stated that median is the only average they're discussing.)
All Google is doing BTW is basically "deciding" that although you asked for average income, what you really wanted is median income because that's what people are looking for. So it basically reworded your query for you.
And furthermore, the author just used the data that Bloomberg used here: http://www.bloomberg.com/visual-data/best-and-worst/highest-...
EDIT: Never mind, the author also says:
>Moreover, we compare median annual values for software engineers with mean annual values for the general population
In popular usage, this has become muddled because the arithmetic mean is also an estimate of the peak/center of a Gaussian distribution from a sample distribution.
Note that "arithmetic mean" is what you colloquially call "average" and think of as "the mean" but it is not in any way the only "mean", either.
If you remove both those extremes, then average and median becomes somewhat closer to each other.
It's supply vs. demand, that's all there is to it. I'm not buying any of the above as a justification for big salaries.
Yup. There may be good demand because of force multiplier or return to capital or whatever. (Which are just ways of saying that the work translates into something people are willing to pay for.) And there may be (somewhat) limited supply because it's not something everyone wants to or can do, whether through formal education or otherwise.
But, take either supply or demand away and the salaries commanded adjust accordingly.
That I could spend 10 years becoming an expert on medieval German literature doesn't necessarily mean that I could command a high salary however rare that expertise.
Software developers work longer hours. I've never been in an environment where developers hang their coats up at 5:00 and go on with their carefree lives.
And while unemployment may be low in IT, developers do not enjoy job security.
Agreed. Plus, learning in this trade is a job never done. It's not like once you get a foot in the door (and land a job), you're set for life.
> Software developers work longer hours.
I can't speak for the US, but it doesn't seem to be the case in Europe. I live and work in Poland, I kind of know the job market in the UK and Germany.
> And while unemployment may be low in IT, developers do not enjoy job security.
Well, relative job security. Not neccessarily in terms of any single job being safe and granted, but there's a rather slim chance of getting stranded between jobs.
And I've always worked in environments where they do.
Anecdata for the win?
That discussion feels imprecise, though. Are those really the reasons that programmer salaries are what they are? If there were 20x more programmers, would that change things?
Worse, it makes me want to avoid that whole side of the discussion, because it also sounds like justifying an economic fact on moral grounds.
Yes, supply and demand and perverse economic incentives sometimes result in high demand for things that aren't that beneficial to society as a whole. Personally, I happen to think that what programmers do is more beneficial to society than what Hedge Fund managers do. But I don't care to have a conversation about whether or not we 'deserve our rates.'
It's what supply and demand dictates; that much is definitely true.
Wow, people really have forgotten the IT-death. :-)
There are cycles and bubbles here too. They just might not be in phase with the general economy.
(And get off my lawn. :-) )
funny but from my circle of friends I never heard of anyone being unemployed and looking for job for more than a month. I myself had exactly 0 time of looking for a job in 12 years of working. I'm in Europe, though, we're ridiculously underpaid compared to the US I think. Very few people earn more than 100K.
Add to this the glut of contract positions in industry along with the wide range of pay there, and it becomes much harder to make an accurate assumption (at least for me in my head) of what software engineers should be making.
Googling "Software Engineer Payscale: brings up pages listing, 73, 78, 83, and 92 thousand per year. And I am leaving those roles with sub-titles like senior and principal off the list. That said, this is a cool idea and undertaking, especially the country comparisons.
Also the article doesn't judge the differences of incomes, the "overpaid" is your interpretation.
I bet you the comparisons would not look so good then.
When that happens, brace yourself for a never ending stream of malpractice suits.
I wonder if they meant "median salary" instead, as median vs. median would seem a better comparison than median vs. average.
How could it be enforced that software developers can only earn the median income of the general population?
Passing new laws that set a limit? That would be completely crazy, you might as well just go and live in North Korea if you like that.
Why shouldn't private companies have the right and the freedom to pay more out of their own pocket (not from government funds) for certain employees?
Unlike doctors and lawyers, software engineers don't have any respect and are pretty much working class, but that's another story.
Hired for a specific, technical purpose. Expected to (usually) have gone to college.
No offense, but equating a comp sci degree (even with years of work experience) to a medical doctor is a little laughable. Doctors (as a field) are a step up from software engineers in terms of professionalism and work expectations.
I've said this before: there are a lot of 20-something developers on HN that continue to push back against organizing as they're making decent money and in high demand (for the moment), compared to their friends in other professions. The problem is that once a software engineer hits his/her thirties, those professional friends have caught up in salary. We'll still be working in open-office environments with free soda, while they'll have real offices, expense accounts, salaries based on profits, and most importantly, respect.
By late 30's, we've hit the glass ceiling, but doctors, law partners, finance and business pros are just getting started. There are exceptions (e.g. the lucky start-up guys, consultants that own their own shop, etc.), but for the most part, this is reality.
The lack of any sort of organization for our 'profession' is one of the main reasons I'm beginning to look for a new career path. The H1B is a disaster - I actually worked in India for one of the big abusers, and realize that without something, things will get worse, especially since we've probably maxed out this latest bubble.
And that's exactly what software professionals should do as well - have a strong professional body to represent us.
I see this kind of Rodney Dangerfield sentiment a lot on HN but it has never made a lick of sense to me (especially the "pretty much working class" variety).
And also if software engineers want to get into the "doctors and lawyers" category we need to start doing doctory and lawyery things like "professional societies with teeth" and "board/bar certifications" and "codes of ethics" (good luck on that last one).
Not sure why you're down-voted. You're 100% right. Honestly, I really am flabbergasted by a good 50%-75% of the HN community's responses to organizing. This is probably the most intellectual group of people I participate with on the internet.
But the cognitive dissonance when it comes to 'free-market', unions, etc. for our profession is almost sad.
A software engineer/developer/programmer/whatever is paid about the same as your average office employee in much of Europe.
Though obviously some software engineers "cash out" and then don't _need_ to work anymore, and many doctors would quickly run out of money if they stopped working.
Software reasonably fits in as a white collar job, which is working class.
In general it's probably more interesting to discuss the various things people use to differentiate roles than it is to argue about what words should be used to describe the roles.
I don't care what numbers or technique he used, it's impossible to come to the conclusion that software engineers in Romania actually make less than the average salary. It's also just plain wrong.
Probably irrelevant but I feel the article should probably be titled differently like "Using Pandas and D3 to get a rough....." as I'm not sure many good conclusions can be drawn from that dataset (I could be vastly wrong though?).
This applies at all levels of the spectrum, from a junior developer working at a contracting firm to high-end staff working for Google or whatnot. We wouldn't be paid those salaries if we didn't bring in 5x more than our pay.
Apart from that, supply and demand/etc also apply. We're highly-trained staff who often deal with mathematics that the general population can't or won't deal with.
(Supply and demand I get, "force multiplier" I don't get.)
The other way you can go is a qualitative improvement, which is where the child mortality example comes in. If one engineer can remove 75% of the fuck-ups caused by manually performing a task, then that is also worth money, but it's not valued in quite the same way. You'd value lower child-mortality in person-years of economic output (accrued to society), quality-adjusted-life-years (accrued to the individual) and diminished malpractice suits/insurance (accrued to the hospital or the insurance company).
Perhaps a better term would be "productivity multiplier". Productivity is a pretty standard economic measure (average economic output per individual), and engineers both have much higher economic output per individual, and can greatly increase that output for other individuals as well (often with a one-time investment).
I kind of believe, I think not controversially, that compensation results from supply, demand, and a bunch of more or less arbitrary rules which either affect supply & demand or directly affect the price (price controls, visa regimes, etc.) Productivity (value created) sets an upper bound for compensation (well, actually, it doesn't, perceived productivity does; and even that isn't true - building a barely working website for the government for several hundreds of millions of dollars is one of the countless counter-examples), but productivity certainly does not set a lower bound for compensation - competition does. How much labor you save is beside the point.
Doctors have to do 50-80 hours per year of certified continuing education thingies. That's probably way less than the average software engineer, but at least now we have a concrete number :)
I'm taking this study at its face value, and it is quite interesting.