Learn R Programming

rpms (version 0.2.0)

Wtest: Wtest (Wald Test for sample weights)

Description

Conducts a Wald's test for the significance of the weights on the splits

Usage

Wtest(t1, data, weights = rep(1, nrow(data)), strata = rep(1L, nrow(data)),
  clusters = (1L:nrow(data)))

Arguments

t1

rpms object

data

data.frame containing the data

weights

vector of sample weights for each observation

strata

vector of strata labels

clusters

vector of cluster labels

Value

list containing F-statistic and corresponding p-value