Optimally Adjusted Mixture Sampling and Locally Weighted Histogram Analysis