Skip to contents

A generic function for the comparison of synthesised and observed data. The function invokes particular methods that depend on the class of the first argument.

Usage

compare(object, data, ...)

Arguments

object

a synthetic data object of class synds or fit.synds.

data

an original observed data set.

...

additional arguments specific to a method.

Value

The value returned by compare depends on the class of its argument. See the documentation of the particular methods for details.

Details

Compare methods facilitate quality assessment of synthetic data by comparing them with the original observed data sets. The data themselves (for class synds) or models fitted to them (for class fit.synds) are compared.

See also

compare.synds, compare.fit.synds

Examples

if (FALSE) {
compare(synthetic_data, observed_data)
}