llikj: Compute log-Likelihood

Description Usage Arguments Value See Also

View source: R/llikj.R

Description

Internal. Computes the negativ log-likelihood for all observations with treatment j

Usage

1
llikj(sgmaj, rhoj, j, epsy, mu_xst, start_x, nx, start_y)

Arguments

sgmaj, rhoj

vector of 2*Tmax parameter of the variance/covariance matrix

j

treatment

epsy

residuals on y

mu_xst

mean vector of x*

start_x

Tmax x trt matrix, containing indicators for panel time - treatment combinations in data vector

nx

number of observations

start_y

Tmax x trt matrix, containing indicators for panel time - treatment combinations in outcome vector

Value

The log-likelihood value corresponding to input values.

See Also

Other loglikelihoods: lcondx, lmvnorm, lnorm, negllik_jt_rho, negllik_jt


PatrickPfeifferDSc/bite documentation built on Aug. 22, 2019, 9:57 a.m.