Hello everyone,
for replication purposes, I am preparing a code that is exactly reflecting the results (i.e., tables and figures) in my paper.
The results are produced using the following code:
Data example:
The output in Excel is the same in terms of the content. However, the format is (obviously) different. This is not bad per se, but I want to align the format more closely with my tables in the paper. For instance, in the paper, the number of observations is in the last row of the corresponding table (in the excel output, it is before the "FE" row). Additionally, I want to delete two rows in the excel output, which are not necessary but produced by the command rdrobust.
Thus, is there a STATA command (such as putexcel) where I can modify an existing excel file, in particular, move one row and delete two rows. Or can this be done already at the stage of using outreg2?
If of help, I can provide a dataset.
Best regards and thanks for the help,
Pascal
for replication purposes, I am preparing a code that is exactly reflecting the results (i.e., tables and figures) in my paper.
The results are produced using the following code:
Code:
rdrobust Y X, c(0) vce(cluster Z) all outreg2 using test.xls, replace nonote dec(3) addtext(FE, No, Controls, No) addstat(Bandwidth Regression, e(h_l), #L, e(N_h_l), #R, e(N_h_r)) symbol(***,**,*) alpha(0.001, 0.01, 0.05)
Code:
input float(Y X Z) 1 -8 1 0 -8 1 1 -10 1 1 -11 1 1 -8 1
Thus, is there a STATA command (such as putexcel) where I can modify an existing excel file, in particular, move one row and delete two rows. Or can this be done already at the stage of using outreg2?
If of help, I can provide a dataset.
Best regards and thanks for the help,
Pascal
Comment