Simulate test scores from a negative-hypergeometric (beta-binomial) distribution, according to
Keats & Lord (1962).
Usage
sim_unimodal(n, x_mean, x_var, N_item, seed = NULL, name = NULL)
Value
Simulated values.
Arguments
n
Size of the resulting sample.
x_mean
Mean of the target distribution.
x_var
Variance of the target distribution.
N_item
Number of items in the test.
seed
Optional. Seed for the random number generator.
name
Optional. Generate X and Y scores from the data according 5 of the proposed distributions
in Keats & Lord (1967). Overrides any other previous parameter input set.