cdf_Barr: Barreintos reference distribution

View source: R/Barrientos_implementation.R

cdf_BarrR Documentation

Barreintos reference distribution

Description

Computes the empirical CDF of the reference distribution for the test statistic of the test proposed by Barrientos et al.

Usage

cdf_Barr(epsilon, n, a, p, M, reps)

Arguments

epsilon

The privacy parameter.

n

Number of observations in the database (number of rows of the design matrix).

a

Truncation parameter.

p

Number of parameters (number of columns of the design matrix).

M

Number of subsamples.

reps

Number of repetitions.

Value

a function with outputs on the interval (0,1)


diff-priv-ht/nonpmRegPkg documentation built on Feb. 6, 2023, 5:22 p.m.