# How do I get lower and upper bounds for a confidence band using LsqFit.jl?

**URL:** https://discourse.julialang.org/t/how-do-i-get-lower-and-upper-bounds-for-a-confidence-band-using-lsqfit-jl/88519
**Category:** General Usage
**Tags:** statistics, fit, curve-fitting, plot
**Created:** [October 10, 2022, 11:25am UTC](https://discourse.julialang.org/t/how-do-i-get-lower-and-upper-bounds-for-a-confidence-band-using-lsqfit-jl/88519 "2022-10-10T11:25:58Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![ultrapoci](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ultrapoci/32/25356_2.png) [@ultrapoci](https://discourse.julialang.org/u/ultrapoci)
#### Post date: [October 10, 2022, 1:27pm UTC](https://discourse.julialang.org/t/how-do-i-get-lower-and-upper-bounds-for-a-confidence-band-using-lsqfit-jl/88519/3 "2022-10-10T13:27:02Z")

</div>

Basically, I’m trying to understand how to draw a confidence band over the fitted function on a plot. I searched online and I didn’t found a lot of info, except other programs or languages that do this automatically, and [an example using GLM](https://discourse.julialang.org/t/plot-the-confidence-interval-for-a-model-fit/37767).

---

_[View the full topic](https://discourse.julialang.org/t/how-do-i-get-lower-and-upper-bounds-for-a-confidence-band-using-lsqfit-jl/88519)._
