Estimation in truncated samples when there is heteroscedasticity