Non-parametric statistical models using wavelets: Theory and methods