For each observation, the conditional mean of the unobserved value
given that it exceeds that observation's lower[i] –
\(E[X \mid X > lower_i]\) – estimated by
integrating a piecewise-uniform density built from
tda_midf's CDF estimate over the induced partition –
TDA's midf2: it builds the CDF at every
breakpoint, then integrates the resulting piecewise-constant density
from each observation's value onward, normalizing by the
survival probability there.
Usage
tda_midf2(lower, upper, dir = tempfile("tda"))See also
Other matrix algebra:
tda_mcel(),
tda_mcent(),
tda_mch(),
tda_mcross(),
tda_mdiag(),
tda_mev(),
tda_mevs(),
tda_midf(),
tda_midf1(),
tda_midf3(),
tda_minvs(),
tda_mkmet(),
tda_mkp(),
tda_mmul(),
tda_mnc(),
tda_mnrow(),
tda_mpbl(),
tda_mpfit(),
tda_mpinv(),
tda_mpit(),
tda_mple(),
tda_mpz(),
tda_mscal1(),
tda_msqrtd(),
tda_msvd(),
tda_mwvec()