aprioriDuplicityProb: Apriori probability of duplicity.

Description Usage Arguments Value

View source: R/aprioriDuplicityProb.R

Description

Apriori probability of duplicity, i.e. the probability of a device to be in a 2-to-1 correspondence with the person who holds it. It is computed as 2 * (Ndev-Ndev2) / (Ndev * (Ndev-1)) where Ndev is the total number of devices and Ndev2 is the number of devices that are in a 1-to-1 correspondence with the persons that hold them.

Usage

1
aprioriDuplicityProb(prob2Devices, ndevices)

Arguments

prob2Devices

The probability of a person to have 2 devices. In case of using simulated data, this parameter is read from the simulation configuration file.

ndevices

The number of devices detected by the network during the time horizon under consideration.

Value

Apriori probability of duplicity, i.e. the probability of a device to be in a 2-to-1 correspondence with the person who holds it.


bogdanoancea/deduplication documentation built on Dec. 2, 2020, 11:22 p.m.