dmean {synthesizer} | R Documentation |
Summarization of location and spread between synthetic and real data
Description
For each numerical variable in the two datasets, compute the relative difference between the mean (standard deviation) of the real data and the mean (standard deviation) of the synthetic data. The summary is the average of these relative differences over all numerical variables.
Usage
dmean(synth, real, tol = 1e-08, ...)
dsd(synth, real, tol = 1e-08, ...)
Arguments
synth |
|
real |
|
tol |
|
... |
Arguments passed to |
Note
Real and synthetic data are expected to have the same column names, orders, and data types.
See Also
Other measures:
dcor()
,
pmse()
,
qa()
Other measures:
dcor()
,
pmse()
,
qa()
Examples
dmean(cars, cars) # 0
dmean(synthesize(cars), cars)
dsd(cars, cars) # 0
dsd(synthesize(cars), cars)