Add \argmin macro (counterpart to existing \argmax) - #74
Merged
Merged
Conversation
Contributor
|
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.
Closes #73
Adds
\argmin(and\aminshort alias), the missing counterpart to the existing\am/\argmax. This is a general-purpose operator used across optimization, estimation, and statistics generally — not tied to any one estimand family — so it sits alongside\argmaxrather than in a narrower macro group.Change
Plus matching
interpretations.tsventries, perCONTRIBUTING.md.Verification
Ran all three commands
CONTRIBUTING.mddocuments before pushing changes tomacros.qmd(installedknitr/rmarkdown/DT+ TinyTeX locally to do this for real, since CI's "Quarto Preview" workflow only runs a defaultquarto render, which doesn't cover the two PDF-specific commands):quarto render demo-include-in-header.qmd --to pdf— succeeds,_site/demo-include-in-header.pdfproducedquarto render demo-shortcode.qmd --to pdf— succeeds,_site/demo-shortcode.pdfproducedquarto render(whole site) — succeeds, includingmacros-table.qmd's interpretations-consistency check (640 macros parsed, zero missinginterpretations.tsventries);\amin/\argminboth appear correctly in the built macro reference tableNo new macro-name collisions (the only duplicate names in the corpus —
\resid,\stdresid,\modresid— are pre-existing and unrelated to this change).