Fitting Function to Thrs Estimation