run_standard_analysis_model | R Documentation |
Estimates the Swiss Confederation standard analysis model (a linear regression) for salary equality between women and men.
run_standard_analysis_model(data, sex_neutral = FALSE)
data |
data.frame as produced by |
sex_neutral |
boolean indicating whether the linear regression is to be run using the sex_neutral model or the standard one. |
The standard analysis model's formula is the following:
log(standardized_salary) ~ years_of_training + years_of_service +
years_of_earning + years_of_earning^2 + level_of_requirements + professional_position +
sex
The sex_neutral
parameter can be used to run the sex neutral model,
i.e. a linear regression without the sex coefficient.
an object of class
"lm
"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.