View source: R/public_test_power.R
public_power_lm | R Documentation |
Function that computes the power of public linear regression for a given design matrix and effect size.
public_power_lm(X, effect_size, alpha)
X |
A design matrix for a regression. Must have at least two columns. |
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.