gt.bpm: Gradient test

View source: R/gt.bpm.R

gt.bpmR Documentation

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)

Arguments

x

A fitted gjrm object.

Details

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

Value

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

WARNINGS

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

Author(s)

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

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

## see examples for gjrm

GJRM documentation built on Oct. 25, 2024, 5:07 p.m.