  <textarea id="source">
class: center, middle, inverse, title-slide

.title[
# Fitting the outcome model
]
.author[
### Malcolm Barrett
]
.institute[
### RStudio, PBC
]
.date[
### 2021-09-01 (updated: 2022-07-23)
]

---




## Outcome Model


```r
library(broom)

lm(outcome ~ exposure, data = df, weights = wts) %&gt;% 
  tidy()
```

--
‚úÖ This will get us the point estimate  
--

‚ùå This will get NOT us the correct confidence intervals  
--

üì¶ {rsample}
---

&lt;span class = "num"&gt;1&lt