trim_pr {ciccr}R Documentation

Trimming the estimates to be strictly between 0 and 1

Description

Trimming the estimates to be strictly between 0 and 1

Usage

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


[Package ciccr version 0.3.0 Index]