lgrgtest: Lagrange multiplier test after constrained maximum-likelihood estimation
Harald Tauchmann
Stata Journal, 2023, vol. 23, issue 2, 386-401
Abstract:
Besides the Wald and likelihood-ratio tests, the Lagrange multiplier test (Rao, 1948, Mathematical Proceedings of the Cambridge Philosophical Society 44: 50–57; Aitchison and Silvey, 1958, Annals of Mathematical Statistics 29: 813–828; Silvey, 1959, Annals of Mathematical Statistics 30: 389–407) is the third canonical approach to testing hypotheses after maximum likelihood estimation. While the Stata commands test and lrtest implement the first two, Stata does not have an official command for implementing the third. The communitycontributed boottest package (Roodman et al., 2019, Stata Journal 19: 4–60) focuses on methods of bootstrap inference and also implements the Lagrange multiplier test functionality. In this article, I introduce the new communitycontributed postestimation command lgrgtest, which allows for straightforwardly using the Lagrange multiplier test after constrained maximum-likelihood estimation. lgrgtest is intended to be compatible with all Stata estimation commands that use maximum likelihood and allow for the options constraints(), iterate(), and from(). lgrgtest can also be used after cnsreg.
Keywords: lgrgtest; test; lrtest; constraint; Lagrange multiplier test; score test; constraints; maximum likelihood (search for similar items in EconPapers)
Date: 2023
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj23-2/st0712/
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0712 link to article purchase
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:23:y:2023:i:2:p:386-401
Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html
DOI: 10.1177/1536867X231175265
Access Statistics for this article
Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins
More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().