dot-get.gen.index: Calculate Generalizability Index

.get.gen.indexR Documentation

Calculate Generalizability Index

Description

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

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).

Value

the generalizability index, a value between 0 and 1, where a higher score indicates greater similarity

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.


NUstat/generalizeR documentation built on Feb. 7, 2024, 6:39 p.m.