Learn R Programming

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

rpms (version 0.4.0)

Recursive Partitioning for Modeling Survey Data

Description

Functions to allow users to build and analyze design consistent tree and random forest models using survey data from a complex sample design. The 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 a number of functions and methods available for use with these object types.

Copy Link

Version

Install

install.packages('rpms')

Monthly Downloads

281

Version

0.4.0

License

CC0

Maintainer

daniell toth

Last Published

May 30th, 2019

Functions in rpms (0.4.0)

in_node

in_node
rpms-package

Recursive Partitioning for Modeling Survey Data (rpms)
node_plot

node_plot
rpms

rpms
survLm_model

Fit a linear model using data collected from a complex sample
ttest

ttest
CE

CE Consumer expenditure data 2015
Wtest

Wtest (Wald Test for sample weights)
rpms_forest

rpms_forest
survLm

survLm
domain_est

domain_est
end_nodes

end_nodes
print.rpms

print.rpms
qtree

qtree
predict.rpms

predict.rpms
predict.rpms_forest

predict.rpms_forest