Stata testparm

-testparm- performs Wald tests on regression coefficients.

See also -test-.


Usage

-testparm- is identical to -test- except that it only tests for equivalence to 0. Because it does not allow for non-zero tests, all arguments passed to -testparm- are known to be coefficient names, so syntax is generally simpler.

The following two are equivalent:

test (2.region = 0) (3.region = 0) (4.region = 0)

testparm i(2/4).region

The following two are also equivalent:

test (_b[age] = 0) (_b[c.age#c.age] = 0)

testparm c.age c.age#c.age


CategoryRicottone

Stata/TestParm (last edited 2025-11-06 20:48:59 by DominicRicottone)