Borealis-BioModeling / aurora-pkpd

Open Python Web App for Pharmcological Modeling and Analysis
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Include the measurement error/deviation in response fitting #12

Open blakeaw opened 3 months ago

blakeaw commented 3 months ago

Currently, the optimize.response_fit function does not use the measurement (y-value) error or standard deviation in the curve fitting. However, it would probably be good to allow this by using something like Chi-squared metric instead of SSE when the error values are passed in to the function. The function has the argument to accept the error values but does not actually use it now.