trimLL: Log-likelihood for a trimmed distribution

View source: R/estimation.R

trimLLR Documentation

Log-likelihood for a trimmed distribution

Description

Log-likelihood for a trimmed distribution

Usage

trimLL(param, d, y, trim, doTrunc, par.low, par.high)

Arguments

param

Numeric vector, parameters

d

distributions3 object, assumed distribution.

y

Numeric vector, data

trim

Numeric vector of size 2, trimming bounds.

doTrunc

Logical, do truncation? default FALSE, i.e. rectification is used.

par.low

Numeric vector of size nPar(d), lower bounds for parameters.

par.high

Numeric vector of size nPar(d), higher bounds for parameters.

Value

The log-likelihood (may return NA's or -Inf)


benRenard/disTRIMbution documentation built on July 1, 2023, 4:24 a.m.