A generic function for comparison of synthesised and observed data. The function invokes particular methods which depend on the class of the first argument.
compare(object, data, ...)
The value returned by compare
depends on the class of its argument.
See the documentation of the particular methods for details.
a synthetic data object of class synds
or fit.synds
.
an original observed data set.
additional arguments specific to a method.
Compare methods facilitate quality assessment of synthetic data by comapring
them with the original observed data sets. The data themselves (for class
synds
) or models fitted to them (for class fit.synds
) are
compared.
compare.synds
, compare.fit.synds