Skip to contents

This function takes a data frame (df), requires the significance value (pval) and calculates the nonparametric confidence intervals (CI): Symmetric (IC), Bias-corrected (BC) and BC accelerated (BCA)

Usage

BCA(df, pval, B)

Arguments

df

a data.frame

pval

significance level defined by the user

B

an integer value, specify the number of resamples

Value

It returns a customized table using the expss package. The table `b_BCA` for each model parameters (row): original (opt), low (lw) and high (up) CI, bias and coefficient of variation (CV): Opt, IClw, ICup, BClw, BCup, BCAlw, BCAup, Bias, CV.

Examples

  if (FALSE) {
    df <- tmp
    pval <- 0.05
    B <- 2000
    ejemplo <- BCA(df, pval, B)
  }