estimate_participant: Estimate the number of people needed and expected number of...

Description Usage Arguments Value Examples

View source: R/estimate_participant.R

Description

Estimate the number of people needed and expected number of unique properties for a determined coverage based on the estimated norms

Usage

1
estimate_participant(est_norms, target_cover)

Arguments

est_norms

a data frame with the estimated norms (generated by generateNorms)

target_cover

float between 0 and 1, corresponding to coverage (the fraction of the total incidence probabilities of the reported properties that are in the reference sample)

Value

a vector with the extra number of participant to achieve the especific coverage, and the estimate of the number of unique properties listed by the new amount of suggested people

Examples

1
2
estimated_norms=generate_norms(data_test)
estimate_participant(estimated_norms,0.8)

CPNCoverageAnalysis documentation built on Oct. 9, 2021, 5:06 p.m.