Skip to contents

Returns distribution statistics in a tibble.

Usage

util_burr_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)

tidy_burr() |>
  util_burr_stats_tbl() |>
  glimpse()
#> Rows: 1
#> Columns: 16
#> $ tidy_function     <chr> "tidy_burr"
#> $ function_call     <chr> "Burr c(1, 1, 1, 1)"
#> $ distribution      <chr> "Burr"
#> $ distribution_type <chr> "continuous"
#> $ points            <dbl> 50
#> $ simulations       <dbl> 1
#> $ mean              <dbl> 1.5
#> $ mode              <dbl> 0
#> $ median            <dbl> 1
#> $ coeff_var         <dbl> -0.75
#> $ skewness          <dbl> 1.31969
#> $ kurtosis          <dbl> 9
#> $ computed_std_skew <dbl> 5.950949
#> $ computed_std_kurt <dbl> 38.88792
#> $ ci_lo             <dbl> 0.03208211
#> $ ci_hi             <dbl> 41.55054