deround.z.uniform: Draw derounded z assuming missing digits of mu and sigma are...

Description Usage Arguments

View source: R/deround.R

Description

Draw derounded z assuming missing digits of mu and sigma are uniformly distributed

Usage

1
2
3
4
5
6
deround.z.uniform(
  mu,
  sigma,
  mu.dec = pmax(num.deci(mu), num.deci(sigma)),
  sigma.dec = mu.dec
)

Arguments

mu

Reported coefficient, possibly rounded

sigma

Reported standard error, possibly rounded.

mu.dec

Number of decimal places mu is reported to. Usually, we would assume that mu and sigma are rounded to the same number of decimal places. Since trailing zeros may not be detected, we set the default mu.dec=pmax(num.deci(mu),num.deci(sigma)).

sigma.dec

By default equal to mu.dec.


skranz/RoundingMatters documentation built on Dec. 23, 2021, 3:23 a.m.