Skip to content

Commit

Permalink
final vignette update
Browse files Browse the repository at this point in the history
  • Loading branch information
michellepistner committed May 18, 2024
1 parent 8954aba commit c53a162
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vignettes/introduction-to-fido.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ p <- plot(priors, par="Lambda")
p + ggplot2::xlim(c(-10, 10))
```

![](figure/unnamed-chunk-7-1.png)
![](pibble-priors.png)

This looks fairly reasonable to me. So I am going to go ahead and
fit the model with data. `fido` provides a helper method called `refit`
Expand Down Expand Up @@ -322,7 +322,7 @@ object as in our `priors` object].
ppc(posterior) + ggplot2::coord_cartesian(ylim=c(0, 30000))
```

![](figure/unnamed-chunk-10-1.png)
![](pibble-ppc.png)

There are a few things to note about this plot. First, when zoomed out like this
it looks it is hard to make much of it. This is a fairly large dataset we are
Expand Down Expand Up @@ -353,7 +353,7 @@ than the other.
ppc(posterior, from_scratch=TRUE) +ggplot2::coord_cartesian(ylim=c(0, 30000))
```

![](figure/unnamed-chunk-12-1.png)
![](pibble-ppc-sum.png)

```r
ppc_summary(posterior, from_scratch=TRUE)
Expand All @@ -376,7 +376,7 @@ plot(posterior, par="Lambda", focus.coord = focus, focus.cov = rownames(X)[2:4])
#> Adding another scale for colour, which will replace the existing scale.
```

![](figure/unnamed-chunk-13-1.png)
![](pibble-CD-clr.png)

The first, and most obvious ting to notice is that the covariate `age` has pretty
much no effect at all, whatever effect it may have is incredibly weak. So
Expand Down Expand Up @@ -424,7 +424,7 @@ plot(posterior, par="Lambda", focus.coord = focus, focus.cov = rownames(X)[2])
#> Adding another scale for colour, which will replace the existing scale.
```

![](figure/unnamed-chunk-14-1.png)
![](pibble-posterior-summary.png)


# More Technical Details
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit c53a162

Please sign in to comment.