CAP_synthetic_num: Correct Attribution Probability for Synthetic Dataset...

Description Usage Arguments

View source: R/DCAP_functions.R

Description

This function allows you to determine the baseline Correct Attribution Probability (CAP) of a synthetic dataset, relative to an original dataset. The target variable here is numeric.

Usage

1
2
3
4
5
6
7
CAP_synthetic_num(
  dataframe,
  synthetic_dataframe,
  key_variable,
  target_variable,
  y = 2500
)

Arguments

dataframe

dataset

synthetic_dataframe

synthetic dataset

key_variable

key variable

target_variable

target variable

y

Continuous numerical values of the target variable are rounded to the nearest value of y. Default y = 2500.


MUNFAI15/cmf documentation built on Jan. 18, 2022, 6:53 p.m.