Static and dynamic correlations in semiconductor heterostructures