Bridging the gap between design and analysis when making inference using observational HIV data