Logo Lanfrica

gowusu/qrm

Domain:

socioeconomic

Record type:

software
Creator:
gow
Host:
Companion code for "Quantitative Research Methods: A Practical Guide with R and SPSS" — reproducing every number and figure from the book using Afrobarometer Round 9 Ghana data. # Quantitative Research Methods — Reproduction Scripts R scripts that reproduce every computed number, table, and figure in the book **_Quantitative Research Methods: A Practical Guide with R and SPSS_** (Dr George Owusu, Department of Geography and Resource Development, University of Ghana). Each `reproduce_chapterNN.R` regenerates the results for one chapter. `afro_prep.R` is a shared helper that loads and cleans the Afrobarometer data identically for every chapter that uses it. > **No data is included in this repository.** The datasets are freely available from their > original sources (see **Getting the data** below). This keeps the repository light and respects > the data providers' terms. ## Chapters | Script | Chapter | Data | |---|---|---| | `afro_prep.R` | shared loader/cleaner (sourced by the Afrobarometer scripts) | Afrobarometer | | `reproduce_chapter02.R` | 2 — Variables, Measurement, Visualization | Afrobarometer | | `reproduce_chapter06.R` | 6 — Descriptives, Correlation, Simple Regression | Afrobarometer | | `reproduce_chapter07.R` | 7 — Hypothesis Testing | Afrobarometer | | `reproduce_chapter08.R` | 8 — Composite Scoring & Chi-square | Afrobarometer | | `reproduce_chapter09.R` | 9 — Multiple / Logistic / Multinomial Regression | Gapminder | | `reproduce_chapter10.R` | 10 — ANOVA | Afrobarometer | | `reproduce_chapter11.R` | 11 — Factor Analysis | Afrobarometer | | `reproduce_chapter12.R` | 12 — Non-Parametric Tests | Afrobarometer | | `reproduce_chapter13.R` | 13 — The Role of AI in Quantitative Research Methods | Afrobarometer | Chapters 1, 3, 4, and 5 are conceptual and involve no computation, so they have no script. ## Practicals The `practicals/` folder holds practice exercises for every chapter — concept checks and hands-on data tasks (with different variables from the book's worked examples). See `practicals/README.md`. Model answers are provided to instructors separately. ## Requirements - **R** 4.x - R packages: `haven`, `psych`, …