Learn R Programming

dwp (version 1.1)

fmmax: Find suitable mmax for clipping improper priors for M

Description

Improper priors need to be clipped in order to be usable. fmmax and fmmax.ab find values of \(m\) that are large enough that the probability of exceeding is less than 0.0001 (depends on \(g\) and \(X\)).

Usage

fmmax(x, g)

fmmax.ab(x, pBa, pBb)

Value

integer \(m\) such that \(Pr(M >= m) < 0.0001\)

Arguments

x

carcass count

g

overall carcass detection probability

pBa, pBb

parameters for beta distribution characterizing estimated \(g\)