Skip to content

Commit

Permalink
Document problems with ppc_stat with stat="mean"
Browse files Browse the repository at this point in the history
closes #321
  • Loading branch information
jgabry committed Jul 31, 2024
1 parent 1f66c7f commit 86b8d44
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
15 changes: 10 additions & 5 deletions R/ppc-test-statistics.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#' PPC test statistics
#'
#' The distribution of a (test) statistic `T(yrep)`, or a pair of (test)
#' statistics, over the simulated datasets in `yrep`, compared to the
#' observed value `T(y)` computed from the data `y`. See the
#' **Plot Descriptions** and **Details** sections, below, as
#' well as [Gabry et al. (2019)](https://github.com/jgabry/bayes-vis-paper#readme).
#' @description The distribution of a (test) statistic `T(yrep)`, or a pair of
#' (test) statistics, over the simulated datasets in `yrep`, compared to the
#' observed value `T(y)` computed from the data `y`. See the
#' **Plot Descriptions** and **Details** sections, below, as
#' well as Gabry et al. (2019).
#'
#' **NOTE:** Although the default test statistic
#' is the mean, this is unlikely to detect anything interesting in most cases.
#' In general we recommend using some other test statistic as discussed in
#' Section 5 of Gabry et al. (2019).
#'
#' @name PPC-test-statistics
#' @aliases PPC-statistics
Expand Down
11 changes: 8 additions & 3 deletions man/PPC-test-statistics.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 86b8d44

Please sign in to comment.