Skip to contents

Returns distribution statistics for Zero-Truncated Geometric distribution in a tibble.

Usage

util_zero_truncated_geometric_stats_tbl(.data)

Arguments

.data

The data being passed from a tidy_ztgeom distribution function.

Value

A tibble

Details

This function takes in a tibble generated by a tidy_ztgeom distribution function and returns the relevant statistics for a Zero-Truncated Geometric distribution. It requires data to be passed from a tidy_ztgeom distribution function.

Examples

library(dplyr)

set.seed(123)
tidy_zero_truncated_geometric(.prob = 0.1) |>
  util_zero_truncated_geometric_stats_tbl() |>
  glimpse()
#> Rows: 1
#> Columns: 17
#> $ tidy_function     <chr> "tidy_zero_truncated_geometric"
#> $ function_call     <chr> "Zero Truncated Geometric c(0.1)"
#> $ distribution      <chr> "Zero Truncated Geometric"
#> $ distribution_type <chr> "continuous"
#> $ points            <dbl> 50
#> $ simulations       <dbl> 1
#> $ mean              <dbl> 10
#> $ mode              <dbl> 1
#> $ range             <chr> "1 to Inf"
#> $ std_dv            <dbl> 9.486833
#> $ coeff_var         <dbl> 0.9486833
#> $ skewness          <dbl> 2.213594
#> $ kurtosis          <dbl> 5.788889
#> $ computed_std_skew <dbl> 1.101906
#> $ computed_std_kurt <dbl> 3.712366
#> $ ci_lo             <dbl> 1.225
#> $ ci_hi             <dbl> 30.775