View source: R/logistic_implementation.R
logistic_p_val | R Documentation |
Function that computes the p-value from a single run of the Test of Tests logistic regression.
logistic_p_val(df, groups, M, theta_0, epsilon)
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. |
The output will be a double between 0 and 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.