priorp2g finds the g value giving priorp prior probability to the interval (-q,q).
priorp2g(priorp, q, nu=1, prior=c("iMom","normalMom","tMom"))
Arguments
prior: prior=='normalMom' does computations for the normal moment prior, prior=='tMom' for the T moment prior, prior=='iMom' does computations for the inverse moment prior. Currently prior=='tMom' is not implemented in priorp2g.
q: priorp2g returns g giving priorp prior probability to the interval (-q,q).
nu: Prior degrees of freedom for the T moment prior or the iMom prior (ignored if prior=='normalMom').
priorp: priorp2g returns g giving priorp prior probability to the interval (-q,q)
Details
See pmom and pimom for the MOM/iMOM cumulative distribution functions.
Returns
priorp2g returns g giving priorp prior probability to the interval (-q,q).