Estimate Ratio
Description
Section titled “Description”Estimate Ratio
estimate_ratio( object, intent, domain_pairing = "all", include_components = FALSE)
## S4 method for signature 'PostStratifiedRatioEstimator'estimate_ratio( object, intent, domain_pairing = c("all", "matched"), include_components = FALSE)Arguments
Section titled “Arguments”object: A PostStratifiedRatioEstimator object.intent: Afiaplyr_ratio_intentobject, usually created viaratio(tree(...), cond(...)).domain_pairing: Domain pairing strategy, either"all"(default) for all numerator/denominator domain combinations or"matched"to only retain rows where both sides share the same domain columns and values.include_components: Logical; ifTRUE, append numerator and denominator component estimates and standard errors (estimate_n,se_n,estimate_d,se_d) to the output.
Additional Details
Section titled “Additional Details”Functions
estimate_ratio(PostStratifiedRatioEstimator): Estimate ratio for PostStratifiedRatioEstimator