Customizable tables in Stata 17: How to create tables for multiple regression models
HTML-код
- Опубликовано: 22 авг 2024
- This video demonstrates how to create tables for multiple regression models using customizable tables in Stata 17.
www.stata.com Наука
this is super helpful. I’m glad that I found you.
Thank you very much for the clear explanation on the use of the table builder. Albeit, I can not find any other video tutorial/blog on how to enrich further the results table by adding the statistical significance, number of observations, etc. More help on this would be highly appreciated.
You may want to use the *etable* command to create a table of estimation results. It has options that allow you to easily add the number of observations, p-values, and stars representing levels of the p-values. We have several examples in the documentation: www.stata.com/manuals/retable.pdf.
Also note that in the video, you can see the levels of the dimension result in the Tables Builder; this includes coefficients, p-values, the number of
observations, and other results. You may want to look at *help collect levelsof* and *help collect layout* to learn more about exploring the items in your collection and how to specify the results you want in your table. For any other questions, please email us at tech-support@stata.com.
very helpful, thank you!
You can read more in our Stata Blog posts "Customizable tables in Stata 17"
blog.stata.com/2021/06/07/customizable-tables-in-stata-17-part-1-the-new-table-command/
blog.stata.com/2021/06/07/customizable-tables-in-stata-17-part-2-the-new-collect-command/
blog.stata.com/2021/06/24/customizable-tables-in-stata-17-part-3-the-classic-table-1/
blog.stata.com/2021/08/24/customizable-tables-in-stata-17-part-4-table-of-statistical-tests/
blog.stata.com/2021/08/26/customizable-tables-in-stata-17-part-5-tables-for-one-regression-model/
blog.stata.com/2021/09/02/customizable-tables-in-stata-17-part-6-tables-for-multiple-regression-models/
blog.stata.com/2021/09/08/customizable-tables-in-stata-17-part-7-saving-and-using-custom-styles-and-labels/
Can you use this approach you want to include an if statement for one model, but not another? When I tried running three different models, and wanted an if statement for one of the models, the if statement was applied to all three models.
It would've been helpful if you showed how to add other statistical indicators to the table in either the rows or columns (p-value, standard error, etc.) like in the first video. This isn't clear.
* figured out that you add results under the column variable option in the dialog box (in addition to command option index [command]).
Dear Chuck, thank you so much for your videos and webinars. I have learned a lot from them. I would like to ask you how can I attach the stars (for significance) to the confidence interval instead of the beta coefficient? I tried replacing r_b for r_ci in the code but it does not work. Thank you so much
You can use the *collect stars* command to add stars to the collection, and then use *collect composite* to create a result with the upper and lower bounds of the confidence intervals, along with the stars. Please email us at tech-support@stata.com if you would like to see an example.
Thank you for this video. How can you add standard errors below the coefficients? Thank you!
You can include standard errors by requesting the _r_se statistic in your *table* command. You can see an example of this at the bottom of page 6 of www.stata.com/manuals/rtableregression.pdf