
Check plausibility of a reported mean with the GRIM test (Brown & Heathers 2007)
Source:R/fct_check_grim.R
check_grim.Rd
Performs the GRIM (Granularity-Related Inconsistency of Means) test to assess whether a reported mean is numerically possible given the sample size.
Arguments
- n
Integer. Sample size; a positive whole number.
- target_mean
Numeric. Reported mean to be tested for plausibility.
- decimals
Integer. Number of decimal places in the reported mean.
- tol.r
Numeric. Tolerance for rounding errors; a non-negative value. Default is the square root of machine double precision epsilon.