# Linear regression with measurement errors, am I doing it right?

**URL:** <https://discourse.pymc.io/t/linear-regression-with-measurement-errors-am-i-doing-it-right/16235>\
**Category:** v5\
**Tags:** linear\_model, modeling\
**Created:** [December 10, 2024, 3:25pm UTC](https://discourse.pymc.io/t/linear-regression-with-measurement-errors-am-i-doing-it-right/16235 "2024-12-10T15:25:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![cluhmann](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/cluhmann/32/3083_2.png) [@cluhmann](https://discourse.pymc.io/u/cluhmann)\
**Post date:** [December 11, 2024, 3:58pm UTC](https://discourse.pymc.io/t/linear-regression-with-measurement-errors-am-i-doing-it-right/16235/6 "2024-12-11T15:58:16Z")

</div>

This looks like [this discussion](https://discourse.pymc.io/t/how-to-add-weights-to-data-in-bayesian-linear-regression/8362). I would suggest adding a parameter that scales the `value_se` rather than using it as-is.

---

_[View the full topic](https://discourse.pymc.io/t/linear-regression-with-measurement-errors-am-i-doing-it-right/16235)._
