Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

run_standard_analysis_model

Standard Analysis Model


Description

Estimates the Swiss Confederation standard analysis model (a linear regression) for salary equality between women and men.

Usage

run_standard_analysis_model(data, sex_neutral = FALSE)

Arguments

data

data.frame as produced by prepare_data

sex_neutral

boolean indicating whether the linear regression is to be run using the sex_neutral model or the standard one.

Details

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 + skill_level + 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.

Value

an object of class "lm"


logib

Salary Analysis by the Swiss Federal Office for Gender Equality

v0.1.0
GPL-3
Authors
Jonathan Chassot [aut, cre], Jeremy Kolly [ctb], Federal Office for Gender Equality of Switzerland [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.