trim_pr: Trimming the estimates to be strictly between 0 and 1

Description Usage Arguments Value

View source: R/trim_pr.R

Description

Trimming the estimates to be strictly between 0 and 1

Usage

1
trim_pr(ps, eps = 1e-08)

Arguments

ps

n-dimensional vector of estimated probabilities

eps

a small constant that determines the trimming of the estimated probabilities. Specifically, the estimate probability is trimmed to be between eps and 1-eps (default = 1e-8).

Value

ps_tr

n-dimensional trimmed estimates


ciccr documentation built on Oct. 29, 2020, 5:07 p.m.