disttree.family: Family List Generating Functions

Description Usage Arguments Details Value See Also Examples

Description

The functions dist_gaussian, dist_crch, dist_exponential, dist_weibull, dist_gamma and dist_poisson generate a distribution family object of class disttree.family with all the required elements to fit a distribution in distfit.

Complete distribution family lists are provided for example by dist_list_normal and dist_list_cens_normal.

Usage

1
2
3
4
5
6
7
  dist_gaussian()
  dist_crch(dist = c("gaussian", "logistic"), truncated = FALSE,
            type = c("left", "right", "interval"), censpoint = 0)
  dist_exponential()
  dist_weibull()
  dist_gamma()
  dist_poisson()

Arguments

dist

character. Either a gaussian ('gaussian') or a logistic ('logistic') distribution can be selected.

truncated

logical. If TRUE truncated family list is generated with 'censpoint' interpreted as truncation points, If FALSE censored family list is generated. Default is FALSE

type

character. Type of censoring can be selectes ('left', 'right' or 'interval')

censpoint

numeric. Censoring point can be set (per default set to 0).

Details

The functions dist_gaussian, dist_crch, dist_exponential, dist_weibull, dist_gamma and dist_poisson generate a distribution family list with all the required elements to fit a distribution in distfit. These lists include a density function, a score function, a hessian function, starting values, link functions and inverse link functions.

Complete distribution family lists are provided for example by dist_list_normal and dist_list_cens_normal for the normal and censored normal distribution respectively.

Value

These functions return a family of class disttree.family with functions of the corresponding distribution family as required by distfit, disttree, and distforest.

See Also

distfamily

Examples

1
2
## get the family list for a Gaussian distribution family
dist_gaussian()

disttree documentation built on Aug. 14, 2019, 3 a.m.