This function is easiest to use through 'assess()' but can also be used independently.
Usage
.get.gen.index(sample_ps, pop_ps)
Arguments
- sample_ps
vector of probabilities of sample membership among individuals in the sample
- pop_ps
vector of probabilities of sample membership among individuals in the population
Value
the generalizability index, a value between 0 and 1, where a higher score indicates greater similarity
Details
It calculates the generalizability index, a value between 0 and 1, that represents how generalizable a given sample is to a given population on specified covariates. For more information on calculation and interpretation, please see Tipton (2014).
References
Tipton, E. (2014). How generalizable is your experiment? An index for comparing experimental samples and populations. Journal of Educational and Behavioral Statistics, 39(6), 478-501.