SE4power: Calculate Standard Error (SE) associated with a desired level...

View source: R/experimental.R

SE4powerR Documentation

Calculate Standard Error (SE) associated with a desired level of statistical power

Description

Calculate the Standard Error (SE) that is associated with a given power and a given alpha level for a given value of a model parameter B

Usage

SE4power(b, power = 0.8, alpha = 0.05, alternative = "two.sided")

Arguments

power

The desired level of statistical power

alpha

The alpha level (rate of type I errors)

alternative

Whether the statistical test is two sided or one sided. Must be one of "two.sided" (default) or "one.sided"

B

The model parameter B (practically, the effect size)

Value

The numerical value of the Standard Error (SE) associated with the above arguments


filippogambarota/filor documentation built on July 3, 2025, 8:39 p.m.