.get.gen.index | R Documentation |
This function is easiest to use through 'assess()' but can also be used independently.
.get.gen.index(sample_ps, pop_ps)
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 |
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).
the generalizability index, a value between 0 and 1, where a higher score indicates greater similarity
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.