pubh (version 1.3.2)

jack_knife: 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)

Value

Data frame with the ranked squared differences.

Arguments

x

A numeric variable. Missing values are removed by default.

See Also

rank_leverage.

Examples

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

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

Run the code above in your browser using DataLab