Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
3e0e568
add helper functions for correlation-aware uniformity test
florence-bockting Feb 20, 2026
c02215c
incorporate in ppc_loo_pit_ecdf correlation-aware uniformity test
florence-bockting Feb 20, 2026
0d58176
add tests for updated ppc_loo_pit_ecdf function
florence-bockting Feb 20, 2026
ee2a3fc
formatting and efficiency improvements
florence-bockting Feb 21, 2026
583b3e2
improve description and computation of uniformity tests for pcc_loo_p…
florence-bockting Feb 21, 2026
317a753
add unit-tests for dependence-aware uniformity tests
florence-bockting Feb 21, 2026
3afa4ac
do not remove NA when using sort() in pot_test
florence-bockting Feb 21, 2026
c8e63fd
move unittest for uniformity tests from test-ppc-loo.R to test-helper…
florence-bockting Feb 21, 2026
609f48f
improve descripting and naming of function to compute shapley values
florence-bockting Feb 21, 2026
bbfedc5
improve descripting and naming of function to compute shapley values
florence-bockting Feb 21, 2026
18f6539
add unittest for compute_shapley_values
florence-bockting Feb 21, 2026
2ca91a3
improve computation of Cauchy combination test and std. Cauchy values
florence-bockting Feb 21, 2026
d6a18ce
make variable namings more descriptive
florence-bockting Feb 21, 2026
8b55c2f
add unittests for Cauchy combination test
florence-bockting Feb 21, 2026
da23cdf
improve efficiency of influential_points_idx
florence-bockting Feb 21, 2026
32a4087
add unittests for influential_points_idx
florence-bockting Feb 21, 2026
7ca5b9b
update unittests for ppc_loo_pit_ecdf
florence-bockting Feb 21, 2026
a66358f
remove influential_points_idx function
florence-bockting Feb 23, 2026
d62cd06
remove unittests for influential_points_idx
florence-bockting Feb 23, 2026
753053f
remove infl_points_only argument, add linewith, color arguments, and …
florence-bockting Feb 23, 2026
1ae2595
minor fixes in plotting behavior (fontsize, linestyle) and input vali…
florence-bockting Feb 23, 2026
270f67e
adjust tests to new ppc_loo_pit_ecdf implementation
florence-bockting Feb 23, 2026
7489701
add compute_cauchy function
florence-bockting Feb 23, 2026
22048bd
transition from -qcauchy(x) to compute_cauchy(x)
florence-bockting Feb 23, 2026
8180cb7
add unittests for compute_cauchy
florence-bockting Feb 23, 2026
703b9f0
minor adjustments for regression-tests
florence-bockting Feb 23, 2026
7f6fb12
change svg snapshots for regression tests
florence-bockting Feb 23, 2026
11086f9
improve documentation for arguments linewidth, color in ppc_loo_pit_ecdf
florence-bockting Feb 23, 2026
5321ac0
update PPC-loo.Rd file with new arguments
florence-bockting Feb 23, 2026
478e96e
add tests for plot_diff=TRUE and method=correlated
florence-bockting Feb 23, 2026
779ef51
add svg for regression testing for new test
florence-bockting Feb 23, 2026
5a03314
add note section to ppc_loo_pit_ecdf to announce new method
florence-bockting Feb 23, 2026
b7c7f17
update documentation file (.Rd) incl. note section for ppc_loo_pit_ecdf
florence-bockting Feb 23, 2026
430f624
remove TODOs from comments
florence-bockting Feb 23, 2026
31f0263
fix ticks around interval in documentation
florence-bockting Feb 23, 2026
c9312f0
adjust data, mapping in gggplot
florence-bockting Feb 23, 2026
81e667c
update information for 'linewidth' argument
florence-bockting Feb 23, 2026
1bee0b4
add POT as default test and reduce user info messages
florence-bockting Feb 24, 2026
e4ad57f
update documentation for gamma arg in ppc_loo_pit_ecdf
florence-bockting Feb 24, 2026
0b5d109
use dot prefix for internal functions
florence-bockting Feb 24, 2026
765d746
fix changed variable names in test file
florence-bockting Feb 24, 2026
eac060d
add truncate=TRUE in pot_test
florence-bockting Feb 25, 2026
06cdc7b
add p-value information in title of ppc_loo_pit_ecdf
florence-bockting Feb 25, 2026
2b76024
add check for length of p-values for truncated CCT
florence-bockting Feb 25, 2026
7db2b65
adjust ppc_loo_pit_ecdf test for single value
florence-bockting Feb 25, 2026
4946753
update refernce svgs for visual regression test (incl. title)
florence-bockting Feb 25, 2026
ccfbc1a
change highlighting color to red
florence-bockting Mar 2, 2026
c00ad95
add knitting output to gitignore
florence-bockting Mar 2, 2026
90a1383
add initial draft for ppc-loo-pit vignette
florence-bockting Mar 2, 2026
d853acb
add p-value info as text instead of title to plot
Mar 2, 2026
b513a07
add automatic scaling to y-axis
Mar 2, 2026
4129c0d
add updated snapshots for visual regression tests
Mar 2, 2026
2735976
add draft vignette to gitignore
Mar 2, 2026
921c7ce
fix typo in .gitignore
Mar 2, 2026
5f4e55b
change geom_abline to geom_segment to adhere to 0-1 intervall
Mar 2, 2026
6bede23
update snapshots for visual regression test
Mar 2, 2026
2e15767
update snapshot for ppc-loo-pit-overlay-boundary
Mar 2, 2026
a7e26a6
add draft vignette to .gitignore
Mar 2, 2026
d4461a6
add additional arguments required for method='correlated'
Mar 2, 2026
04cd4dd
modify ppc_pit_ecdf to support method='correlated'
Mar 2, 2026
9ff1038
add helper functions for uniformity tests
Mar 2, 2026
23ae49f
update parameter description
Mar 2, 2026
d063088
add tests for updated ppc_pit_ecdf()
Mar 2, 2026
c11b413
minor theme adjustments and add help_text arg
Mar 3, 2026
faa3371
add new tests for adjusted themes
Mar 3, 2026
3c9de38
add updated snapshots for visual regression tests
Mar 3, 2026
916f998
update snapshots
Mar 3, 2026
bf8314c
add updated documentation
Mar 3, 2026
2314080
update snapshots for visual regression test
Mar 3, 2026
fccc4b5
fix function call in tests
Mar 3, 2026
23e7629
update snapshots
florence-bockting Mar 3, 2026
cf491d5
update default colors in description
Mar 3, 2026
4ed7c4d
Merge branch 'dependence-aware-LOO-PIT' of https://github.com/florenc…
Mar 3, 2026
8c3cbf9
update gitignore
Mar 3, 2026
9f054bf
update default color from black to grey60
Mar 3, 2026
65acdcb
update gitignore
Mar 4, 2026
4fd02e1
update theme for ppc_loo_pit_ecdf
Mar 4, 2026
8d2f2ff
update snapshots for regression test
Mar 4, 2026
237daba
udpate theme for correlated method
Mar 4, 2026
73f04e7
update gitignore
Mar 4, 2026
f14ac9c
update ppc_pit_ecdf to match changes in ppc_loo_pit_ecdf
Mar 4, 2026
3b28269
update unittests for ppc_pit_ecdf
Mar 4, 2026
7e7d0fd
add new snapshots for visual regression tests
Mar 4, 2026
da13a32
Merge branch 'dependence-aware-LOO-PIT' into dependence-aware-pit
florence-bockting Mar 4, 2026
0a7726b
update documentation for ppc_pit_ecdf
Mar 4, 2026
d20319a
add further visual regression tests
Mar 4, 2026
55db9fe
fix duplicate naming in visual regression tests
Mar 4, 2026
6a876fc
update snapshots for visual regression tests
Mar 4, 2026
9b184d4
Merge branch 'dependence-aware-pit' of https://github.com/florence-bo…
Mar 4, 2026
af4f534
Merge pull request #5 from florence-bockting/dependence-aware-pit
florence-bockting Mar 4, 2026
494dce8
add pareto_pit function temporarily until available via posterior
Mar 5, 2026
7858120
add pareto_pit function temporarily until available via posterior
Mar 5, 2026
1a6d84c
update ppc_loo_pit_ecdf to support pareto_pit & minor refactoring to …
Mar 5, 2026
06c5480
add test for ppc_loo_pit_ecdf with pareto_pit support
Mar 5, 2026
17e2f2e
fix typo in x-label
Mar 5, 2026
2d98929
add test name in helper text
Mar 5, 2026
cefd75b
fix test regarding xlabel (changed from LOO PIT to PIT)
Mar 5, 2026
0e69933
update snapshots for visual regression test
Mar 5, 2026
5d65272
fix that pareto_pit default can be changed by the user
Mar 5, 2026
d252f41
add pareto_pit support for ppc_pit_ecdf
Mar 5, 2026
353b56b
add test for checking correct PIT computation
Mar 5, 2026
846efae
add test for correct PIT comptutation with ppc_pit_ecdf
Mar 5, 2026
90ecc79
update snapshots for visual regression test
Mar 5, 2026
eb39bd8
change default pareto_pit from True to False for method='independent'
florence-bockting Mar 5, 2026
7864f97
add test for using ppc_pit_ecdf with brms::pp_check()
florence-bockting Mar 5, 2026
caa00b9
add args-methods-dots to man-roxygen folder
florence-bockting Mar 5, 2026
dcb7663
update documentation
florence-bockting Mar 5, 2026
49edab2
remove necessary weights for method='independent' and pareto_pit=True
florence-bockting Mar 5, 2026
a22e857
adjust test for ppc_pit with pp_check
florence-bockting Mar 5, 2026
53338ad
change x-axis to LOO PIT
florence-bockting Mar 5, 2026
67d2efa
adjust p-value formatting for ppc_loo_pit_ecdf
florence-bockting Mar 5, 2026
c25db11
remove weights from arguments for ppc_pit_ecdf
florence-bockting Mar 5, 2026
86b7cc7
add helper for formatting p-value
florence-bockting Mar 5, 2026
ab01660
add unittest for p-value-formatting helper
florence-bockting Mar 5, 2026
ad98d4b
update tests for ppc_pit_ecdf
florence-bockting Mar 5, 2026
19a3327
add snapshots for visual regression tests
florence-bockting Mar 5, 2026
12dda8c
fix x-axis label to LOO-PIT
Mar 6, 2026
309cbe3
adjust internal referencing
Mar 6, 2026
30cf5c6
update documentation for ppc_pit_ecdf
Mar 6, 2026
116ce8f
minor change in code comment
Mar 6, 2026
133d292
update documentation files
Mar 6, 2026
152bf29
update snapshots for regression test
Mar 6, 2026
16dbbee
update references in documentation
Mar 6, 2026
4a7704f
add brms as testing dependeny
Mar 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,17 @@ release-prep.R

