sim_unimodal | R Documentation |
Simulate test scores from a negative-hypergeometric (beta-binomial) distribution, according to Keats & Lord (1962).
sim_unimodal(n, x_mean, x_var, N_item, seed = NULL, name = NULL)
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. |
Simulate test scores from a negative-hypergeometric (beta-binomial) distribution, according to Keats & Lord (1962).
Simulated values.
Daniel Leon Acuna, dnacuna@uc.cl
Keats, J. A., & Lord, F. M. (1962). A theoretical distribution for mental test scores. Psychometrika, 27(1), 59-72.
sim_unimodal(2354, 27.06, 8.19^2, 40) # GANA
sim_unimodal(name="TQS8")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.