dot-getABMOMProp: Helper function to derive MOM estimates of a, b from a vector...

.getABMOMPropR Documentation

Helper function to derive MOM estimates of a, b from a vector of proportions

Description

Helper function to derive MOM estimates of a, b from a vector of proportions

Usage

.getABMOMProp(
  prop,
  offsets = c(mean = 1e-08, var = 1e-08),
  lower = 1,
  upper = Inf,
  ...
)

Arguments

prop

vector of proportions.

offsets

vector defining the offset to use when the mean and/or variance are zero.

lower

lower bound for the shape parameters.

upper

upper bound for the shape parameters.

...

parameters passed to [base::mean] and [stats::var].

Value

a data frame with MOM estimates of a, b


athchen/beer documentation built on July 2, 2022, 10:35 p.m.