The resulting data frame is required for derounding b simulting rounding (dsr) approach. It contains a row for all considered combinations of z and s and window half-width h in h.seq. The columns share.below and share.above indicate which share of derounded z-statistics are inside the window and either fall below or above the threshold z0, respectively. Note that 1-share.above-share.below is the share of derounded z-statistics that fall outside the considered window.
1 2 3 4 5 6 7 8 |
dat |
the data frame that should contain at least the columns z and num.deci (number fo decimal places of mu and sigma, maximum of both) |
h.seq |
all considered window half-widths |
z0 |
the significance threshold. Can be a single number or a vector with one element per row of dat. |
min.n |
how many z values shall be minimally rounded to compute the derounded z-distribution for each observation. |
min.rounds |
how many repetitions of rounding z-values shall there be at least (even if min.n is already reached). |
verbose |
Shall some progress information be shown? (This function can take a while). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.