ci_f_ncp {confintr} | R Documentation |
CI for the Non-Centrality Parameter of the F Distribution
Description
Based on the inversion principle, parametric CIs for the non-centrality parameter (NCP) Delta of the F distribution are calculated. To keep the input interface simple, we do not provide bootstrap CIs here.
Usage
ci_f_ncp(x, df1 = NULL, df2 = NULL, probs = c(0.025, 0.975))
Arguments
x |
The result of |
df1 |
The numerator df. Only used if |
df2 |
The denominator df. Only used if |
probs |
Lower and upper probabilities, by default |
Details
A positive lower (1 - \alpha) \cdot 100\%
-confidence limit for the NCP goes
hand-in-hand with a significant F test at level \alpha
.
According to stats::pf()
, the results might be unreliable for very large F values.
Value
An object of class "cint", see ci_mean()
for details.
References
Smithson, M. (2003). Confidence intervals. Series: Quantitative Applications in the Social Sciences. New York, NY: Sage Publications.
See Also
Examples
fit <- lm(Sepal.Length ~ ., data = iris)
ci_f_ncp(fit)
ci_f_ncp(fit, probs = c(0.05, 1))