Add 176 missing Stata commands (through Stata 19) - #126
Open
randrescastaneda wants to merge 5 commits into
Open
Conversation
Add commands from Stata 16-19 that were missing from the built-in commands regex, bringing the total from 1,504 to 1,680. Commands were identified by comparing the grammar against the official Stata documentation at stata.com. New commands by category: - Estimation (75): ivregress, margins, mixed, sem, gsem, fmm, npregress, etc. - Panel/longitudinal (28): melogit, meprobit, xtheckman, xtvar, xtdpd, etc. - Lasso & ML (20): lasso, elasticnet, h2oml, dsregress, etc. - Causal inference (16): teffects, didregress, hdidregress, mediate, etc. - Data management (22): frame, frames, frget, icd10, putexcel, vl, etc. - Bayesian (8): bayes, bayesmh, bmaregress, etc. - Survival (4): stcrreg, stintcox, stintreg, stmgintcox - Tables & collections (3): collect, dtable, etable - Spatial (3): spregress, spivregress, spxtregress Also adds: - examples/test_new_commands.do for visual verification - scripts/ with helper tools for command extraction and comparison Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @kylebarron,
I added 176 missing Stata commands to the built-in commands regex in
grammars/stata.cson, organized by category:Total: 1,504 → 1,680 built-in commands
Commands sourced from Stata 19 official documentation.
Hope it helps.
Thanks.
Best,