Skip to contents

Gets the point-estimate and confidence interval of an object

Arguments

object

A pif_class or cases_class object.

...

Additional parameters to pass to summary (ignored)

Value

A named vector with the point-estimate, confidence interval and standard deviation of a pif_class or a cases_class estimate.

Examples

my_pif <- pif(p = 0.5, p_cft = 0.25, beta = 1.3, var_p = 0.1, var_beta = 0.2)
summary(my_pif)
#>                PIF standard_deviation             ci_low              ci_up 
#>          0.2858350          0.2689564         -0.4940436          0.6586233 
#>         confidence 
#>          0.9500000