chlm_loglik: Loglikelihood of the HLM model.

Description Usage Arguments Value

View source: R/chlm_loglik.R

Description

Loglikelihood of the HLM model.

Usage

1
chlm_loglik(beta, gamma, y, delta, X, Z)

Arguments

beta

Mean parameter vector of length p.

gamma

Variance parameter vector of length q.

y

Vector of observations of length n.

delta

Optional logical vector of length n indicating the censorring status (TRUE: uncensored, FALSE: uncensored).

X

Mean covariate matrix of size n x p.

Z

Variance covariate matrix of size n x q.

Value

The loglikelihood evaluated at the parameters values (a scalar).


mlysy/hlm documentation built on Nov. 4, 2019, 7:26 p.m.