factors affecting salaries