Learn R Programming

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

rpms (version 0.2.0)

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

375

Version

0.2.0

License

CC0

Maintainer

daniell toth

Last Published

February 4th, 2017

Functions in rpms (0.2.0)

rpms-package

Recursive Partitioning for Modeling Survey Data (rpms)
end_nodes

end_nodes
print.rpms

print.rpms
in_node

in_node
predict.rpms

predict.rpms
rpms

rpms
split

split
node_plot

node_plot
domain_est

domain_est
qtree

qtree
Wtest

Wtest (Wald Test for sample weights)
survLm_model

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

survLm
ttest

ttest
var_select

var_select
CE

CE Consumer expenditure data (first quarter of 2014)