LikGamma2 {depCensoring} | R Documentation |
First step log-likelihood function for Z binary.
Description
This function defines the maximum likelihood used to estimate the control function in the case of a binary endogenous variable.
Usage
LikGamma2(gamma, Z, M)
Arguments
gamma |
Vector of coefficients in the logistic model used to estimate the control function. |
Z |
Endogenous covariate. |
M |
Design matrix, containing an intercept, the exogenous covariates and the instrumental variable. |
Value
Returns the log-likelihood function corresponding to the data,
evaluated at the point gamma
.
[Package depCensoring version 0.1.4 Index]