genophenoenvo / terraref-datasets

Repository for code and small datasets derived from the TERRA REF program
MIT License
0 stars 3 forks source link

Sorghum bicolor modeling: height vs. gdd #107

Closed rbartelme closed 3 years ago

rbartelme commented 4 years ago

Rewritten objectives:

rbartelme commented 4 years ago

Found the above for a single cultivar using @KristinaRiemer's example. However, I had issues with outliers in the cultivar example, since the max c in the tutorial was quite different than the data from the database. Two dates had canopy heights above the final max. Maybe this was panicle height? And it's mislabeled in the db?

rbartelme commented 4 years ago

Underestimated difficulty of task, moving to next sprint and adjusting points accordingly.

dlebauer commented 4 years ago

Note that the tutorials were written with the intention of using the simplest model that could illustrate this approach. This fits a growth curve for each cultivar independently, but it would be good to fit all cultivars at the same time. This would help reduce the influence of outliers.

Here is an example with nlme: https://stackoverflow.com/a/55779001 and for a Bayesian approach (which might be over complicated but could allow more flexibility when dealing with missing data) check out other examples with the brms interface to Stan, such as this https://bookdown.org/ajkurz/Statistical_Rethinking_recoded/monsters-and-mixtures.html.

rbartelme commented 3 years ago

Model successfully ran on a subset of the data, with the markov chains converging. Follow up issues for next sprint will be created to derive values for the logistic growth equation.