diag_forced: Forced distribution test.

Description Usage Arguments Details Value Examples

View source: R/diagnostics.R

Description

Test whether all people-variables completely fill out the same grid.

Usage

1
diag_forced(sorts, grid)

Arguments

grid

A positive integer vector of a length covering the range of values, specifying maximum allowed counts for each value. (in Q-parlance, the maximum column heights for the Q-sorts).

Details

If all people-variables display the same value counts, respondents plausibly faced a forced distribution, but this does not strictly speaking follow. It is unlikely, though conceivable, that respondents all adhered to precisely the same distribution, but could have used other available slots.

Whether, or not, a Q dataset should be considered "forced" can therefore only ascertained from a comparison with the physically available grid during the administration of the Q-sort.

In the above, improbable case, the function warns the user of possible misspecification.

Value

A logical value of length 1, TRUE if the distribution is forced, else FALSE.

Examples

1
2
3
sorts <- civicon_2014$qData$sorts[,,"before"]
diag_forced(sorts = sorts,
            grid = diag_distro_max(sorts))

maxheld83/pensieve documentation built on Jan. 21, 2020, 9:16 a.m.