treePostEfficient: Function to efficiently estimate noisy node counts

Description Usage Arguments Value

View source: R/statistic-tree.R

Description

Function to efficiently estimate noisy node counts

Usage

1
treePostEfficient(release, treeData, n, variance, terminalIndex)

Arguments

release

The truncated differentially private noisy binary tree in vector form

treeData

Data frame with binary tree attributes, including depth and indicators of parent and adjacent nodes. Note that nrow(treeData) == length(release)

n

Number of observations

variance

The variance of the noise used to perturb tree nodes

terminalIndex

Vector of indices corresponding to the terminal leaf nodes of the binary tree

nNodes

Number of nodes in the binary tree, also length(release)

Value

Efficient differentially private binary tree


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.