Select root of the cubic based on the root of a nearest point
selectroot(parameters, mydelta, Rmax, closest_bias)
parameters
: A vector of parameters (real numbers) that is generated by estimating the short, intermediate and auxiliary regressions.mydelta
: The value of delta (real number).Rmax
: The value of Rmax (real number).closest_bias
: The value of bias at the nearest point.Data frame