LM.bpm can be used to test the hypothesis of absence of endogeneity
or correlated model equations/errors or non-random sample selection.LM.bpm(formula.eq1, formula.eq2, data, selection = FALSE, FI = FALSE)data, the
variables are taken from environment(formula), typically the environment from which LM.bpm is TRUE, then the test is performed for the sample selection model case.TRUE, then the Fisher (rather than the observed) information matrix is used.SemiParBIVProbit## see examples for SemiParBIVProbitRun the code above in your browser using DataLab