# What does p0 in curve\_fit of LsqFit package mean?

**URL:** <https://discourse.julialang.org/t/what-does-p0-in-curve-fit-of-lsqfit-package-mean/6861>\
**Category:** General Usage\
**Tags:** package, statistics\
**Created:** [November 3, 2017, 6:02pm UTC](https://discourse.julialang.org/t/what-does-p0-in-curve-fit-of-lsqfit-package-mean/6861 "2017-11-03T18:02:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jwu/32/3775_2.png) [@jwu](https://discourse.julialang.org/u/jwu)\
**Post date:** [November 3, 2017, 6:02pm UTC](https://discourse.julialang.org/t/what-does-p0-in-curve-fit-of-lsqfit-package-mean/6861/1 "2017-11-03T18:02:11Z")

</div>

In the LsqFit package, the curve\_fit function require a parameter called p0.

> **[GitHub - JuliaNLSolvers/LsqFit.jl: Simple curve fitting in Julia](https://github.com/JuliaNLSolvers/LsqFit.jl)**
>
> Simple curve fitting in Julia. Contribute to JuliaNLSolvers/LsqFit.jl development by creating an account on GitHub.

what does it mean?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [November 3, 2017, 6:12pm UTC](https://discourse.julialang.org/t/what-does-p0-in-curve-fit-of-lsqfit-package-mean/6861/2 "2017-11-03T18:12:16Z")

</div>

Initial guess for the parameters

---

<div class="post-metadata">

**Author:** ![jwu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jwu/32/3775_2.png) [@jwu](https://discourse.julialang.org/u/jwu)\
**Post date:** [November 3, 2017, 6:14pm UTC](https://discourse.julialang.org/t/what-does-p0-in-curve-fit-of-lsqfit-package-mean/6861/3 "2017-11-03T18:14:44Z")

</div>

thanks!

---

<div class="post-metadata">

**Author:** ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)\
**Post date:** [November 3, 2017, 6:21pm UTC](https://discourse.julialang.org/t/what-does-p0-in-curve-fit-of-lsqfit-package-mean/6861/4 "2017-11-03T18:21:40Z")

</div>

Note that this is documented in the `README` though the incorrect formatting of the `jacobian` argument might have made it harder to discover…

---

<div class="post-metadata">

**Author:** ![jwu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jwu/32/3775_2.png) [@jwu](https://discourse.julialang.org/u/jwu)\
**Post date:** [November 3, 2017, 6:28pm UTC](https://discourse.julialang.org/t/what-does-p0-in-curve-fit-of-lsqfit-package-mean/6861/5 "2017-11-03T18:28:23Z")

</div>

I should notice that in the first place.
