Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Happiness in the GSS — by gender (draft)

Happiness by gender in the GSS (draft)

Skeleton. This post will mirror the logic of Happiness in America and the subgroup tooling used in Gender roles in the GSS, but focus on happy (very happy vs other codes) stratified by sex (GSS sex: male / female).

TODO — framing

TODO — data / artifacts


1. Time model by gender

Period-only time_model latent trajectories (national RW2 trend per subgroup), male vs female on one axes — output from scripts/run_composed_standardized_effects.py with --grouping sex (HDF bands from separate --sex male / --sex female runs).

Period-only time model: very happy share by nominal survey year, male (GSS sex = 1) vs female (2).

Figure 1:Period-only time model: very happy share by nominal survey year, male (GSS sex = 1) vs female (2).


2. Standardized cohort model by gender

Cohort curve with equal weight on each observed nominal year within each gender group — same estimand as cohort_standardized_*_uniformyears in Happiness in America.

Standardized cohort effect for very happy by gender (uniform weights on survey years within group).

Figure 2:Standardized cohort effect for very happy by gender (uniform weights on survey years within group).


3. Standardized period trend by gender

Standardized period curves with within-group reference cohort mix (overallcohorts) — male vs female on one axes from scripts/run_composed_standardized_effects.py (plot_composed_standardized_period). For the period-only time model as a separate overlay-free comparison, see §1.

Standardized period trend for very happy by gender (fixed within-group cohort weights).

Figure 3:Standardized period trend for very happy by gender (fixed within-group cohort weights).


Notebook hygiene

TODO.