Estimate error of frequency-dependent Q introduced by linear regression and its nonlinear implementation