Log-likelihood function for the generalized production function of Zellner and Revankar (1969)
zellner_revankar(
theta,
y,
Z,
sum = FALSE,
gradient = TRUE,
hessian = TRUE,
repar = TRUE
)
a function.
the vector of parameters
the vector of response
the matrix of covariates
if FALSE
, a vector of individual contributions to the
likelihood and the matrix of individual contributions to the
gradient are returned, if TRUE
a log-likelihood scalar and a
gradient vector are returned
if TRUE
, the gradient is returned as an attribute
if TRUE
, the hessian is returned as an attrubute
if TRUE
, the likelihood is parametrized such that
the constant return to scale hypothesis implies that two
coefficients are 0
Yves Croissant
ZELL:REVA:69micsr