Instrumental variables and wavelet decompositions