If you have two measures of the same confounder, you can just include both of them in your regression model

Corrigendum: There was an embarrassing mistake in the SEM part of the original version of this blog post which has…