Learn R Programming

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

rpms (version 0.2.1)

Recursive Partitioning for Modeling Survey Data

Description

Fits a linear model to survey data in each node obtained by recursively partitioning the data. The splitting variables and splits selected are obtained using a procedure which adjusts for complex sample design features used to obtain the data. Likewise the model fitting algorithm produces design-consistent coefficients to the least squares linear model between the dependent and independent variables. The first stage of the design is accounted for in the provided variance estimates. The main function returns the resulting binary tree with the linear model fit at every end-node. The package provides a number of functions and methods for these trees.

Copy Link

Version

Install

install.packages('rpms')

Monthly Downloads

281

Version

0.2.1

License

CC0

Maintainer

daniell toth

Last Published

June 2nd, 2017

Functions in rpms (0.2.1)

qtree

qtree
rpms-package

Recursive Partitioning for Modeling Survey Data (rpms)
predict.rpms

predict.rpms
print.rpms

print.rpms
ttest

ttest
var_select

var_select
in_node

in_node
node_plot

node_plot
domain_est

domain_est
end_nodes

end_nodes
rpms

rpms
split

split
CE

CE Consumer expenditure data (first quarter of 2014)
Wtest

Wtest (Wald Test for sample weights)
survLm

survLm
survLm_model

Fit a linear model using data collected from a complex sample