A while ago I suggested a particular do-file architecture that seemed to work well for me at the time. The post is here.
That architecture still works fine, but an obvious improvement suggested itself since I proposed it. I've been finding that some jobs that I had encapsulated in programs are so ubiquitous that I could [...]
Archives for the Month of March, 2009
Consider ado-files
Thursday, 19 March 2009
Putting your Mata functions to work
Tuesday, 10 March 2009
Yesterday I showed you how to write Mata functions. Today we will look at how they work with Stata.
In interactive mode, a Mata function like mymulti() is called simply asĀ
mata: mymulti(st_matrix("first"),st_matrix("second"))
This assumes that the two matrices are Stata matrices previously declared and currently in memory. Mata and Stata matrices are different things. Mata needs this [...]
Finally dabbling in Mata
Monday, 9 March 2009
I'm taking a discrete math class at NC State and today I had a homework assignment due that had to do with matrix algebra. I didn't feel like doing it with paper and pencil, but the point of it was that I was supposed to understand how things like matrix multiplication worked, so I couldn't [...]
I’ve got Subversion!
Sunday, 1 March 2009
It was about time, too. I'm an economist by trade and that harms my programming habits. But the more I program, the more I'm aware of that, so I guess all hope is not lost. I've been meaning to adopt some sort of version control for a long time now. I had already installed Subversion [...]