Learn R Programming

⚠️There's a newer version (1.1-7.4) of this package.Take me there.

DPpackage (version 1.1-4)

Bayesian nonparametric modeling in R

Description

This package contains functions to perform inference via simulation from the posterior distributions for Bayesian nonparametric and semiparametric models. Although the name of the package was motivated by the Dirichlet Process prior, the package considers and will consider other priors on functional spaces. So far, DPpackage includes models considering Dirichlet Processes, Dependent Dirichlet Processes, Dependent Poisson- Dirichlet Processes, Hierarchical Dirichlet Processes, Polya Trees, Linear Dependent Tailfree Processes, Mixtures of Triangular distributions, Random Bernstein polynomials priors and Dependent Bernstein Polynomials. The package also includes models considering Penalized B-Splines. Currently the package includes semiparametric models for marginal and conditional density estimation, ROC curve analysis, interval censored data, binary regression models, generalized linear mixed models, IRT type models, and generalized additive models. The package also contains functions to compute Pseudo-Bayes factors for model comparison, and to elicitate the precision parameter of the Dirichlet Process. To maximize computational efficiency, the actual sampling for each model is done in compiled FORTRAN. The functions return objects which can be subsequently analyzed with functions provided in the coda package.

Copy Link

Version

Install

install.packages('DPpackage')

Monthly Downloads

89

Version

1.1-4

License

GPL (>= 2)

Maintainer

Alejandro Jara

Last Published

January 3rd, 2012

Functions in DPpackage (1.1-4)

Pbinary

Bayesian analysis for a parametric Bernoulli regression model
nodal

Nodal Involvement Data
DPMolmm

Bayesian analysis for a semiparametric ordinal linear mixed model using a DPM of normals
uniond

Union Membership
schoolgirls

The Heights of Schoolgirls
DPpsBF

Computes Pseudo Bayes Factors from DPpackage output
DPolmm

Bayesian analysis for a semiparametric ordinal linear mixed model using a MDP
DPcaterpillar

Caterpillar Plots for Random Effects
DPMmeta

Bayesian analysis for a semiparametric linear mixed effects meta-analysis model using a DPM of normals
DPMraschpoisson

Bayesian analysis for a semiparametric Rasch Poisson model
DPmeta

Bayesian analysis for a semiparametric linear mixed effects meta-analysis model using a MDP
LDDPdensity

Bayesian analysis for a Linear Dependent Dirichlet Process Mixture Model
fleabeetles

Flea-beetles
DPMlmm

Bayesian analysis for a semiparametric linear mixed model using a DPM of normals
HDPMcdensity

Bayesian analysis for a hierarchical Dirichlet Process mixture of normals model for conditional density estimation
PTdensity

Nonparametric Bayesian density estimation using Mixtures of Polya Trees
DPlmm

Bayesian analysis for a semiparametric linear mixed model using a MDP
deterioration

Time to Cosmetic Deterioration of Breast Cancer Patients
HDPMdensity

Bayesian analysis for a hierarchical Dirichlet Process mixture of normals model for marginal density estimation
PTrandom

Extracts Random Effects
orings

Challenger Space Shuttle O-Ring Data
galaxy

Galaxy velocities
DPMglmm

Bayesian analysis for a semiparametric generalized linear mixed model using a DPM of normals
LDDProc

Linear dependent DP model for conditional ROC curve estimation.
DProc

Semiparametric Bayesian ROC curve analysis using DPM of normals
PTglmm

Bayesian analysis for a semiparametric generalized linear mixed model using a MMPT
LDDPraschpoisson

Bayesian analysis for a dependent semiparametric Rasch Poisson model
indon

Indonesian Children's Health Study
rolling

Rolling Thumbtacks Data
predict.HDPMdensity

Predictive Information for the Dependent Random Probability Measures.
PTlmm

Bayesian analysis for a semiparametric linear mixed model using a MMPT
BDPdensity

Semiparametric Bayesian density estimation using Bernstein Polynomials
DPMdencens

Bayesian density estimation for interval-censored data using a DPM of normals
DPglmm

Bayesian analysis for a semiparametric generalized linear mixed model using a MDP
DPmultmeta

Bayesian analysis for a semiparametric random effects multivariate meta-analysis model using a MDP
LDDPrasch

Bayesian analysis for a dependent semiparametric Rasch model
predict.DPsurvint

Computes the Survival Curve in a Bayesian analysis for a semiparametric AFT regression model
DPMrasch

Bayesian analysis for a semiparametric Rasch model
sports

The Australian Athletes Data
LDDPsurvival

Bayesian analysis for a Linear Dependent Dirichlet Process Mixture of Survival Models
LDTFPsurvival

Survival Regression using Linear Dependent Tailfree Processes
PSgam

Bayesian analysis for a semiparametric generalized additive model
rats

Rats
PTmeta

Bayesian analysis for a semiparametric linear mixed effects meta-analysis model using a MPT
CSDPbinary

Bayesian analysis for a semiparametric logistic regression model
DPelicit

Performs a prior elicitation for the precision parameter of a DP prior
DPbetabinom

Bayesian Semiparametric Beta-Binomial Model using a DP prior
DPrasch

Bayesian analysis for a semiparametric Rasch model
DPrandom

Extracts Random Effects
calgb

Cancer and Leukemia Group B (CALGB) Data
LDTFPdensity

Density Regression using Linear Dependent Tailfree Processes
TDPdensity

Semiparametric Bayesian density estimation using DP Mixtures of Triangular Distributions
DPMrandom

Extracts Random Effects
DPcdensity

Bayesian Semiparametric Conditional Density Estimation using a DPM of normals
PTsampler

Polya Tree sampler function
LDPDdoublyint

Bayesian analysis for a Linear Dependent Poisson Dirichlet Process Mixture Models for the Analysis of Doubly-Interval-Censored Data
calgb.pred

Cancer and Leukemia Group B (CALGB) Data for Prediction
hiv

HIV-AIDS data
ps

Specify a smoothing spline fit in a PSgam formula
DPbinary

Bayesian analysis for a semiparametric Bernoulli regression model
FPTraschpoisson

Bayesian analysis for a Finite Polya Tree Rasch Poisson model
PTlm

Bayesian analysis for a semiparametric linear regression model
DPdensity

Semiparametric Bayesian density estimation using a DPM of normals
Plm

Bayesian analysis for a parametric linear regression model
PTolmm

Bayesian analysis for a semiparametric ordinal linear mixed model using a MMPT
FPTbinary

Bayesian analysis for a Finite Polya Tree Bernoulli regression model
predict.HDPMcdensity

Predictive Information for the Dependent Random Probability Measures.
fractionation

British Institute of Radiology Fractionation Studies
toenail

Toenail data
DPraschpoisson

Bayesian analysis for a semiparametric Rasch Poisson model
bir

British Institute of Radiology Fractionation Studies
psychiatric

Psychiatric Clinical Trial
FPTrasch

Bayesian analysis for a Finite Polya Tree Rasch model
DPsurvint

Bayesian analysis for a semiparametric AFT regression model
LDBDPdensity

Bounded Density Regression using Dependent Bernstein Polynomials
igg

Immunoglobulin G concentrations
seizures

Epileptic seizures