# How to fit a function to measurements with error?

**URL:** https://discourse.julialang.org/t/how-to-fit-a-function-to-measurements-with-error/65369
**Category:** Data
**Tags:** question, curve-fitting, measurements
**Created:** [July 27, 2021, 1:23pm UTC](https://discourse.julialang.org/t/how-to-fit-a-function-to-measurements-with-error/65369 "2021-07-27T13:23:29Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [August 15, 2021, 12:58pm UTC](https://discourse.julialang.org/t/how-to-fit-a-function-to-measurements-with-error/65369/6 "2021-08-15T12:58:52Z")

</div>

![image](https://global.discourse-cdn.com/julialang/original/3X/7/d/7dcd210bf6d3dc38c57f7b2382ff36abfca22432.png)

Polynomials work, but I agree having LsqFit just work would be great

---

_[View the full topic](https://discourse.julialang.org/t/how-to-fit-a-function-to-measurements-with-error/65369)._
