# Linear regression from scratch using QR decomposition

**URL:** <https://discourse.julialang.org/t/linear-regression-from-scratch-using-qr-decomposition/71363>\
**Category:** General Usage\
**Tags:** linearalgebra, regression, qr\
**Created:** [November 12, 2021, 5:31am UTC](https://discourse.julialang.org/t/linear-regression-from-scratch-using-qr-decomposition/71363 "2021-11-12T05:31:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gustaphe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gustaphe/32/18174_2.png) [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Post date:** [November 12, 2021, 5:43am UTC](https://discourse.julialang.org/t/linear-regression-from-scratch-using-qr-decomposition/71363/2 "2021-11-12T05:43:49Z")

</div>

You can make your code legible by surrounding it with a triple backtick fence. And if you add just a bit of information your question will be self-contained so we can try running your code.

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

---

_[View the full topic](https://discourse.julialang.org/t/linear-regression-from-scratch-using-qr-decomposition/71363)._
