lcondx: Compute Negative Log-Likelihood

Description Usage Arguments Value See Also

View source: R/lcondx.R

Description

Internal. Computes normal, conditional negative Loglikelihood for all x observations with treatment j

Usage

1
lcondx(jtrt, epsy, mu_xst, start_x, nx, start_y, sgmaj, rhoj)

Arguments

jtrt

treatment j

epsy

residual vector of y ε = y - μ_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

sgmaj

variance under treatment j

rhoj

correlation coefficient under treatment j

Value

the log-Likelihood value for given point

See Also

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


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