Jump to content
Urch Forums

jreif

Members
  • Posts

    5
  • Joined

Converted

  • My Tests
    No

jreif's Achievements

Newbie

Newbie (1/14)

9

Reputation

  1. In case people are interested, I've posted an example proposed research essay online. Scroll to the bottom of the page: JulianReif.com
  2. All these commands work by retrieving data stored in Stata macros and matrices. The problem is that Stata only stores the most recent regression results when you execute something like -bysort year: regress price weight-. The only workaround I'm aware of is doing something like the following: forval yr = 1980/1990 { regress price weight if year==`yr' regsave ... } OR levelsof year, local(yr) foreach y of local yr { regress price weight if year==`y' regsave... }
  3. I like the MacTex package: MacTeX - TeX Users Group
  4. A few features I've put into these modules that I don't recall seeing in others are: 1) These modules allow you to retrieve ALL estimation results. For example, you can retrieve the covariance portion of the variance-covariance matrix, an option I don't think is available in other modules. 2) Saving estimation results is separated from outputting to LaTeX. This allows you to manipulate your results using Stata commands before outputting them. Most of the other commands make this all one step, which I find inflexible and cumbersome when writing code. 3) -texsave- retains full compatibility with Scientific Word when outputting tables (so table buttons etc. are usable in that program). 4) -texsave- allows captions, lets you set the size of the table, and lets you set column alignments and column lines/borders. Again, I'm sure I have many features missing since I'm not a LaTeX expert. I've pretty much just added features as I've needed them when writing papers. (Spending hours updating tables by hand every time your numbers change is an enormous waste of time, plus it's subject to human error. These commands have eliminated those problems for me.) As for formatting, I try to produce tables that look like those published in journals like AER, ReStat, etc.
  5. I wrote a few Stata modules that automate the output of regressions into LaTeX tables. (I was frustrated with the lack of flexibility in other modules I had come across.) I and a few other classmates have been using them to write our papers and do our problem sets. Any of you can use them by typing the following at your Stata prompt: ssc install regsave, replace ssc install texsave, replace ssc install svret, replace The help files should hopefully tell you everything you need to know regarding how to use them. I am continually updating these with new features as I think of them. Please feel free to contact me with feedback or feature requests if you have any.
×
×
  • Create New...