Learn R Programming

BAMBI (version 2.3.5)

Bivariate Angular Mixture Models

Description

Fit (using Bayesian methods) and simulate mixtures of univariate and bivariate angular distributions. Chakraborty and Wong (2021) .

Copy Link

Version

Install

install.packages('BAMBI')

Monthly Downloads

620

Version

2.3.5

License

GPL-3

Last Published

March 8th, 2023

Functions in BAMBI (2.3.5)

as.mcmc.list.angmcmc

Create an mcmc.list object from an angmcmc object
bridge_sampler.angmcmc

Log Marginal Likelihood via Bridge Sampling for angmcmc objects
bestmodel

Convenience function for extracting angmcmc object, and the value of the model selection criterion corresponding to the best fitted model in stepwise fits
contour_model

Contourplot for bivariate angular mixture model densities
fit_wnormmix

Fitting univariate wrapped normal mixtures using MCMC
fit_vmmix

Fitting univariate von Mises mixtures using MCMC
d_fitted

Density and random deviates from an angmcmc object
fit_vmsinmix

Fitting bivariate von Mises sine model mixtures using MCMC
extractsamples

Extract MCMC samples for parameters from an angmcmc object
fit_vmcosmix

Fitting bivariate von Mises cosine model mixtures using MCMC
fit_wnorm2mix

Fitting bivariate wrapped normal model mixtures using MCMC
fit_incremental_angmix

Stepwise fitting of angular mixture models with incremental component sizes and optimum model selection
paramtrace

Trace plot for parameters from an angmcmc object
quantile.angmcmc

Quantile estimates for parameters from an angmcmc object
fit_angmix

Fitting Bivariate and univariate angular mixture models
is.angmcmc

Angular MCMC (angmcmc) Object
plot.angmcmc

Summary plots for angmcmc objects
pointest

Point estimates for parameters from an angmcmc object
latent_allocation

Finding latent allocation (component indicators) from an angmcmc object
fix_label

Fix label switching in angmcmc objects
rvmmix

The univariate von Mises mixtures
rwnormmix

The univariate Wrapped Normal mixtures
rvmcosmix

The bivariate von Mises cosine model mixtures
logLik.angmcmc

Extract Log-Likelihood from angmcmc objects
lpdtrace

Trace and autocorrelation plots of log posterior density or log likelihood from an angmcmc object
rvmsin

The bivariate von Mises sine model
loo.angmcmc

Leave-one-out cross-validation (LOO) for angmcmc objects
densityplot.angmcmc

Density plots for angmcmc objects
rwnorm2mix

The bivariate Wrapped Normal mixtures
vm2_mle

Maximum likelihood estimation of bivariate von Mises parameters
rwnorm

The univariate Wrapped Normal distribution
rwnorm2

The bivariate Wrapped Normal distribution
zero_to_2pi

Wrap angles into [-pi, pi] or [0, 2*pi]
wind

Saturna Island wind directions
rvmsinmix

The bivariate von Mises sine model mixtures
rvm

The univariate von Mises distribution
rvmcos

The bivariate von Mises cosine model
tim8

Backbone Dihedral Angles of Triose Phosphate Isomerase (8TIM)
waic.angmcmc

Watanabe-Akaike Information Criterion (WAIC) for angmcmc objects
surface_model

Surface for bivariate angular mixture model densities
select_chains

Select chains from angmcmc objects
summary.angmcmc

Summary statistics for parameters from an angmcmc object
circ_cor

Sample circular correlation coefficients
circ_varcor_model

Analytic circular variances and correlations for bivariate angular models
add_burnin_thin

Add (extra) burnin and thin to angmcmc object after original run
BAMBI

BAMBI: An R package for Bivariate Angular Mixture Models
DIC

Deviance Information Criterion (DIC) for angmcmc objects
contour.angmcmc

Contour plot for angmcmc objects with bivariate data