jack_run: Estimate of Effect Measure and CI With Jacknife (LOO)

View source: R/jack_utils.R

jack_runR Documentation

Estimate of Effect Measure and CI With Jacknife (LOO)

Description

Estimate of effect measure and CI With jacknife (LOO).

Usage

jack_run(data, func, alpha = 0.05, ...)

Arguments

data

Dataframe of raw data.

func

Function to estimate the effect measure.

alpha

Alpha used by percentile to give interval in c(alpha, 1- alpha).

...

Other named arguments for func.

Details

Compute the confidence interval of effect measures using the jacknife method. It uses the loo_cv function from the rsample package. The jacknife funciton from the resample is not maintained anymore and the author of resample recommend using the rsample package.

Value

Dataframe of estimates with confidence interval.


FrankLef/fciR documentation built on Nov. 12, 2023, 6:09 a.m.