# vscode/positron/etc settings
.vscode/*

# ignore draft vignette
vignettes/ppc_loo_pit.Rmd
vignettes/test_greyscale.qmd

# internal knitting of vignettes
*_cache
*_files
vignettes/*.quarto
vignettes/*.html
vignettes/.gitignore

# visual regression test
tests/vdiffr.Rout.fail
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Imports:
tidyselect,
utils
Suggests:
brms (>= 2.23.0),
ggdist,
ggfortify,
gridExtra (>= 2.2.1),
Expand Down
7 changes: 7 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ S3method(nuts_params,stanreg)
S3method(parameter_names,array)
S3method(parameter_names,default)
S3method(parameter_names,matrix)
S3method(pareto_pit,default)
S3method(pareto_pit,draws_matrix)
S3method(pareto_pit,rvar)
S3method(plot,bayesplot_grid)
S3method(plot,bayesplot_scheme)
S3method(pp_check,default)
Expand Down Expand Up @@ -55,6 +58,7 @@ export(example_y_data)
export(example_yrep_draws)
export(facet_bg)
export(facet_text)
export(gpdfit)
export(grid_lines)
export(hline_0)
export(hline_at)
Expand Down Expand Up @@ -115,6 +119,8 @@ export(panel_bg)
export(param_glue)
export(param_range)
export(parcoord_style_np)
export(pareto_pit)
export(pgeneralized_pareto)
export(plot_bg)
export(pp_check)
export(ppc_bars)
Expand Down Expand Up @@ -190,6 +196,7 @@ export(ppd_stat_data)
export(ppd_stat_freqpoly)
export(ppd_stat_freqpoly_grouped)
export(ppd_stat_grouped)
export(qgeneralized_pareto)
export(rhat)
export(scatter_style_np)
export(theme_default)
Expand Down
Loading
Loading