Mark in  
Data Scientist  

Salary: DS vs SWE

I've noticed in that, ON AVERAGE, senior level Software engineers have much higher compensation (salary + stock + bonus) than equivalent data scientist with similar seniority level.

For example, as noted in the End of Year Pay Report 2021, staff engineers (IV) are racking up more than half a million dollars, on average, in major tech companies.

Compare that to senior-level data scientist, it's more anomalous than usual to see similar compensation (as noted by reports from other organizations like Harnham).

Is this trend true, or am I making this up: Do senior level SWEs make more, on average, at major tech companies (let's say at FAANG) than DSs with similar number of year of experience? The question, of course, assumes that we'd be accounting for other variables like city, gender, company, etc..

kitkateProduct Manager  
I think that's true based on what I've seen as well. I don't know the exact reason but typically pay is based on supply & demand roughly. If it's slightly harder to find good software engineers, the pay will be slightly harder.