Skip to contents

Prints and returns confidence intervals for both selective and naive estimates. The confidence level is taken from the alpha value stored in the lmFScreen object.

Usage

# S3 method for class 'lmFScreen'
confint(object, ...)

Arguments

object

An object of class lmFScreen containing model results.

...

Additional arguments (currently unused).

Value

Invisibly returns a list containing:

  • Selective: A data frame of confidence intervals for selective estimates

  • Standard: A data frame of confidence intervals for standard estimates

Examples

data(mtcars)
result <- lmFScreen(mpg ~ wt + hp, data = mtcars)
confint(result)
#> 
#> lmFScreen Model Confidence Intervals
#> ------------------------------------------------------
#> Confidence Level: 95.00%
#> Number of predictors: 2
#> ------------------------------------------------------
#> 
#> Selective Confidence Intervals:
#> Predictor       Lower.CI     Upper.CI
#> ---------------------------------------------
#>  wt                -5.1704       -2.5839
#>  hp                -0.0502       -0.0133
#> 
#> Standard Confidence Intervals:
#> Predictor       Lower.CI     Upper.CI
#> ---------------------------------------------
#>  wt                -5.1180       -2.6377
#>  hp                -0.0495       -0.0141
#>