Array


I succeed to run these 6 regressions. The first 3 regressions are OLS and the last 3 columns are OLS + fixed effects.
Code:
quietly regress _contritotal afterblock age age2, vce(robust)
quietly regress _contriaddition afterblock age age2, vce(robust)
quietly regress _contrideletion afterblock age age2, vce(robust)
xtset id week
quietly xtreg _contritotal afterblock age age2, vce(robust) fe
quietly xtreg _contriaddition afterblock age age2, vce(robust) fe
quietly xtreg _contrideletion afterblock age age2, vce(robust) fe
Then how should I do next? This is my homework of replication. I use LaTeX and I need to generate a table in Stata by using -esttab- or -estout- (I don't know which one I should use.) I first tried to use -esttab-, but it seems -esttab- doesn't have too much flexibility to generate an exact same table. Thus, I turn to use -estout-, but I haven't figure it out. My professor's requirement is that "I should be able to automatically generate your final write up with only two steps: 1) running a single execution script and 2) compiling your .tex file." In other words, I can create a LaTeX file first, then contain a .tex file from Stata. My professor said, I can create title and notes in LaTeX, and the main table content should be from Stata.