sim_unimodal {SNSequate} | R Documentation |
Simulate test scores.
Description
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)
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. |
Details
Simulate test scores from a negative-hypergeometric (beta-binomial) distribution, according to Keats & Lord (1962).
Value
Simulated values.
Author(s)
Daniel Leon Acuna, dnacuna@uc.cl
References
Keats, J. A., & Lord, F. M. (1962). A theoretical distribution for mental test scores. Psychometrika, 27(1), 59-72.
Examples
sim_unimodal(2354, 27.06, 8.19^2, 40) # GANA
sim_unimodal(name="TQS8")
[Package SNSequate version 1.3-5 Index]