delete_mj_jackknife: Delete mj jackknife function

View source: R/stats.R

delete_mj_jackknifeR Documentation

Delete mj jackknife function

Description

Implementation of delete mj jackknifing following Nick Patterson's writeup of it. The function works like tidyverse functions, i.e. values, mj and weights should not be quoted/be symbols.

Usage

delete_mj_jackknife(data, values, mj, weights, .print_vals = F)

Arguments

data

Tibble containing the data to use.

values

Unquoted name of the tibble column with the block values.

mj

Unquoted name of the tibble column with the mj values.

weights

Unquoted name of the tibble column with the block weights.

.print_vals

logical. Should the actual theta_minus values be printed?

Value

list. Returns a list of items : theta_J The jackknife mean from all the theta_-x data. jack_se The SE of theta_J Zscore The Zscore of the theta_J jack.values A vector of all the theta_-x values


TCLamnidis/TCLHelperRPackage documentation built on Aug. 27, 2022, 12:42 a.m.