Learn R Programming

rpms (version 0.2.0)

ttest: ttest

Description

Conducts a t-test for the signifcance of the weights on on the domain estimate

Usage

ttest(t1, data, dom, weights)

Arguments

t1

rpms object

data

data frame

dom

vector of indices of the data frame that define the domain

weights

vector of sample weights for each observation

Value

list containing the overall effect of the weights on the domain estimate, the t-statistic, and the corresponding p-value