LM.bpm can be used to test the hypothesis of absence of endogeneity,
correlated model equations/errors
or non-random sample selection.LM.bpm(formula, data = list(), weights = NULL, subset = NULL, Model, hess = TRUE)s terms are used to specify
smooth smooth functions of predictors. Note that if Model = "BSS" then the first formula MUST refer
to the selection equation.data, the
variables are taken from environment(formula).FALSE then the expected (rather than observed) information matrix is employed.This Lagrange multiplier test (also known as score test) is used here for testing the null hypothesis that $\theta$ is equal to 0 (i.e. no endogeneity, non-random sample selection or correlated model equations/errors, depending on the model being fitted). Its main advantage is that it does not require an estimate of the model parameter vector under the alternative hypothesis. Asymptotically, it takes a Chi-squared distribution with one degree of freedom. Full details can be found in Marra et al. (2014) and Marra et al. (in press).
Marra G., Radice R. and Filippou P. (in press), Regression Spline Bivariate Probit Models: A Practical Approach to Testing for Exogeneity. Communications in Statistics - Simulation and Computation.
Marra G., Radice R. and Missiroli S. (2014), Testing the Hypothesis of Absence of Unobserved Confounding in Semiparametric Bivariate Probit Models. Computational Statistics, 29(3-4), 715-741.
SemiParBIVProbit
## see examples for SemiParBIVProbit
Run the code above in your browser using DataLab