Generates a margin of error for a derived sum. The function requires a vector of margins of error involved in a sum calculation, and optionally a vector of estimates associated with the margins of error. If the associated estimates are not specified, the user risks inflating the derived margin of error in the event of multiple zero estimates. It is recommended to inspect your data for multiple zero estimates before using this function and setting the inputs accordingly.
moe_sum(moe, estimate = NULL, na.rm = FALSE)
A vector of margins of error involved in the sum calculation
A vector of estimates, the same length as moe
, associated with the margins of error
A logical value indicating whether missing values (including NaN) should be removed
A margin of error for a derived sum
https://www2.census.gov/programs-surveys/acs/tech_docs/accuracy/MultiyearACSAccuracyofData2015.pdf