hzar.qScores: Calculate credibility intervals.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/45-hzarQuantiles.R

Description

Calculate the values with an estimated cumulative likelihood equal to probs for the weighted sampled distribution.

Usage

1
2
3
hzar.qScores(x, wt, probs = c(0, 0.25, 0.5, 0.75, 1))
hzar.qScores.dataGroup(dataGroup, probs = c(0.025, 0.5, 0.975))
hzar.qScores.obsDataGroup(oDG, probs = c(0.025, 0.5, 0.975))

Arguments

x

The series of values to analyze.

wt

The log of the weight applied to each value.

probs

The cumalitve probality values for which to calculate intervals.

dataGroup

The hzar.dataGroup to analyze.

oDG

The hzar.obsDataGroup to analyze.

Details

hzar.qScores.dataGroup generates intervals for all of the free parameters.

hzar.qScores.obsDataGroup generates intervals for the cline model with the best AICc score.

Value

For hzar.qScores, the values with an estimated cumulative likelihood equal to probs.

For both hzar.qScores.dataGroup and hzar.qScores.obsDataGroup, a data.frame with one column "q" for probs, and one additional column for each free parameter with the values returned by hzar.qScores for probs, given the parameter samples and likelihoods.

Author(s)

Graham Derryberry asterion@alum.mit.edu

See Also

hzar.dataGroup hzar.obsDataGroup hzar.AICc.default

Examples

1
##TODO

Example output

Loading required package: MCMCpack
Loading required package: coda
Loading required package: MASS
##
## Markov Chain Monte Carlo Package (MCMCpack)
## Copyright (C) 2003-2019 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0350646 and SES-0350613)
##
Loading required package: foreach

hzar documentation built on May 2, 2019, 7 a.m.