woensdag 10 juni 2015

Stata user commands

Here's a list of Stata user commands I have found valuable:

Data manipulation

  • eurostatuse - our Eurostat download plugin (get it through ssc install eurostatuse)
  • usespss and savespss - spss conversion (be careful with variable precision and rounding)
  • gsample - extended sample

Data cleaning

  • copydesc - copy labels between variables
  • nmissing and npresent - to check the number of valid and missing cases on a variable
  • isko - conversion of ISCO codes into EGP and SEI
  • kountry - ISO country codes
  • labvars - extended labeling options
  • varlab - extended labeling options

Calculations

  • domin - decomposition of explained variance by regressors
  • nldecompose - non-linear decomposition methods
  • oaxaca - decompositions
  • polychoric - for calculating polychoric correlation matrices and performing polychoric factor analysis

Output creation

  • md - log file parser
  • grc1leg - graph combine with 1 legend
  • profileplot - plots with means on several variables
  • markup - log file parser
  • markdown - log file parser
  • synlight - log file parser
  • weave - syntax parser

I forgot why I found these useful

  • quote - no idea
  • results - no idea
  • txt - no idea