Estimate confidence intervals for model parameters using permutation testing.
Usage
perm_ci(x, X, nperm, ...)
Arguments
- x
A model fit object.
- X
The original data matrix used to fit the model.
- nperm
The number of permutations to perform for the confidence interval estimation.
- ...
Additional arguments to be passed to the specific model implementation of perm_ci
.
Value
A list containing the estimated lower and upper bounds of the confidence intervals for model parameters.