Stata Blogger?

Are you a Stata blogger? Join the aggregator!

Visually-Weighted Regression

[This is the overdue earth-shattering sequel to this earlier post.]I recently posted this working paper online. It’s very short, so you should probably just read it (I was actually originally going to write it as a blog post), but I’ll run through…

Continue reading Visually-Weighted Regression

Pushing circles around

Occasionally, a need comes up for drawing a circle. Say you have a scattershot of points that follow a bivariate normal distribution, and you want to illustrate being within a given radius inside that scattershot somewhere. You will want to draw a circle so you can use its functional form to isolate the dots that [...]

Continue reading Pushing circles around

Converting timeseries with -tscollap-

Kit Baum’s -tscollap- is another gem from the unsecured treasure vault of user-written Stata commands. It compacts timeseries (and panel) data, creating a new dataset of means, sums, end-of-period values, and more (see -help tscollap-). For example, you have a monthly trade data that you want to add up to generate annual data or monthly [...]

Continue reading Converting timeseries with -tscollap-