Skip to content

Commit

Permalink
Merge pull request #8 from kaybenleroll/create-simple-hier-models
Browse files Browse the repository at this point in the history
create simple hier models
  • Loading branch information
kaybenleroll authored Nov 7, 2023
2 parents 7f6233c + 0e9f12a commit cc322c3
Show file tree
Hide file tree
Showing 27 changed files with 3,226 additions and 2,757 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: kaybenleroll/btydbayes_investigation:latest
tags: kaybenleroll/btydbayes-investigation:latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rocker/tidyverse:4.3.1

COPY build/Rprofile.site /usr/local/lib/R/etc/
COPY build/Renviron.site /usr/local/lib/R/etc/
#COPY build/Rprofile.site /usr/local/lib/R/etc/
#COPY build/Renviron.site /usr/local/lib/R/etc/

ENV TZ=Europe/Dublin

Expand Down
246 changes: 122 additions & 124 deletions construct_cdnow_fixed_pnbd_models.html

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions construct_cdnow_fixed_pnbd_models.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_cdnow_fixed1_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
# as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -490,7 +489,6 @@ We want to check the $N_{eff}$ statistics also.
pnbd_cdnow_fixed2_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -674,7 +672,6 @@ We want to check the $N_{eff}$ statistics also.
pnbd_cdnow_fixed3_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -858,7 +855,6 @@ We want to check the $N_{eff}$ statistics also.
pnbd_cdnow_fixed4_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down
1,232 changes: 677 additions & 555 deletions construct_cdnow_onehier_pnbd_models.html

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions construct_cdnow_onehier_pnbd_models.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_cdnow_onehierlambda1_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -491,7 +490,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_cdnow_onehierlambda2_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -691,7 +689,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_cdnow_onehiermu1_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -875,7 +872,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_cdnow_onehiermu2_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down
188 changes: 95 additions & 93 deletions construct_cdnow_twohier_pnbd_models.html

Large diffs are not rendered by default.

257 changes: 128 additions & 129 deletions construct_longsynth_fixed_pnbd_models.html

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions construct_longsynth_fixed_pnbd_models.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_long_fixed1_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -459,7 +458,6 @@ We want to check the $N_{eff}$ statistics also.
pnbd_long_fixed2_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -634,7 +632,6 @@ We want to check the $N_{eff}$ statistics also.
pnbd_long_fixed3_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down
292 changes: 145 additions & 147 deletions construct_longsynth_onehier_pnbd_models.html

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions construct_longsynth_onehier_pnbd_models.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_long_onehierlambda1_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -483,7 +482,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_long_onehierlambda2_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -686,7 +684,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_long_onehiermu1_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down Expand Up @@ -873,7 +870,6 @@ We also check $N_{eff}$ as a quick diagnostic of the fit.
pnbd_long_onehiermu2_stanfit |>
neff_ratio(pars = c("lambda", "mu")) |>
as.numeric() |>
mcmc_neff() +
ggtitle("Plot of Parameter Effective Sample Sizes")
```
Expand Down
Loading

0 comments on commit cc322c3

Please sign in to comment.