Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

skdreier/religion_lgbtq

Domaine:

socioeconomic
Créateur:
skd
Hôte:
This repository contains replication materials for the following paper: "African, Religious, and Tolerant: How religious diversity shapes attitudes toward sexual minorities" (accepted for publication). Revisions: June 26 # WORK IN PROGRESS # religion_lgbtq Replication material for "African, Religious, and Tolerant? How Religious Diversity Shapes Attitudes Towards Sexual Minorities in Africa" (article accepted for publication). ## Authors Sarah Dreier, James Long, and Stephen Winkler (authorship listed alphabetically) ## Afrobarometer Data We use the merged Afrobarometer Round 6 data, which is publicly available at: afrobarometer.org. Follow the source R scripts (below) to download directly from the Afrobarometer website. ## Build Scripts - 1_create_herf.R reads in the Afrobarometer data from its web source Afrobarometer.org, calculates Herfindahl scores for key "diversity" variables, saves the new dataset ("data") as: `data/afrob_with_herf.RData`, and produces statistics for Tables A.4 and A.5. - 2_clean_afrobarometer.R transforms and cleans variables used in the analysis, subsets those variables into a new dataset ("data"), and saves it as: `data/clean_afrobarometer.RData`. ## Analysis and Outputs - 3_descriptive_stats.R generates descriptive plots/tables: - Figure 1: Percent of respondents who dislike LGBTQ by country (DV) - Figure 2a & 2b: Distribution of dependent variable - Figure 3a & 3b: Distribution of independent variable - Table A.2: Spearman correlations of tolerance variables - Table A.3: Descriptive statistics for model covariates - 4_main_models.R generates tables for main models and various replications of main models: - Table 1: Main OLS results - Table A.6: Main logit results - Table A.7: Main ordered probit results - Table A.8: Main OLS results with country coefficients - Table A.9: Replication of main OLS results with unbinned HHI of religion - Table A.10: Replication of main logit results with unbinned HHI of religion - Table A.11: Replication of main OLS results with control for religious affiliation - Table A.12: Replication of main logit results with control for religious affiliation - Table A.22: Replication …

Visit

github.com

Licenses

MIT

Similaires

skdreier/State_legitimacy

skdreier/State_legitimacy

This is the repository for the forthcoming article, "Institutional Legitimacy in sub-Saharan Africa.