Data Analysis Hub

Longitudinal Analysis Guide

Panel Data
Stata
R
PDF
Data Analysis

Attention Stata users! Our blog series covering the first two phases of PMA panel data is now available in PDF format, with separate versions featuring examples in both R and Stata.

Barriers to Implant Removal

Data Analysis
Data Visualization
Measurement
Implants
LARCs

For women who tried and were unable to have their implant removed in the past year, were the main obstacles related to provider willingness, access to services, or something else?

Data Exploration with Leaflet

Leaflet
Data Analysis
Data Visualization
Spatial
Mapping

Using interactive maps for exploratory data analysis with PMA GPS data

Trends in Modern Contraceptive Method Mix

Modern Method Mix
Indicators
Measurement
Data Analysis
Data Visualization

Which methods are have gained popularity among modern method users since 2014?

Translated Youtube Transcripts with R and Python

Video
Python
reticulate
translation
transcription

With help from an imported Python module, you can get an automatically generated transcript for any IPUMS PMA video tutorial in your preferred language. No Python experience necessary!

Arranging maps in a grid

Data Analysis
Data Visualization
Spatial
Mapping
ggplot2
cowplot
purrr

Tools for creating spatial visualizations that compare change over time or differences between PMA countries.

Slide Presentations in R with Quarto

Quarto
RMarkdown
Revealjs
Slides
R Tips

We've been preparing for an upcoming workshop by building our first presentation with Quarto and Revealjs. Here's what we've learned so far.

Webinar: Did COVID-19 Impact Contraceptive Use?

Panel Data
Data Analysis
Stata
Video

Breakout sessions for both R and Stata users show how to use panel data from IPUMS PMA to model contraceptive adoption and discontinuation during the first year of the pandemic.

Introducing Longitudinal Service Delivery Point Data

Panel Data
Data Discovery
New Data
Service Delivery Points
Client Exit Interviews

A new feature makes it easy to locate facilities surveyed in multiple rounds of SDP data collection. Plus, new Client Exit Interview data are now available!

Contraceptive Calendar Data in PMA Panel Surveys

Panel Data
Contraceptive Calendar
Data Analysis
Survival Analysis
survival
ggplot2

PMA panel members report their contraceptive use, reasons for discontinuation, and pregnancy status for each month leading up to the Female Questionnaire. Here's how to get up and running with your first Time-to-Event analysis.

Data Visualization Toolkit for PMA Panel Data

Panel Data
Data Visualization
Family Planning
Weights
heatmaps
ggalluvial
ggplot2
srvyr

Heatmaps and alluvial plots make it easy to compare key family planning indicators over time and across multiple populations sampled by PMA panel surveys.

Calculating Key Indicators for Family Planning Panel Data

Panel Data
Data Visualization
Data Analysis
Family Planning
Weights
Sample Clusters
ggplot2
srvyr

We show how to reproduce measures featured in PMA panel reports, and how to visualize significant differences between groups in figures built with ggplot2.

Visualizing Panel Membership

Panel Data
Data Discovery
Data Visualization
Family Planning

Your guide to inclusion criteria, loss to follow-up, and key technical variables for Family Planning panel data from IPUMS PMA.

Longitudinal Data Extracts

Panel Data
Data Discovery
Family Planning
Importing Data
ipumsr

Getting started with new "long" and "wide" data formats in R.

Family Planning Panel Data Now Available from IPUMS PMA

Panel Data
Data Discovery
New Data
Family Planning
Weights
Cluster Sampling

This month's data release includes Phase 2 panel data from 6 samples, plus Phase 1 panel data from 3 new countries.

Modeling client satistifaction with both individual and facility characteristics

Client Exit Interviews
Data Analysis
lme4
Multilevel model

We use multilevel models to examine factors related to women's satisfaction with family planning care received from the service delivery facilities in Kenya.

Comparing client experiences with family planning service providers

Client Exit Interviews
Data Analysis
Bar Charts
srvyr
ggplot2

Service quality questions are included in both Client Exit Interview and Family Planning surveys from PMA. We show how to match similar questions across surveys and compare the results with faceted graphics.

Building many similar models: easy variable substitution with 'pack' and 'across'

Client Exit Interviews
Service Delivery Points
Data Manipulation
across
pack
glm

SDP surveys include data on the availability, cost, and demand for up to 13 family planning methods at each facility. Use one generic formula to explore independent models for client counseling on each method.

How to integrate ACLED conflict data with PMA Client Exit Interview data

Client Exit Interviews
Armed Conflict
ACLED
Mapping
Animation
sf
ggspatial
gganimate

Conflict data provides important context for access to family planning services.

Introducing Client Exit Interviews

Data Discovery
New Data
Client Exit Interviews
Service Delivery Points

Women receiving family planning services assess their care in a new data series from PMA.

2021 Blog Round-Up

R Tips
R packages

Where to find example code for all of the key concepts we've covered so far.

Measuring agricultural conditions and their relationship with infant nutrition in Burkina Faso

