Can you post picture here in thread of Table 1 in the science link? It requires log in to view (might log in automatically when browsing from WB IP). Please comment blow if you have any additional options you want us to include. This is just a first draft of the specifications for this command.
![outreg stata 13 outreg stata 13](https://i1.rgstatic.net/publication/4794291_DIAGT_Stata_module_to_report_summary_statistics_for_diagnostic_tests_compared_to_true_disease_status/links/02e7e5274165c7d422000000/largepreview.png)
Star intervals should be possible to set manually.We have not decided yet if we want stars in a separate column.The variable labels for the outcome variables should be possible to set to varname, var label or to be specified manually.The default labels in the table will be those in the mock-up, but all of them should be possible to specify manually.The table will be possible to export in CSV or in TeX.The number of observations should also be possible to display at the bottom of the table for each group, and then the command will test that the number is the same for that group in all outcome variables. We do not know yet what should be the default. The command should also be able to display the number of observations and the variation for each group for each outcome variable in addition to only the mean as in the mock-up. A note will be included at the bottom of the table when control variables or fixed effects are used, which will explain why the mean in the fifth column cannot be calculated from the first four when FE and control variables are used. We do not want the means in the four leftmost columns in the mock-up to be impacted by fixed effects and control variables as it can create odd values such as negative harvest etc. The reason for this is that we want to allow the user to include fixed effects, control variables etc., and when that is used the intercept, D, T D*T dummy betas can no longer be used by themselves to calculate means in the four groups. The other four means will be taken from regular means calculated separately. Only the last column showing the double difference mean will be taken from the diff-in-diff regression. The command will test that the regression is valid in the sense that there is at least some observations in each group, that D * T actually equals DT and so fourth. Where varlist is a list of outcome variables and D is the treatment dummy, T is the time dummy and DT is the interaction of the two. The command is expected to be specified on the following format: We want the table be of the format shown in the mock-up below: This command will target the diff-in-diff (or double difference) regression model only and create tables tailored for exactly this model specification. Quiñones ( are many commands ( estout, outreg, etc.) that can create neat tables from regressions. But I find outreg is good enough and works really well for me.This new command was suggested by Esteban J. There is a similar command outreg2 that you can check.
![outreg stata 13 outreg stata 13](https://docplayer.net/docs-images/42/293385/images/page_13.jpg)
The complete help file for this command can be found here. Nosubstat and varlabels can be placed anywhere after the comma. In this case, you can set labels for independent variables and turn on this option. Sometimes variable labels is easier to understand than variable names. This option will report variable labels, rather than variable names in the generated table. Varlabels: I do not include this option in the sample code.
![outreg stata 13 outreg stata 13](https://i.ytimg.com/vi/YcwBdb9vU8M/maxresdefault.jpg)
This option will report two selected statistics (usually b and the other one) in two columns, rather than putting one (e.g., t statistics) below the other (e.g., b). Nosubstat: I do not include this option in the sample code.
![outreg stata 13 outreg stata 13](https://losetposet.files.wordpress.com/2015/07/rddesttab_table21.jpg)
Usually b and the other statistics will be reported. I list other frequently used options that control the appearance of the results table: If you want to report estimates for x1, x2, and x1 × x2, please use the following keep option: If you include interaction terms in regressions like this:īy the way, this is the highly recommended way to include interaction terms in regressions. Sometimes you may not want to report unimportant independent variables. X1, x2, x3 and x4 are independent variables that you want to report estimates for.