Differences between revisions 3 and 4
Revision 3 as of 2025-04-04 01:03:31
Size: 597
Comment: Standardize
Revision 4 as of 2025-10-24 18:53:40
Size: 501
Comment: Rewrite
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
'''`testparm`''' is an alternative interface to the [[Stata/Test|test]] command. '''`-testparm-`''' performs [[Statistics/WaldTest|Wald tests]].

See
also [[Stata/Test|-test-]].
Line 13: Line 15:
The `testparm` command functionally is identical to the [[Stata/Test|test]] command. Where `test` takes ''expressions'' representing one hypothesis (or many joint hypotheses), `testparm` takes a ''variable list'' (or factor indicators) and tests the joint hypothesis that each is 0. `-testparm-` is functionally identical to [[Stata/Test|-test-]], but it takes a variable list instead of expressions. By default it tests the joint hypothesis that each is 0.
Line 15: Line 17:
The following are equivalent: The following two are equivalent:
Line 19: Line 21:
}}}
Line 21: Line 22:
{{{

Stata testparm

-testparm- performs Wald tests.

See also -test-.


Usage

-testparm- is functionally identical to -test-, but it takes a variable list instead of expressions. By default it tests the joint hypothesis that each is 0.

The following two are equivalent:

testparm i(2/4).region

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


CategoryRicottone

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