diff --git a/articles/posterior-simulation.html b/articles/posterior-simulation.html index f5f50271..40dce5be 100644 --- a/articles/posterior-simulation.html +++ b/articles/posterior-simulation.html @@ -479,11 +479,12 @@
The resulting plot is shown below in the left-hand panel of the -figure below. There is clearly a problem here; the simulated data don’t -look much like the observations in the 15ms immediately after the impact -and again at ~45ms after impact. This is due to the model we fitted only + scale_alpha_identity() + + theme(legend.position = "bottom") +
The resulting plot is shown in the left-hand panel of the figure
+below. There is clearly a problem here; the simulated data don’t look
+much like the observations in the 15ms immediately after the impact and
+again at ~45ms after impact. This is due to the model we fitted only
being for the conditional mean of accel
.
Instead, we model both the conditional mean and the conditional variance of the data, through linear predictors for both @@ -517,8 +518,8 @@
-The plot of the simulated response data for the distributional GAM is +
+The plot of the simulated response data for the distributional GAM is shown in the right hand panel of the plot. Now, there is much less disagreement between the observed data and that which we can produce from the fitted mdoel.
diff --git a/articles/posterior-simulation_files/figure-html/unnamed-chunk-7-1.png b/articles/posterior-simulation_files/figure-html/unnamed-chunk-7-1.png index 8623f779..301eba41 100644 Binary files a/articles/posterior-simulation_files/figure-html/unnamed-chunk-7-1.png and b/articles/posterior-simulation_files/figure-html/unnamed-chunk-7-1.png differ diff --git a/pkgdown.yml b/pkgdown.yml index cee155fa..9d2f1a13 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -6,7 +6,7 @@ articles: data-slices: data-slices.html gratia: gratia.html articles/posterior-simulation: posterior-simulation.html -last_built: 2024-11-25T14:17Z +last_built: 2024-11-25T14:28Z urls: reference: https://gavinsimpson.github.io/gratia/reference article: https://gavinsimpson.github.io/gratia/articles diff --git a/reference/draw.smooth_samples-2.png b/reference/draw.smooth_samples-2.png index 79c76f9f..957c1e62 100644 Binary files a/reference/draw.smooth_samples-2.png and b/reference/draw.smooth_samples-2.png differ diff --git a/reference/link.html b/reference/link.html index 9bd0f3c8..06f8f0bb 100644 --- a/reference/link.html +++ b/reference/link.html @@ -174,11 +174,11 @@