Curve fitting with variance
Show older comments
Hi, I am just curious as to what's the proper way to fit a curve to data and also take into account the variance of the data. Consider this example here https://au.mathworks.com/help/stats/examples/curve-fitting-and-distribution-fitting.html?prodcode=ML&requestedDomain=www.mathworks.com, where they measure concentration at different times. They plot this as a time vs concentration scatter plot and can fit a curve using nlinfit.
I want to know what if I take multiple concentrations measurements for each time. Can I still use nlinfit for this? How can I preserve the variance of concentration in my curve?
Accepted Answer
More Answers (0)
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!