Description: | Fits the data {y_1, y_2, y_3, … , y_m } to the curve y = a*b^c^x, where x = {0, 1, 2, 3, 4, … , m-1}. The program works best if the dimension (size) of the data set is divisible by 3. GOMPERTZ sorts the values into ascending order before calculation. The results returned is a 3 x 1 matrix of the parameters: a, b, and c. GOMPERTZ estimates a, b, and c and runs through one iteration to retrieve a better estimate, and may be modified by include additional iterations should the user desire. |