jack_knife {pubh}R Documentation

Ranks leverage observations from Jackknife method.

Description

jack_knife Ranks the squared differences between mean values from Jackknife analysis (arithmetic mean estimated by removing one observation at a time) and the original mean value.

Usage

jack_knife(x)

Arguments

x

A numeric variable. Missing values are removed by default.

Value

Data frame with the ranked squared differences.

See Also

rank_leverage.

Examples

x <- rnorm(10, 170, 8)
x
mean(x)
jack_knife(x)

x <- rnorm(100, 170, 8)
mean(x)
head(jack_knife(x))

[Package pubh version 1.3.2 Index]