# \#forneylab

**URL:** https://discourse.julialang.org/tag/forneylab/1014.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [ReactiveMP: How to run linear model with multiple predictors and an intercept](https://discourse.julialang.org/t/reactivemp-how-to-run-linear-model-with-multiple-predictors-and-an-intercept/85290)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 9\
**Last updated:** [August 5, 2022, 3:03pm UTC](https://discourse.julialang.org/t/reactivemp-how-to-run-linear-model-with-multiple-predictors-and-an-intercept/85290 "2022-08-05T15:03:15Z")

</div>

Hi there I would like to adapt the linear regression example from the docs to work with multiple predictor variables. So far, I have the following code, which runs. using GraphPPL, Rocket, ReactiveMP, LinearAlgebra n …
