Description Usage Arguments Value Examples
Function for computing Effective Size (Malpass, 1981, as adjusted by Tredoux, 1998) with CIs from bootstrap df of lineups
1 | gen_esize_m_ci(lineupsizes, perc = 0.05)
|
lineupsizes |
A vector of bootstrapped effective sizes |
perc |
Defaults to .05. Can be specified by user, according to desired level of alpha (scalar) |
Confidence intervals for effective size
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #Data:
lineup_vec <- round(runif(100, 1, 6))
k <- 6
#Use gen_boot_samples to get bootstrapped data:
bootdata <- gen_boot_samples(lineup_vec, 1000)
#Compute effective size over df of bootstrapped data:
lineupsizes <- gen_esize_m(bootdata, 6)
#Call:
gen_esize_m_ci(lineupsizes)
gen_esize_m_ci(lineupsizes, perc = .025)
gen_esize_m_ci(lineupsizes, perc = .975)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.