Skip to contents

Computes distribution statistics for a zero-truncated negative binomial distribution.

Usage

util_zero_truncated_negative_binomial_stats_tbl(.data)

Arguments

.data

The data from a zero-truncated negative binomial distribution.

Value

A tibble with distribution statistics.

Details

This function computes statistics for a zero-truncated negative binomial distribution.

Author

Steven P. Sanderson II, MPH

Examples

library(dplyr)

tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |>
 util_zero_truncated_negative_binomial_stats_tbl() |>
 glimpse()
#> Rows: 1
#> Columns: 17
#> $ tidy_function     <chr> "tidy_zero_truncated_negative_binomial"
#> $ function_call     <chr> "Zero Truncated Negative Binomial c(1, 0.1)"
#> $ distribution      <chr> "Zero Truncated Negative Binomial"
#> $ distribution_type <chr> "discrete"
#> $ points            <dbl> 50
#> $ simulations       <dbl> 1
#> $ mean              <dbl> 0.1111111
#> $ mode_lower        <dbl> 0
#> $ range             <chr> "1 to Inf"
#> $ std_dv            <dbl> 0.3513642
#> $ coeff_var         <dbl> 1.111111
#> $ skewness          <dbl> 3.478505
#> $ kurtosis          <dbl> 14.1
#> $ computed_std_skew <dbl> 1.397478
#> $ computed_std_kurt <dbl> 4.148819
#> $ ci_lo             <dbl> 1
#> $ ci_hi             <dbl> 32.775