Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.01 KB

SYNTAX_README.md

File metadata and controls

15 lines (11 loc) · 1.01 KB

ftools contains a set of useful parsing and compilation commands that might be more useful in general (they are also used by reghdfe and abcreg).

Before using the parsing commands, check that what you want is not already in Stata, either on the website, undocumented (help undocumented), or within the base/_/ folder (e.g. _parse_initial.ado, _prefix_note.ado).

Commands

  • ms_get_version: returns the version indicated in the starbang line of an ado
  • ms_compile_mata: compile the mlib file of a Mata package, if required.
  • ms_fvunab: Variant of fvunab that does not expand "x##y" into "x y x#y". Also does not expand "x#y" into "i.x#i.y"
  • ms_fvstrip: (by Mark E. Schaffer) See https://github.com/markeschaffer/stata-utilities/blob/master/fvstrip.md
  • ms_parse_absvars: Parse the contents of absorb(...)
  • ms_parse_varlist: Parse a regression varlist y x1 x2 (x3 = z1 z2)
  • ms_parse_vce: Parsae the contents of vce(...)