I have a particular scenario.
In this scenario, we have the standard cubic equation,
ax^3 + bx^2 + cx + d = y
as well as 3 points that are graphed, as can be seen in this graph. (The line is irrelevant for now)
Assume that
a, b, and c
will all adapt themselves so that they can fit all three dots as well as
d
and create a cubic line.
The problem at hand, now, is to find some sort of general equation that would find the value of d that would lead to having the smallest sum of all coefficients, those being
a, b, c and d
The ending result doesn't have to be a specific number, though. A range of values a reasonable amount of numbers wide or so that is guaranteed to contain the number is acceptable as well.
If any clarifications or more details are needed, then feel free to comment and I'll add anything necessary.
EDIT
I should have mentioned that by minimum, I mean the smallest absolute value of the equation, so in other words
|a| + |b| + |c| + |d|
First, fit a quadratic through the three points, getting $y=ux^2+vx+w$. If the $x$ coordinates of the three points are $x_1,x_2,x_3$, the family of cubics that go through your points is parameterized by $r$ as $y=r(x-x_1)(x-x_2)(x-x_3)+ux^2+vx+w=rx^3+(u-rx_1-rx_2-rx_3)x^2+(v+rx_1x_2+rx_1x_3+rx_2x_3)x+(w-rx_1x_2x_3)$.
The function you want to minimize is therefore $f(r)=|r|+|u-r(x_1+x_2+x_3)|+|v+r(x_1x_2+x_1x_3+x_2x_3)|+|w-rx_1x_2x_3|$ This is a piecewise linear function, so you can just compute the values at all the turning points and pick the lowest.