The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Statistical difference in median ages
Statistical difference in median ages [message #13780] Thu, 21 December 2017 16:36 Go to next message
kbietsch is currently offline  kbietsch
Messages: 14
Registered: November 2015
Location: Washington, DC USA

Does anyone have a suggestion for a significance test to compare two median ages. For example, I want to see if the median age at first marriage has changed between two surveys.

A more complicated question: is there a way to test for a statistical difference in SMAM (Singulate mean age at marriage)?
Re: Statistical difference in median ages [message #13781 is a reply to message #13780] Thu, 21 December 2017 16:53 Go to previous message
Messages: 292
Registered: March 2013
Senior Member

How about a quantile regression at the median, including both age-at-first-marraige AND an interaction of age-at-first-marriage with "second survey round"? Then the coefficient on the interaction gives you the difference between the two rounds and you can do a simple T-test (if the interaction coefficient is statistically significant, that's a test of the difference).

Another option would be a "seemingly unrelated regressions" version for quantiles... but looking online I'm not sure anyone has done that (or at least I don't see a Stata package for it). I'd say the interaction method above would be good - you could compare means using Seemingly Unrelated Regression (sureg/suest in Stata) by doing two separate regressions and testing the coefficients after...but it sounds like you want the median.
Previous Topic: Unwanted pregnancies (Question M10)
Next Topic: age specific fertility rate using spss
Goto Forum:

Current Time: Mon Aug 15 11:39:58 Coordinated Universal Time 2022