ff_se_count | R Documentation |
This function calculates the standard error for aggregated count data and summed data. For example, this can be used to calculate the standard error for the total population of Forsyth and Guilford counties.
ff_se_count(se_vec)
se_vec |
A numeric vector of values representing standard errors of count data |
Reference for calculations: US Census Bureau, A Compass for Understanding and Using ACS Data, October 2008, A-14
A numeric value representing the standard error of the aggregate count data.
df <- data.frame(population = round( rnorm(n = 10, mean = 100000, sd = 30000), 0), se = round( rnorm(n = 10, mean = 4000, sd = 1500), 0)) # calculate the aggregate population sum(df$population) # calculate the aggregate standard error ff_se_count(df$se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.