We present a multiscale treatment of electron correlations based on hyperbolic wavelet expansions of Jastrow-type correlation functions. Wavelets provide hierarchical basis sets that can be locally adapted to the length- and energy-scales of physical phenomena. Combined with hyperbolic tensor products and local adaptive refinement near the interelectron cusp, these wavelet bases enable sparse representations of Jastrow factors. The computational efficiency of wavelets in electronic structure calculations is demonstrated within the coupled electron-pair approximation (local ansatz). Based on a diagrammatic multiresolution analysis, we discuss various kinds of sparsity features for matrix elements required by the local ansatz. Sparsity originates from the hierarchical structure and vanishing moments property of wavelet bases. This led us to a recurrence scheme for the evaluation of matrix elements with almost linear computational complexity with respect to the size of the underlying isotropic 3d-wavelet basis. Numerical studies for selected diagrams are presented for a homogeneous electron gas.
Within density functional theory, a coordinate-scaling relation for the coupling-constant dependence of the exchange-correlation kernel ${f}_{\mathrm{xc}}(\mathbf{r},{\mathbf{r}}^{\ensuremath{'}};\ensuremath{\omega})$ is utilized to express the correlation energy of a many-electron system in terms of
fxc. As a test of several of the available approximations for the exchange-correlation kernel, or equivalently the local-field factor, we calculate the uniform-gas correlation energy. While the random phase approximation
(fxc = 0) makes the correlation energy per electron too negative by about 0.5 eV, the adiabatic local-density approximation
[fxc = fxc(q = $0,\ensuremath{\omega}$
= 0)] makes a comparable error in the opposite direction. The adiabatic nonlocal approximation
[fxc = ${f}_{\mathrm{xc}}(q,\ensuremath{\omega}$
= 0)] reduces this error to about 0.1 eV, and inclusion of the full frequency dependence
[fxc = ${f}_{\mathrm{xc}}(q,\ensuremath{\omega})]$ in an approximate parametrization reduces it further to less than 0.02 eV. We also report the wave-vector analysis and the imaginary-frequency analysis of the correlation energy for each choice of kernel.