NestedCategBayesImpute: Modeling and Generating Synthetic Versions of Nested Categorical Data in the Presence of Impossible Combinations
Version 1.0.0

This tool set provides a set of functions to fit the nested Dirichlet process mixture of products of multinomial distributions (NDPMPM) model for nested categorical household data in the presence of impossible combinations. It has direct applications in generating synthetic nested household data.

AuthorQuanli Wang, Olanrewaju Akande, Jingchen Hu, Jerry Reiter and Andres Barrientos
Date of publication2016-11-17 08:27:32
MaintainerQuanli Wang <quanli@stat.duke.edu>
LicenseGPL (>= 3)
Version1.0.0
URL https://arxiv.org/abs/1412.2282
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("NestedCategBayesImpute")

Popular man pages

checkconstraints_HHhead_at_group_level: Checking a data matrix of households for the...
groupcount: Generate 2D count table for two integer-valued vectors.
households2individuals: Convert a household data matrix to the corresponding...
initData: Initialize the input data structure.
initParameters: Initialize the model parameters for the MCMC.
sampleG: Update household (group) level latent class indexes.
samplehouseholds: Rcpp implementation for sampling household data without...
See all...

All man pages Function index File listing

Man pages

checkconstraints: Checking a data matrix of households for the...
checkconstraints_HHhead_at_group_level: Checking a data matrix of households for the...
GetImpossibleHouseholds: Generate the desired number of impossible households required...
groupcount: Generate 2D count table for two integer-valued vectors.
groupcount1D: Generate histogram count for an integer-valued vector.
households2individuals: Convert a household data matrix to the corresponding...
initData: Initialize the input data structure.
initOutput: Set the output structure for saving posterior samples of...
initParameters: Initialize the model parameters for the MCMC.
RunModel: Run the mcmc sampler for the model.
sampleG: Update household (group) level latent class indexes.
samplehouseholds: Rcpp implementation for sampling household data without...
samplehouseholds_HHhead_at_group_level: Rcpp implementation for sampling household data without...
sampleM: Update individual level latent class indexes.
UpdateAlpha: Update alpha.
UpdateBeta: Update beta.
UpdateLambda: Update lambda.
UpdateLambdaWeighted: Update lambda.
UpdateOmega: Update omega and v.
UpdateOmegaWeighted: Update omega and v.
UpdatePhi: Update phi.
UpdatePhiWeighted: Update phi.
UpdatePi: Update pi and u.
UpdatePiWeighted: Update pi and u.

Functions

GenerateData Source code
GetImpossibleHouseholds Man page Source code
RunModel Man page Source code
UpdateAlpha Man page Source code
UpdateBeta Man page Source code
UpdateLambda Man page Source code
UpdateLambdaWeighted Man page Source code
UpdateOmega Man page Source code
UpdateOmegaWeighted Man page Source code
UpdatePhi Man page Source code
UpdatePhiWeighted Man page Source code
UpdatePi Man page Source code
UpdatePiWeighted Man page Source code
checkconstraints Man page Source code
checkconstraints_HHhead_at_group_level Man page Source code
groupcount Man page Source code
groupcount1D Man page Source code
households2individuals Man page Source code
initData Man page Source code
initOutput Man page Source code
initParameters Man page Source code
sampleG Man page Source code
sampleM Man page Source code
samplehouseholds Man page Source code
samplehouseholds_HHhead_at_group_level Man page Source code

Files

inst
inst/extdata
inst/extdata/origdata_newFormat.txt
inst/extdata/origdata_oldFormat.txt
src
src/samplehouseholds.h
src/checkconstraints.h
src/groupcount.cpp
src/checkconstraints.cpp
src/samplehouseholds_imp.cpp
src/checkconstraints_imp.cpp
src/sampleM.cpp
src/sampleW.h
src/sampleW.cpp
src/sampleG.cpp
src/samplehouseholds.cpp
src/RcppExports.cpp
NAMESPACE
demo
demo/example.R
demo/00Index
R
R/init.R
R/RcppExports.R
R/RunModel.R
R/samplers.R
R/ImpossibleHouseholds.R
MD5
DESCRIPTION
man
man/households2individuals.Rd
man/samplehouseholds.Rd
man/initData.Rd
man/UpdateBeta.Rd
man/UpdateLambdaWeighted.Rd
man/UpdateOmega.Rd
man/UpdateOmegaWeighted.Rd
man/initParameters.Rd
man/sampleM.Rd
man/checkconstraints_HHhead_at_group_level.Rd
man/checkconstraints.Rd
man/groupcount.Rd
man/UpdateAlpha.Rd
man/UpdateLambda.Rd
man/UpdatePiWeighted.Rd
man/sampleG.Rd
man/groupcount1D.Rd
man/initOutput.Rd
man/UpdatePhi.Rd
man/samplehouseholds_HHhead_at_group_level.Rd
man/GetImpossibleHouseholds.Rd
man/UpdatePi.Rd
man/RunModel.Rd
man/UpdatePhiWeighted.Rd
NestedCategBayesImpute documentation built on May 19, 2017, 10:35 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.