sgpv: Second Generation p-values

Description Usage Arguments Examples

Description

This function calculates p_δ and δ-gap.

Usage

1
2
sgpv(data, estimate_lb = 1, estimate_ub = 2, null_lb = 3,
  null_ub = 4, epsilon = 1e-05)

Arguments

data

A data.frame or data.table which includes interval bounds for the estimate and the null region.

estimate_lb

Column number or variable name of the estimate interval lower bound. Default = 1

estimate_ub

Column number or variable name of the estimate interval upper bound. Default = 2

null_lb

Column number or variable name of the null interval lower bound. Default = 3

null_ub

Column number or variable name of the null interval upper bound. Default = 4

epsilon

A (usually) small scalar to denote positive but infinitesimally small p_δ. Default = 1e-5. Values that are infinitesimally close to 1 are assigned 1-epsilon.

Examples

1
sgpv()

thomasgstewart/sgpv documentation built on May 8, 2019, 1:25 a.m.