trim_pr: 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)
Value
ps_tr
n-dimensional trimmed estimates
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).