pubh (version 1.1.16)

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)

Arguments

x

A numeric variable. Missing values are removed by default.

Value

Data frame with the ranked squared differences.

See Also

rank_leverage.

Examples

Run this code
# NOT RUN {
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