gen_index: Calculate Generalizability Index

Description Usage Arguments Details Value References

View source: R/gen_index.R

Description

This function is easiest to use through 'assess()' but can also be used independently.

Usage

1
gen_index(dat1B, dat2B)

Arguments

dat1B

vector of probabilities of sample participation among individuals in the trial

dat2B

vector of probabilities of sample participation 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.


katiecoburn/generalizeR documentation built on Oct. 28, 2020, 4:43 a.m.