nsum predx predy
The predx function returns the predicted X value using the curve calculated by the lr function, as follows: