LM.bpm can be used to test the hypothesis of absence of endogeneity
or non-random sample selection or correlated model equations/errors.LM.bpm(formula, data = list(), weights = NULL, subset = NULL,
Model = "B", hess = TRUE, gamma = 1,
pPen1 = NULL, pPen2 = NULL)s terms are used to specify
smooth smooth functions of predictors. Note that if Model = "BSS" then the first formula MUST refer
data, the
variables are taken from environment(formula).FALSE then the expected (rather than observed) information matrix is employed.gamma = 1.4 achieves this.SemiParBIVProbit## see examples for SemiParBIVProbitRun the code above in your browser using DataLab