Working on spline and GAM model for the response curve explanation