Distributions: Parameter transformations and distribution functions

Description Usage Arguments Value

View source: R/Distributions.R

Description

This function contains supported PDFs, CDFs, and random deviate generating functions along with appropriate parameter transformations and inverse transformations needed for maximum likelihood estimation. It takes a vector of distributions and the number of hidden states as input and outputs the appropriate functions for those distributions. This function is for internal use. Additional distributions can be added by modifying this function.

Usage

1
  Distributions(dists, nstates, turn = NULL)

Arguments

dists

A length ndist vector of distributions from the following list: weibull, gamma, exponential, normal, lognormal, lnorm3, posnorm, invgamma, rayleigh, f, ncf, dagum, frechet, beta, binom, poisson, nbinom, zapois, zanegbin, wrpcauchy, wrpnorm. The following are supported dwell time distributions, bue can be used for observation variables: shiftpois,shifnegbin,pospois,posgeom,logarithmic

nstates

Number of hidden states

turn

Parameters determining the transformation for circular distributions. turn=1 yields support on (0,2pi) and turn=2 yields support on (-pi,pi). For animal movement models, the "encamped" state should use turn=1 and the "traveling" state should use turn=2.

Value

A list containing transformations, inverse transformations, PDFs, CDFs, and functions to generate random deviates for the input distributions.


benaug/move.HMM documentation built on Jan. 23, 2022, 4:29 a.m.