Nutrition
Climate
Data Analysis
Mixed Effects
PMA Publications
terra
sf
lme4
gtsummary

We've learned how to build key indicators with spatially referenced nutrition data from PMA. Now let's see how researchers have used them.

How to use CHIRPS Climate Data with PMA Nutrition Surveys

Nutrition
CHIRPS
Precipitation
Climate
Agriculture
terra
sf
ggspatial

Remotely sensed daily precipitation data is an incredible resource for understanding rainfed food systems.

Infant and Young Child Feeding (IYCF) Indicators for PMA Nutrition Data

Nutrition
IYCF
Indicators
Data Manipulation

Use WHO guidelines to calculate Minimum Dietary Diversity (MDD), Minimum Meal Frequency (MMF), and Minimum Acceptable Diet (MAD).

Update: Matching Records in 2018 Nutrition Surveys

Nutrition
Data Manipulation
rowwise
group_by
cur_data
pmap

It's now much easier to perform row-wise operations with pre-grouped data!

Introducing PMA Nutrition Data

Nutrition
Data Discovery
Service Delivery Points
Infant and Young Child Feeding

Nutrition surveys are available for women, young children, and health service providers in their area.

Multinomial Regression with Complex Survey Design

COVID-19
Data Analysis
svyVGAM
Multinomial Logit
Weights

The PMA COVID-19 survey is part of a broader panel study. We discuss how to merge it with the baseline survey, and how to specify sample weights and cluster information with the new svyVGAM package.

New Online Course: Introduction to IPUMS PMA Data Analysis

Explore IPUMS PMA data with R right in your browser, or download Stata code for offline practice

Three ways to visualize binary survey data

COVID-19
Data Visualization
ggplot2
fmsb
Bar Charts
Lollipop Charts
Radar Charts

You can compare levels of trust and efficacy for 13 information sources in 4 countries with data from the new PMA COVID-19 survey. Let's talk data visualization options.

Visualizing perceptions of risk from COVID-19

COVID-19
Descriptive Analysis
Data Visualization
ggplot2

A guide to bar charts for Likert-type psychometric scales built with ggplot2.

Making Tables with PMA COVID-19 Data

COVID-19
gtsummary
srvyr
purrr
Descriptive Analysis
Data Manipulation
Weights

Showcasing the gtsummary package for sample descriptive statistics, weighted population estimates, and model summary output.

New PMA COVID-19 Survey Data

COVID-19
Panel Data
Data Discovery
New Data

A new panel study promises insights into the impact of COVID-19 on family planning and reproductive health.

Visualizing migration patterns over time

Migration
Data Analysis
Data Visualization
Descriptive Analysis
ggalluvial
ggridges

How to visualize patterns in migration data using alluvial plots, line plots, and density plots.

Making the Contraceptive Calendar Data Work For You

PMA Publications
PAA 2021
Contraceptive Calendar
Stata
Video

R and Stata code with video from an event held at the Population Association of America 2021 Annual Meeting.

Visualizing PMA Data with StoryMaps

PMA Publications
StoryMaps
Undergrads
Teaching

Five outstanding undergraduate research projects integrate dynamic data visualization with spatial analysis and narrative.

Formatting Migration Recall Data for Longitudinal Analysis

Migration
Data Discovery
Data Manipulation
pivot_longer
regex

Use tidyr::pivot_longer to reshape wide data into a long format.

Unmet need for family planning after internal migration

Migration
PMA Publications
svyglm
bootstraps

Summary and source code from a recent article using data from Ethiopia.

New SDP Data Available Spring 2021

New Data
Data Discovery

Get details on new variables related to labor & delivery services, antenatal care, vaccinations, facility shipment schedules, and more!

Putting It All Together: Analyzing the Individual in Context

Individuals in Context
Service Delivery Points
Data Analysis
survey
dotwhisker

Analyzing women's contraceptive use while considering service delivery point and spatial contextual factors.

Merging external spatial data

Individuals in Context
Service Delivery Points
Data Manipulation
join
sf
raster
Spatial

How to integrate external spatial data with PMA data.

Mapping Service Delivery Point Data

Individuals in Context
Service Delivery Points
Data Manipulation
Mapping
sf

Map spatial variation in the service delivery environment across enumeration areas.

Merging Service Delivery Point Data to Household & Female Records

Individuals in Context
Data Manipulation
Service Delivery Points
pivot_longer
join

Create aggregate measures for women living the areas served by SDPs

Recode and Summarize Variables from Multiple Response Questions

Individuals in Context
Data Manipulation
Service Delivery Points
across
ipumsr

Use dplyr::across to summarize variables with a similar naming pattern.

Service Delivery Point Data Explained

Individuals in Context
Data Discovery
Service Delivery Points

SDP samples are not nationally representative. Learn how to use them to describe the health service environment experienced by individuals.

Import IPUMS PMA Data into R

R Tips
R Packages
Importing Data

How to download an IPUMS PMA data extract and start using it in R

Getting Started with R

R Tips
R Packages

How to download R for free and install some of the R packages used on this blog

More articles »

Data Analysis Hub

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.