diag_same: Same distribution test.

Description Usage Value Note See Also Examples

Description

Tests whether the value counts are the same for every people-variable.

Usage

1
diag_same(sorts)

Value

A logical vector of length one, TRUE when value counts are the same for all people-variables, else FALSE.

Note

Q data that displays the same value counts for all people-variables is likely to stem from a forced distribution, where respondents had to fill in all physically available slots in the grid, but this need not be so. Hypothetically, if unlikely, some people-variables might follow exactly the same distributions, even though they had more slots available. For more information, see diag_forced().

See Also

Other distribution helpers: diag_distro_max(), diag_distros(), diag_inside_grid()

Examples

1
2
diag_same(sorts = civicon_2014$qData$sorts[,,"before"])
# true, because study used forced Q distribution

maxheld83/pensieveR documentation built on Jan. 21, 2020, 9:15 a.m.