Skip to content

Instantly share code, notes, and snippets.

@robinkraft
Created February 10, 2012 22:53
Show Gist options
  • Save robinkraft/1793732 to your computer and use it in GitHub Desktop.
Save robinkraft/1793732 to your computer and use it in GitHub Desktop.
Reshaping FORMA data in Stata
* Snippit is a useful reminder of how Stata does reshapes
reshape long prob, string i(yearmo)
reshape long prob, string
reshape long i, string i(iso) j(yo)
reshape long prob, string i(id2) j(yearmo)
replace yearmo = dotm(yearmo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment