Skip to contents

Deprecated for ssd_hc().

Usage

ssd_hc_burrlioz(
  x,
  percent,
  proportion = 0.05,
  ci = FALSE,
  level = 0.95,
  nboot = 1000,
  min_pboot = 0.95,
  parametric = FALSE
)

Arguments

x

The object.

percent

A numeric vector of percent values to estimate hazard concentrations for. Soft-deprecated for proportion = 0.05.

proportion

A numeric vector of proportion values to estimate hazard concentrations for.

ci

A flag specifying whether to estimate confidence intervals (by bootstrapping).

level

A number between 0 and 1 of the confidence level of the interval.

nboot

A count of the number of bootstrap samples to use to estimate the confidence limits. A value of 10,000 is recommended for official guidelines.

min_pboot

A number between 0 and 1 of the minimum proportion of bootstrap samples that must successfully fit (return a likelihood) to report the confidence intervals.

parametric

A flag specifying whether to perform parametric bootstrapping as opposed to non-parametrically resampling the original data with replacement.

Value

A tibble of corresponding hazard concentrations.

Examples

fit <- ssd_fit_burrlioz(ssddata::ccme_boron)
ssd_hc_burrlioz(fit)
#> Warning: `ssd_hc_burrlioz()` was deprecated in ssdtools 0.3.5.
#>  Please use `ssd_hc()` instead.
#> # A tibble: 1 × 11
#>   dist      proportion   est    se   lcl   ucl    wt method  nboot pboot samples
#>   <chr>          <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <chr>   <int> <dbl> <I<lis>
#> 1 invpareto       0.05 0.387    NA    NA    NA     1 non-pa…     0    NA <dbl>