run_standard_analysis_model: Standard Analysis Model

View source: R/models.R

run_standard_analysis_modelR Documentation

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

Value

an object of class "lm"


JLDC/logib documentation built on Jan. 12, 2025, 4:13 p.m.