Skip to content

Commit 86b8d44

Browse files
committed
Document problems with ppc_stat with stat="mean"
closes #321
1 parent 1f66c7f commit 86b8d44

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

R/ppc-test-statistics.R

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
#' PPC test statistics
22
#'
3-
#' The distribution of a (test) statistic `T(yrep)`, or a pair of (test)
4-
#' statistics, over the simulated datasets in `yrep`, compared to the
5-
#' observed value `T(y)` computed from the data `y`. See the
6-
#' **Plot Descriptions** and **Details** sections, below, as
7-
#' well as [Gabry et al. (2019)](https://github.com/jgabry/bayes-vis-paper#readme).
3+
#' @description The distribution of a (test) statistic `T(yrep)`, or a pair of
4+
#' (test) statistics, over the simulated datasets in `yrep`, compared to the
5+
#' observed value `T(y)` computed from the data `y`. See the
6+
#' **Plot Descriptions** and **Details** sections, below, as
7+
#' well as Gabry et al. (2019).
8+
#'
9+
#' **NOTE:** Although the default test statistic
10+
#' is the mean, this is unlikely to detect anything interesting in most cases.
11+
#' In general we recommend using some other test statistic as discussed in
12+
#' Section 5 of Gabry et al. (2019).
813
#'
914
#' @name PPC-test-statistics
1015
#' @aliases PPC-statistics

man/PPC-test-statistics.Rd

+8-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)