Tag: statistics

  • Imputing Missing Data in R – mice

    Imputing Missing Data in R – mice

    I got a revise and resubmit on a recent paper. We noted that we had some missing data on some of the variables in our dataset. One of the reviewers suggested we address the missing data issue, which I have typically just managed using listwise/casewise deletion (a.k.a. complete-case analysis, which entails not including cases that…

  • R – Combining Data from Two Variables

    R – Combining Data from Two Variables

    (NOTE: This was done in R 4.3.1 using RStudio 2023.03.0.) Here’s the scenario: I have a variable (V1) from Country A with roughly ~1,000 responses that measures religious affiliation with the following options: To be clear, there are no responses to V1 from the participants in the other country (Country B), only from individuals from…

  • Maybe religion isn’t dying, but it’s definitely not well

    In their recent Wall Street Journal op-ed, Byron R. Johnson and Jeff Levin, referring to a paper they recently published in the Interdisciplinary Journal of Research on Religion (IJRR), argue that religiosity is not declining in the US but rather, “Americans are becoming more religious, and religious institutions are thriving.” This claim is incredible in…