getSAE: Standardized absolute error (SAE)

Description Usage Arguments Value Examples

View source: R/internalValidation.R

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 13, 2017, 6:06 p.m.