Package: rpms 0.5.1

Daniell Toth

rpms: Recursive Partitioning for Modeling Survey Data

Functions to allow users to build and analyze design consistent tree and random forest models using survey data from a complex sample design. The tree model algorithm can fit a linear model to survey data in each node obtained by recursively partitioning the data. The splitting variables and selected splits are obtained using a randomized permutation test procedure which adjusted for complex sample design features used to obtain the data. Likewise the model fitting algorithm produces design-consistent coefficients to any specified least squares linear model between the dependent and independent variables used in the end nodes. The main functions return the resulting binary tree or random forest as an object of "rpms" or "rpms_forest" type. The package also provides methods modeling a "boosted" tree or forest model and a tree model for zero-inflated data as well as a number of functions and methods available for use with these object types.

Authors:Daniell Toth [aut, cre]

rpms_0.5.1.tar.gz
rpms_0.5.1.tar.gz(r-4.5-noble)rpms_0.5.1.tar.gz(r-4.4-noble)
rpms_0.5.1.tgz(r-4.4-emscripten)rpms_0.5.1.tgz(r-4.3-emscripten)
rpms.pdf |rpms.html
rpms/json (API)

# Install 'rpms' in R:
install.packages('rpms', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • CE - CE Consumer expenditure data 2015

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascpp

2.40 score 3 packages 28 scripts 434 downloads 1 mentions 15 exports 2 dependencies

Last updated 3 years agofrom:78f9269681. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 22 2024
R-4.5-linux-x86_64OKDec 22 2024

Exports:box_indboxesend_nodesgrow_rpmsin_nodelinearizenode_plotprune_rpmsqtreer2statrpmsrpms_boostrpms_forestrpms_projrpms_zinf

Dependencies:RcppRcppArmadillo

Readme and manuals

Help Manual

Help pageTopics
Recursive Partitioning for Modeling Survey Data (rpms)rpms-package
box_indbox_ind
boxesboxes
CE Consumer expenditure data 2015CE
end_nodesend_nodes
grow_rpmsgrow_rpms
in_nodein_node
linearizelinearize
node_plotnode_plot
predict.rpmspredict.rpms
predict.rpms_boostpredict.rpms_boost
predict.rpms_forestpredict.rpms_forest
predict.rpms_projpredict.rpms_proj
predict.rpms_zinfpredict.rpms_zinf
print.rpmsprint.rpms
print.rpms_forestprint.rpms_forest
print.rpms_zinfprint.rpms_zinf
prune_rpmsprune_rpms
qtreeqtree
r2r2stat
rpmsrpms
rpms_boostrpms_boost
rpms_forestrpms_forest
rpms_projrpms_proj
rpms_zinfrpms_zinf