News for hackers. Stuff that matters.
Re:Developers love trendy new languages, but earn more with ... by aje403 on Tuesday March 13, 2018 @10:09AM (#16576202)
Misleading is the right word.

Wrong conclusion: E[Earnings|Language=OCaml] > E[Earnings|Language=Javascript]

More accurate conclusion: E[Earnings|Language=OCaml,School=Top10,Major=DualCS/Math] >> E[Earnings|Language=Javascript],

E[Earnings|Language=Javascript] >> E[Earnings|Language=OCaml,School=Who?,Major=Not DualCS/Math]

Re:Developers love trendy new languages, but earn more with ... by b4lancesh33t on Tuesday March 13, 2018 @11:10AM (#16576720)
This can be stated more generally:

If you didn't explicitly control for it, your results probably only reflect selection bias.

Re:Developers love trendy new languages, but earn more with ... by chris11 on Tuesday March 13, 2018 @12:16PM (#16577287)
I'd say that it is definitely possible for selection bias to indicate a causal relationship though. Because hiring and compensation isn't just controlled by technical ability or productivity. So there is chance a supposedly non-causal indicator will have a direct impact.

For instance, let's a dev with a really unremarkable resume gets paid significantly less than his coworkers in a really hot subfield because all his coworkers have a top-10 stem degree, research with top professors, and work experience at really hot startups. It's likely if he is a decent negotiator the underpaid dev's compensation will eventually revert to the mean. That will be the compensation of an extremely marketable dev if he can sell himself as a dev with really valuable experience.