Learn R Programming

GJRM (version 0.2-6.5)

gt.bpm: Gradient test

Description

gt.bpm can be used to test the hypothesis of absence of endogeneity, correlated model equations/errors or non-random sample selection in binary bivariate probit models.

Usage

gt.bpm(x)

Value

It returns a numeric p-value corresponding to the null hypothesis that the correlation, \(\theta\), is equal to 0.

Arguments

x

A fitted gjrm object.

WARNINGS

This test's implementation is only valid for bivariate binary probit models with normal errors.

Author

Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk

Details

The gradient test was first proposed by Terrell (2002) and it is based on classic likelihood theory. See Marra et al. (in press) for full details.

References

Marra G., Radice R. and Filippou P. (2017), Regression Spline Bivariate Probit Models: A Practical Approach to Testing for Exogeneity. Communications in Statistics - Simulation and Computation, 46(3), 2283-2298.

Terrell G. (2002), The Gradient Statistic. Computing Science and Statistics, 34, 206-215.

Examples

Run this code
## see examples for gjrm

Run the code above in your browser using DataLab