View source: R/ParamTransfoCompRisks.R
estimate.cf | R Documentation |
This function estimates the control function for the endogenous variable based on the provided covariates. This function is called inside estimate.cmprsk.R.
estimate.cf(XandW, Z, Zbin, gammaest = NULL)
XandW |
Design matrix of exogenous covariates. |
Z |
Endogenous covariate. |
Zbin |
Boolean value indicating whether endogenous covariate is binary. |
gammaest |
Vector of pre-estimated parameter vector. If |
List containing the vector of values for the control function and the regression parameters of the first step.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.