Learn R Programming

rpms (version 0.2.0)

domain_est: domain_est

Description

Produces estimates of domain mean or total along with the variance estimate based on estimated regression tree

Usage

domain_est(t1, domdat, weights = rep(1, nrow(domdat)), theta = "mean")

Arguments

t1

rpms object

domdat

data frame rows inside desired domain estimate

weights

vector containing the sample weights for each observation

theta

string of either "mean" or "total"

Value

list containing F-statistic and corresponding p-value