View source: R/public_test_power.R
public_power_logistic | R Documentation |
Function that computes the power of public logistic regression for a given effect size.
public_power_logistic(nsims, n, d, effect_size, alpha)
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. |
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.