Skip to contents

Returns distribution statistics in a tibble.

Usage

util_inverse_weibull_stats_tbl(.data)

Arguments

.data

The data being passed from a tidy_ distribution function.

Value

A tibble

Details

This function will take in a tibble and returns the statistics of the given type of tidy_ distribution. It is required that data be passed from a tidy_ distribution function.

Author

Steven P. Sanderson II, MPH

Examples

library(dplyr)

set.seed(123)
tidy_inverse_weibull() |>
  util_inverse_weibull_stats_tbl() |>
  glimpse()
#> Rows: 1
#> Columns: 16
#> $ tidy_function     <chr> "tidy_inverse_weibull"
#> $ function_call     <chr> "Inverse Weibull c(1, 1, 1)"
#> $ distribution      <chr> "Inverse Weibull"
#> $ distribution_type <chr> "continuous"
#> $ points            <dbl> 50
#> $ simulations       <dbl> 1
#> $ mean              <dbl> 7.425761
#> $ median            <dbl> 1.184009
#> $ mode              <dbl> 0.04786914
#> $ range             <chr> "0 to Inf"
#> $ std_dv            <dbl> 224.0202
#> $ coeff_var         <dbl> 30.16798
#> $ computed_std_skew <dbl> 3.186903
#> $ computed_std_kurt <dbl> 11.84056
#> $ ci_lo             <dbl> 0.274315
#> $ ci_hi             <dbl> 31.62556