negloglik2_intervalsonly: calculate the likelihood contribution of interval data only

Description Usage Arguments Value References

Description

calculate the likelihood contribution of interval data only

Usage

1
2
3
4
5
6
7
negloglik2_intervalsonly(
  para,
  parnames = names(para),
  X,
  lower_bounds,
  upper_bounds
)

Arguments

para

This is the vector Psi of parameters defining model (see p. 62 in Drechsler, Kiesl & Speidel, 2015). With respect to them, the value returned by this function shall be maximized.
The starting values are c(betastart2, sigmastart2) (the regression parameters explaining the logged income, and the variance parameter).

parnames

A character vector with the names of the elements in para.

X

the data.frame of covariates.

lower_bounds

the lower bound of an interval variable.

upper_bounds

the upper bound of an interval variable.

Value

An integer equal to the (sum of the) negative log-likelihood contributions (of the observations)

References

Joerg Drechsler, Hans Kiesl, Matthias Speidel (2015): "MI Double Feature: Multiple Imputation to Address Nonresponse and Rounding Errors in Income Questions", Austrian Journal of Statistics, Vol. 44, No. 2, http://dx.doi.org/10.17713/ajs.v44i2.77


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