A tibble with these columns:
x, sd, n: the inputs.
items_averaged: the number of items averaged into each score.
data_type: the kind of data, as given.
digits_x, digits_sd: the numbers of decimal places, as given.
consistency: GRIMMER consistency of x, sd, n, and items_averaged.
NA for a case that cannot be decided, such as one with a missing value.
reason: "Passed all" if consistent, or "Continuous data" if the
test does not apply; otherwise the test that failed, or why the case
cannot be decided.
Any other columns from data.
The reason column refers to GRIM and the GRIMMER tests of Allard (2018):
The reconstructed sum of squared observations must be a whole number,
and one that n whole numbers with the reconstructed sum can reach: at
least the sum of squares of these numbers as close together as possible.
For n < 5, some larger sums of squares are impossible, too.
The reconstructed SD must match the reported one. Test 1 implies this,
so it is never a reason.
The parity of the reconstructed sum of squared observations must match
that of the reconstructed sum of the values.
A negative sd gives "Negative SD".
Under sd_meaning = "sd_sample_or_pop", a consistent value set gives
"Passed all (sample SD)" or, if it passes as a population SD only,
"Passed all (population SD)". If the two conventions fail for different
reasons, the reason names both, and audit() counts the sample SD's,
as under the default sd_meaning.
The tibble has the class scrutiny_grimmer_map, which is recognized by
audit() and grim_plot_grid().