Speaking Stata: Matrices as look-up tables

dc.creatorCox, Nicholas J.
dc.date2017-04-01T17:35:59Z
dc.date.accessioned2026-07-09T10:12:51Z
dc.descriptionMatrices in Stata can serve as look-up tables. Because Stata will accept references to matrix elements within many commands, most notably generate and replace, users can access and use values from a table in either vector or full matrix form. Examples are given for entry of small datasets, recoding of categorical variables, and quantile-based or similar binning of counted or measured variables. In the last case, the device grants easy exploration of the consequences of different binning conventions and the instability of bin allocation.
dc.identifierOther:pr0054
dc.identifierdoi:10.22004/ag.econ.231788
dc.identifierhttps://ageconsearch.umn.edu/record/231788/files/sjart_pr0054.pdf
dc.identifierhttp://ageconsearch.umn.edu/record/231788
dc.identifier.urihttp://hdl.handle.net/123456789/616551
dc.languageeng
dc.publisher
dc.sourcehttp://ageconsearch.umn.edu/record/231788
dc.titleSpeaking Stata: Matrices as look-up tables
dc.typeText

Archivos