Skip to content

Commit 177cdaa

Browse files
committed
fix documentation
1 parent 75b2b39 commit 177cdaa

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

R/summary_functions.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#' the relative bias statistic (i.e., divide the bias by the value
2424
#' in \code{parameter}; note that multiplying this by 100 gives the "percent bias" measure, or
2525
#' if Type I error rates (\eqn{\alpha}) are supplied will result in the "percentage error"),
26-
#' \code{'abs_relative'} computes the relative bias but the absolute values of the parameters
27-
#' are used in the denominator rather than the (potentially) signed input values,
26+
#' \code{'abs_relative'} computes the relative bias for each replication independently, takes the
27+
#' absolute value of each term, then computes the mean estimate,
2828
#' and \code{'standardized'} computes the standardized bias estimate
2929
#' (standard bias divided by the standard deviation of the sample estimates)
3030
#'
@@ -64,6 +64,7 @@
6464
#' bias(samp, pop)
6565
#' bias(samp, pop, type = 'relative')
6666
#' bias(samp, pop, type = 'standardized')
67+
#' bias(samp, pop, type = 'abs_relative')
6768
#'
6869
#' dev <- samp - pop
6970
#' bias(dev)

man/bias.Rd

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)