Closed joseph-hellerstein closed 3 years ago
Feedback from Predici on Observed & Fitted curves that include mean and standard deviations of fitted values from bootstrap.
As an added feature, would it be possible to surround this third (optimum) curve with a shaded area, representing (in some sense) the "95% confidence interval" ? This would be a measure most medical doctors and biologists would readily understand, and the results could be easier to publish in more publications, even those less mathematically savy . Again, this is just a suggestion for the package to be, and maybe useful for a larger group, not a requirement.
What is being requested is a confidence interval around the fitted values. This can be done using a bootstrap approach in which residuals for the simulation for a set of parameters are used to estimate standard deviations. The desired output is a shaded region, not error bars.
Other possible plots can be seen in Chapter 11.6 of Herbert's Pathways Modeling Book.
Implemented band plots to describe confidence regions for fitted values.