getED: Error in Distribution (ED)

Description Usage Arguments Value Examples

Description

Computes the ration between absolute sum of residuals (estimated - known) and the actual population size.

ED_i = \frac{|∑ w_j - pop_i|}{pop_i}

Usage

1
getED(population_size, simulated_weights)

Arguments

population_size

known population size

simulated_weights

simulated weights

Value

error in distribution

Examples

1
2
getED(10, 20)
getED(30, 40)

emunozh/testmsim documentation built on May 16, 2019, 5:11 a.m.