run_standard_analysis_model: Standard Analysis Model

Description Usage Arguments Details Value

View source: R/models.R

Description

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

Usage

1

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 documentation built on Nov. 21, 2021, 9:08 a.m.