Learn R Programming

bayespref (version 1.0)

Hierarchical Bayesian analysis of ecological count data

Description

This program implements a hierarchical Bayesian analysis of count data, such as preference experiments. It provides population-level and individual-level preference parameter estimates obtained via MCMC. It also allows for model comparison using Deviance Information Criterion.

Copy Link

Version

Install

install.packages('bayespref')

Monthly Downloads

16

Version

1.0

License

GPL (>= 2)

Maintainer

James A Fordyce

Last Published

October 29th, 2012

Functions in bayespref (1.0)

MHratioPopPref

MHratioPopPref
pairwiseProb

Pairwise probability for differences in preference
MratioPopMult

MratioPopMult
bayespref-package

Hierarchical Bayesian analysis of ecological count data
calcdicExtern

Calculates DIC
credibleIntervals

Calculates credible intervals for preferences
YGGV

Oviposition preference data from Yuba Gap, CA and Gardnerville, NV.
calcP

calcP
calcdic

Calculate DIC
bayesPref

Hierarchical Bayesian model for count data
prefPlot

Plot population and individual preferences
dpolya

Multivariate polya pdf