public_power_logistic: Logistic regression public power

View source: R/public_test_power.R

public_power_logisticR Documentation

Logistic regression public power

Description

Function that computes the power of public logistic regression for a given effect size.

Usage

public_power_logistic(nsims, n, d, effect_size, alpha)

Arguments

nsims

Number of times to run the test.

n

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

d

Number of parameters (number of columns in the database).

effect_size

The quotient of the parameter of interest (beta) and the standard deviation of the noise (sigma).

alpha

The significance level.

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.