Skip to content

Commit

Permalink
try another tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlabayle committed Feb 11, 2025
1 parent 26a2251 commit 37545a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TMLE.jl is a Julia implementation of the Targeted Minimum Loss-Based Estimation

The following plot illustrates the bias reduction achieved by TMLE over a mis-specified linear model in the presence of confounding. Note that in this case, TMLE also uses mis-specified models but still achieves a lower bias due to the atrgeting step.

```@eval
```@setup intro_setup
using GLM
using Distributions
using Random
Expand Down Expand Up @@ -103,11 +103,10 @@ n = 1000
ATE₀ = β + γ
β̂s_confounded, β̂s_unconfounded, tmles_confounded, tmles_unconfounded = bootstrap_analysis(;B=B, α=α, β=β, γ=γ, n=n, ATE₀=ATE₀)
fig = plot(β̂s_confounded, β̂s_unconfounded, tmles_confounded, tmles_unconfounded, β, ATE₀)
nothing
save("home_simulation.png", fig)
```

[]("home_simulation.png")
![Home Illustration]("home_simulation.png")

## Installation

Expand Down

0 comments on commit 37545a5

Please sign in to comment.