Title: | Gompertz Curve Fitting |
---|---|
Description: | A system for fitting Gompertz Curve in a Time Series Data. |
Authors: | Arnab Roy [aut, cre], Debarghya Baul [aut] |
Maintainer: | Arnab Roy <[email protected]> |
License: | GPL-3 |
Version: | 0.1.0 |
Built: | 2025-02-18 05:41:01 UTC |
Source: | https://github.com/arnab7640/gmptzcurve |
This function fits the Gompertz Curve in Time Series Data along with estimates of the parameters and predicted value.
gmptz(y)
gmptz(y)
y |
a numeric vector |
The Gompertz curve is a type of mathematical model for a Time Series. It is a sigmoid function which describes growth as being slowest at the start and end of a given time period. The equation of Gompertz curve is given by , Y=k*a^(b^x)
Taking Logarithm on both sides we get, LogY=Logk+(b^x)*Loga ; OR, Z=A+B(C^x) , where Z=LogY , A=logk , B=loga ,C=b; It is a form of Modified Exponential.So ,now we can apply Method Of Group Average.
a.hat , b.hat , k.hat : the estimated values of the parameters a,b and k.
predicted.value : the predicted values of y
ARNAB ROY, DEBARGHYA BAUL
p=c(12,15,16,18,16,21,25,27,29,30,35,36) gmptz(p)
p=c(12,15,16,18,16,21,25,27,29,30,35,36) gmptz(p)