getSAE: Standardized absolute error (SAE)

Description Usage Arguments Value Examples

Description

Divides the getTAE by the know population size.

SAE = ∑_i^n |Tx - \hat{t}x| \div pop_i

Usage

1
getSAE(observed, simulated, population_size)

Arguments

observed

observed marginal sums

simulated

simulated marginal sums

population_size

known population size

Value

standardized absolute error

Examples

1
2
getSAE(10, 20, 5)
getSAE(30, 40, 5)

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