Skip to contents

Returns distribution statistics in a tibble.

Usage

util_logistic_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_logistic() |>
  util_logistic_stats_tbl() |>
  glimpse()
#> Rows: 1
#> Columns: 17
#> $ tidy_function     <chr> "tidy_logistic"
#> $ function_call     <chr> "Logistic c(0, 1)"
#> $ distribution      <chr> "Logistic"
#> $ distribution_type <chr> "continuous"
#> $ points            <dbl> 50
#> $ simulations       <dbl> 1
#> $ mean              <dbl> 0
#> $ mode_lower        <dbl> 0
#> $ range             <chr> "0 to Inf"
#> $ std_dv            <dbl> 1.813799
#> $ coeff_var         <dbl> 3.289868
#> $ skewness          <dbl> 0
#> $ kurtosis          <dbl> 1.2
#> $ computed_std_skew <dbl> 0.3777211
#> $ computed_std_kurt <dbl> 3.161995
#> $ ci_lo             <dbl> -2.861982
#> $ ci_hi             <dbl> 3.233624