Learn R Programming

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

DPpackage (version 1.1-0)

Bayesian Nonparametric and Semiparametric Analysis

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, Mixtures of Triangular distributions, and Random Bernstein polynomials priors. 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

108

Version

1.1-0

License

GPL (>= 2)

Maintainer

Alejandro Jara

Last Published

March 15th, 2010

Functions in DPpackage (1.1-0)

DPMolmm

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

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

Semiparametric Bayesian density estimation using Bernstein Polynomials
CSDPbinary

Bayesian analysis for a semiparametric logistic regression model
PTsampler

Polya Tree sampler function
DPglmm

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

Bayesian analysis for a Finite Polya Tree Bernoulli regression model
FPTrasch

Bayesian analysis for a Finite Polya Tree Rasch model
DPolmm

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

Bayesian Semiparametric Conditional Density Estimation using a DPM of normals
LDDPdensity

Bayesian analysis for a Linear Dependent Dirichlet Process Mixture Model
HDPMdensity

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

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

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

Bayesian analysis for a semiparametric Rasch model
DPsurvint

Bayesian analysis for a semiparametric AFT regression model
galaxy

Galaxy velocities
PTdensity

Nonparametric Bayesian density estimation using Mixtures of Polya Trees
DPdensity

Semiparametric Bayesian density estimation using a DPM of normals
PSgam

Bayesian analysis for a semiparametric generalized additive model
fractionation

British Institute of Radiology Fractionation Studies
PTolmm

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

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

Flea-beetles
indon

Indonesian Children's Health Study
DPMrasch

Bayesian analysis for a semiparametric Rasch model
DPMlmm

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

Specify a smoothing spline fit in a PSgam formula
rolling

Rolling Thumbtacks Data
DPbinary

Bayesian analysis for a semiparametric Bernoulli regression model
DPMrandom

Extracts Random Effects
DPraschpoisson

Bayesian analysis for a semiparametric Rasch Poisson model
hiv

HIV-AIDS data
LDDPraschpoisson

Bayesian analysis for a dependent semiparametric Rasch Poisson model
PTlm

Bayesian analysis for a semiparametric linear regression model
LDDPsurvival

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

Bayesian analysis for a dependent semiparametric Rasch model
HDPMcdensity

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

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

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

The Heights of Schoolgirls
calgb.pred

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

Computes Pseudo Bayes Factors from DPpackage output
DPelicit

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

Bayesian analysis for a Finite Polya Tree Rasch Poisson model
DPcaterpillar

Caterpillar Plots for Random Effects
PTrandom

Extracts Random Effects
DProc

Semiparametric Bayesian ROC curve analysis using DPM of normals
DPlmm

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

Bayesian analysis for a parametric Bernoulli regression model
predict.HDPMdensity

Predictive Information for the Dependent Random Probability Measures.
nodal

Nodal Involvement Data
rats

Rats
predict.HDPMcdensity

Predictive Information for the Dependent Random Probability Measures.
uniond

Union Membership
DPbetabinom

Bayesian Semiparametric Beta-Binomial Model using a DP prior
sports

The Australian Athletes Data
predict.DPsurvint

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

Time to Cosmetic Deterioration of Breast Cancer Patients
DPmeta

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

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

Bayesian analysis for a semiparametric Rasch Poisson model
Plm

Bayesian analysis for a parametric linear regression model
DPrandom

Extracts Random Effects
orings

Challenger Space Shuttle O-Ring Data
TDPdensity

Semiparametric Bayesian density estimation using DP Mixtures of Triangular Distributions
calgb

Cancer and Leukemia Group B (CALGB) Data
psychiatric

Psychiatric Clinical Trial
seizures

Epileptic seizures