MEIRU Microdata Portal
  • Home
  • Overview
  • Microdata Catalog
  • Citations
  • Login
    Login
    Home / Central Data Catalog / MWI-MEIRU-SPOUSELINKS-2002-V01 / variable [V55]
central

Cleaned spouse and marriage data

Malawi
Get Microdata
Reference ID
MWI-MEIRU-SPOUSELINKS-2002-v01
Producer(s)
Professor Amelia (Mia) Crampin
Collections
Karonga HDSS Combined / Harmonized Datasets
Metadata
Documentation in PDF DDI/XML JSON
Created on
Nov 14, 2025
Last modified
Nov 19, 2025
Page views
6796
Downloads
108
  • Study Description
  • Data Dictionary
  • Downloads
  • Get Microdata
  • Data files
  • all_marital_reports
  • all_spouse_pairs_clean_summarised
  • all_spouse_pairs_full
  • marital_status_episodes

Age difference between spouses (D) (agediff)

Data file: all_spouse_pairs_full

Overview

Valid: 196385
Invalid: 18
Type: Continuous
Decimal: 0
Start: 28
End: 29
Width: 2
Range: 0 - 69
Format: Numeric

Description

Definition
Age difference between spouses

Imputation and derivation

Derivation
variable: ident (table[s]: gen_spouse)
variable: idspouse (table[s]: gen_spouse)
variable: birth_date (table[s]: gen_identity_clean [derived table])

rename (ident idspouse) (ident1 ident)
merge m:1 ident using ${newstata}\gen_identity_clean.dta, keepusing(sex birth_date idmoth idfath) keep(master match) nogen
gen idspouse_age=int((intdate-birth_date)/365.25) if birth_date~=.
gen idspouse_yob=year(birth_date) if birth_date~=.
drop birth_date
rename (ident1 ident sex idmoth idfath) (ident idspouse idspouse_sex idspouse_idmoth idspouse_idfath)
gen agediff=abs(ident_age-idspouse_age)
Back to Catalog
MEIRU Microdata Portal

© MEIRU Microdata Portal | admin@meirudata.mw | All Rights Reserved | Register