Dear all,
I need to find the inverse of a slightly modified Gompertz function. To my understanding, there is no analytical solution to this problem. Is there a way in Stata to numerically approximate the inverse of such a function?
Function:
y = n + b1*exp(-exp(-(b2*-m)(x-b3)))
(Note: I only estimate b1, b2, b3 and set n and m manually)
(Note 2: it only has to work for x > 0 and y <=1)
I need to find the inverse of a slightly modified Gompertz function. To my understanding, there is no analytical solution to this problem. Is there a way in Stata to numerically approximate the inverse of such a function?
Function:
y = n + b1*exp(-exp(-(b2*-m)(x-b3)))
(Note: I only estimate b1, b2, b3 and set n and m manually)
(Note 2: it only has to work for x > 0 and y <=1)
Comment