I want to use the Gompertz curve model to develop a growth curve and also get the analysis components. the model that i want to use is :
BWt = BW0 * exp*(L/K(1 - exp(-Kt))).
The equation includes parameters such as BWt (recorded body weight at age t), BW0 (estimated weight at hatching), L (initial specific growth rate), and K (maturation rate or exponential factor of decay of the specific growth rate).
how can i go about developing the code.
line in the data stands from the animal breed in other terms. this is a sample of the data set. otherwise, the data set is huge.
LINE | BW0 | WEEK | BWT |
F01 | 39.0 | 2 | 153.6 |
F01 | 39.0 | 2 | 128.4 |
F01 | 37.0 | 2 | 143.2 |
F01 | 31.8 | 2 | 107.0 |
F01 | 32.6 | 2 | 144.6 |
F01 | 32.4 | 2 | 117.2 |
F01 | 35.6 | 2 | 154.2 |
F01 | 37.4 | 2 | . |
F01 | 33.4 | 2 | 66.6 |
F01 | 32.0 | 2 | 92.6 |
F01 | 37.6 | 2 | 154.0 |
F01 | 34.8 | 2 | 125.6 |
F01 | 34.4 | 2 | 113.8 |
F01 | 37.2 | 2 | 146.8 |