logistic_p_val: Test of tests logistic p-value

View source: R/logistic_implementation.R

logistic_p_valR Documentation

Test of tests logistic p-value

Description

Function that computes the p-value from a single run of the Test of Tests logistic regression.

Usage

logistic_p_val(df, groups, M, theta_0, epsilon)

Arguments

df

A dataframe with the response variable as the first column and the remaining columns explanatory variables.

groups

A vector with the group number of each observation.

M

The number of subsamples.

theta_0

The threshold.

epsilon

The privacy parameter.

Value

The output will be a double between 0 and 1.


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