Stata Blogger?

Are you a Stata blogger? Join the aggregator!

Pre and Post Test Data Merge/Append

* Stata Script* Imagine that you have two sets of data.* 1 pre-test* 2 current* You would like to merge the data together.* You have two options. * 1 Create a tall data set (using the append command)* 2 Create a wide data set (using the merge command)*…

Continue reading Pre and Post Test Data Merge/Append

Error in reading DBF

In Fun with maps in Stata I noted an error that occurs when trying to convert shapefiles from PhilGIS to Stata data files using -shp2dta- (Kevin Crow). It turns out that the column widths are more than 244 (even though the strings in the cells are not long). The easiest way to get around this [...]

Continue reading Error in reading DBF

Stata-MySQL a first encounter

In late April, I had my first encounter with .myd, .myi, and .frm files. The challenge was to read these directly from Stata so that users can easily work on the data using Stata. I was told that these are SQL databases. I initially thought that this can easily be read using a straightforward use [...]

Continue reading Stata-MySQL a first encounter