hetErrorsIV
builds on the lewbel
function form the ivlewbel
package. Changes have been made only to the printing and the summary of
the function, as well as the name.hetErrorsIV(formula, data, clustervar = NULL, robust = TRUE)
formula
.hetREndo
, with the following components:
lewbel
, higherMomentsIV
, latentIV
, copulaCorrection
, ivreg
.data(dataHigherMoments)
dataHetIV <- as.data.frame(dataHigherMoments)
hIV <- hetErrorsIV(y ~ P| X1 + X2 | X1 + X2, data = dataHetIV)
summary(hIV)
Run the code above in your browser using DataLab