contributions4intervals: get the likelihood contributions of interval data

Description Usage Arguments Value

Description

This function calculates the likelihood contributions of interval data

Usage

1
contributions4intervals(lower_bounds, upper_bounds, mymean, mysd)

Arguments

lower_bounds

a vector with the lower bounds of an interval covariate.

upper_bounds

a vector with the upper bounds of an interval covariate.

mymean

a numeric for the expected value of the normal distribution (which is one of the parameters trying to be optimized so that the likelihood becomes maximized)

mysd

a numeric for the standard deviation of the normal distribution (which is one of the parameters trying to be optimized so that the likelihood becomes maximized)

Value

a vector giving the likelihood contributions of the interval data.


hmi documentation built on Oct. 23, 2020, 7:31 p.m.