Create publication quality regression tables in Stata with asdoc

  Рет қаралды 50,132

Stata Professor

Stata Professor

Күн бұрын

Пікірлер: 92
@hiroshiono5382
@hiroshiono5382 4 жыл бұрын
Dear Professor, thank you SO much for providing this amazing package and tutorial. You have saved me hours of tedious formatting on MS Word.
@jaimesuarez3645
@jaimesuarez3645 2 жыл бұрын
Thanks for creating the package. On Mac it adds the tables on the same file which makes it really easy to see changes when exploring the data. I've already recommended asdoc to my peers.
@zhangjike5469
@zhangjike5469 6 жыл бұрын
I used asdoc for different types of regression tables. I like the flexibility in reporting regression results. It can produce detailed, nested and wide tables and each table has a nice format and lots of options to control the output. Simply the best. I can imagine how the author might have spent hundreds of hours developing it.
@StataProfessor
@StataProfessor 6 жыл бұрын
Dr. Yasir Bin Tariq asked about adding additional statistics to the output. The additional statistics can be added using the option stat. This is documented in the help file, if you type : help asdoc##4Regressions These details are listed in Section 3.10 of the help file. 3.10 stat(stats from e()) (used only with option nest) stat() can be used to report additional regression statistics that are stored in macro e(). For example: stat (rmse, rss) Please note that each statistic should be separated by the character comma. Some of the most commonly used e() statistics of regression models are as follows: ----------------------- Statistics ------------------------ N Number of observations. Reported by asdoc as default r2 R-squared. Reported by asdoc as default r2_a Adjusted r-squared F F-statistics rmse RMSE rss Residual sum of squares ll Log-likelihood chi2 Chi-square value --------------------------------------------------------
@YasirBinTariq
@YasirBinTariq 6 жыл бұрын
Sir well done. This is excellent method and way more better than outreg2 or esttab. Exporting results from STATA was one messy job, and you made it quite easy.
@lynguyen709
@lynguyen709 Жыл бұрын
Thank you so much! Your tutorial is extremely helpful!
@richardondimu585
@richardondimu585 3 жыл бұрын
Fantastic! May God give you more wisdom and knowledge.
@SamuelJalalian
@SamuelJalalian 2 жыл бұрын
Thank you so much! You just saved me hours of formatting tables :)
@parispham8771
@parispham8771 4 жыл бұрын
A life-saving solution! Thank you very much!
@AttaullahShah
@AttaullahShah 4 жыл бұрын
Please tell your colleagues about asdoc and subscribe to this channel for future updates
@manisubramani8786
@manisubramani8786 5 жыл бұрын
Wow, asdoc is terrific. Thanks for the detailed tutorial.
@Dr_Shiny
@Dr_Shiny 4 жыл бұрын
Fantastic and professional. The voice looks like famous Attaullah Shah, am I right? If yes, Love and respect from Beijing China. Your fan...
@zubiahmmad4452
@zubiahmmad4452 4 жыл бұрын
Really a high impact addition to the stata software
@terencemark5410
@terencemark5410 3 жыл бұрын
Genius my friend ...pure genius!
@peppicola1043
@peppicola1043 3 жыл бұрын
This is truly amazing and helping me so much!! Thank you!!!
@SagangaKapaya
@SagangaKapaya 4 жыл бұрын
This is a sharp edge to Stata additions, wow!! thanks so much prof.
@guzmangiliglesias1318
@guzmangiliglesias1318 5 жыл бұрын
You are a genius, god bless you sir
@lobokath
@lobokath 4 жыл бұрын
Woll, this is just what I needed! Thank you for the video
@StataProfessor
@StataProfessor 4 жыл бұрын
Please subscribe and tell your friends about asdoc
@chungkk3125
@chungkk3125 3 жыл бұрын
Thanks so much! It saves me a lot time from using esttab
@catch2209
@catch2209 6 жыл бұрын
This is amazing. Highly recommend for easy output.
@hiepthuc
@hiepthuc 5 жыл бұрын
this is awesome! Make my life much easier. Thanks so much
@borhansayedy3799
@borhansayedy3799 4 жыл бұрын
You are a life saver!! Thank you!
@ataliethompson6725
@ataliethompson6725 2 жыл бұрын
this is awesome especially the updated package on your website
@saburuddin7245
@saburuddin7245 6 жыл бұрын
Wow, creating regression table from Stata output was never that easy. Thanks
@sumeetmalik9973
@sumeetmalik9973 6 жыл бұрын
This is so much better than outreg2. Thank you for this work! Is there a way to not report the significant stars and report the p values instead along with standard errors? Top journals are now discouraging stargazing (asterisks)...
@StataProfessor
@StataProfessor 6 жыл бұрын
Dear Sumeet Malik, thanks for the suggestion. I shall add an option in the next update to skip asterisks.
@StataProfessor
@StataProfessor 6 жыл бұрын
Dear Sumeet Malik, thanks for the suggestion. I shall add an option in the next update to skip asterisks.
@sehrishzia4532
@sehrishzia4532 4 жыл бұрын
can you help me plz..
@TanveerAhmad87
@TanveerAhmad87 6 жыл бұрын
great work.....a most need addition to the stata library
@StataProfessor
@StataProfessor 6 жыл бұрын
For excluding i.year and i.location dummies, you can use the option drop(i.year i.location) option. For more details, see this detailed blog post fintechprofessor.com/2018/08/15/dropping-i-dummies-from-regression-asdoc-word-stata/
@anwarmohd184
@anwarmohd184 4 жыл бұрын
Thanks, Really Helpful Sir
@robinakouser6131
@robinakouser6131 2 жыл бұрын
thanks for distributing knowledge
@BeccaKhan22
@BeccaKhan22 Жыл бұрын
thanks for the tutorial. If I want to report confidence intervals alongside coefficients, what would the command look like?
@StataProfessor
@StataProfessor Жыл бұрын
You can do this in asdocx, see this link asdocx.com/examples/regressions/nested/#sideways
@tapangrelindis9050
@tapangrelindis9050 4 жыл бұрын
Dear professor, thanks for the very explicit explanation. I have a little challenge. I am doing multinimial regression and the asdoc command works just fine. however, when I export it to word, the values become totally different. is there some other method for MNL? thanks
@academyofresearch735
@academyofresearch735 6 жыл бұрын
Appreciated. Looking forward for more videos
@preeti9347
@preeti9347 2 жыл бұрын
great video, very helpful
@josephjohns4626
@josephjohns4626 Жыл бұрын
Can I use this set of commands with a panel regression in Stata?
@megabinboroboro9789
@megabinboroboro9789 5 жыл бұрын
Thank you so much professor. this is absolutely life-saving. May I ask is it possible to replace standard error in the parenthesis of the nested table with p value?
@StataProfessor
@StataProfessor 5 жыл бұрын
In response to your request, I have updated asdoc to include p-values in the nested tables. Please see this post for more details fintechprofessor.com/forums/topic/how-to-report-p-values-in-asdoc-nested-table/
@sophieayling6126
@sophieayling6126 Жыл бұрын
thank you this is very helpful. I am wondering how I can specify value labels in a nested table output? It is currently outputting with the number of the value label but not the value name itself. e.g. 1 bn.gender 2. gender instead of 1.bn male 2. female. Grateful for your clarification
@StataProfessor
@StataProfessor Жыл бұрын
Have you tried the label option. If it does not work, then you may try asdocx which has all these missing features fintechprofessor.com/asdocx/
@viveksarati
@viveksarati 3 жыл бұрын
Hi prof. Is it okay if your control variables to be omitted due to collinearity in multiple regression whilst using asdoc?
@ahmetozkardas7301
@ahmetozkardas7301 3 жыл бұрын
Thank you, this video helped a lot
@Mauriciodesc
@Mauriciodesc 4 жыл бұрын
Hi! Can we use "asdoc" with "teffects" and "eteffects" ? I have already tested but the exported table loses its nicely formatation and the option "nest" seems not to work though. Thank you!
@omersarigul92
@omersarigul92 3 жыл бұрын
Dear Professor thanks a lot, could you also explain the text addition please
@zubiahmmad4452
@zubiahmmad4452 4 жыл бұрын
Is there asdoc for sem models? Thanks
@shahrzadtarrahi2041
@shahrzadtarrahi2041 3 жыл бұрын
Thank you so much!
@syedtauseefali1869
@syedtauseefali1869 6 жыл бұрын
Thank you sir, you have made a very messy task very comfortable. If I compare it with outreg, outreg2 and estout package then your work is far better. But one question, I think we can not use it for other tests like “xttest3”, “xttxt0”, “xtserial” ,“vif”, “pesaran” , and stationarity tests. How to use sir “asdoc” in those tests? Thanks once again
@StataProfessor
@StataProfessor 6 жыл бұрын
Dear Syed Tauseef Ali Thanks for your kinds words. The mention tests generate one line or two lines of results. Therefore, they can be easily appended to the Word document created by asdoc by using the option text(), see the help file for more details. Please note that three is a built-in mechanism for the results of VIF command in asdoc, so this one does not need any further coding.
@goaljason1813
@goaljason1813 4 жыл бұрын
Thank you so much for this, saved lots of time for me. One quick question, how to show label name of categorical variables (e.g. INDUSTRY) in your example by using i.INDUSTRY n the regression instead of creating dummies explicitly for each value of INDUSTRY, like what is used in your example. Any suggestion will be deeply appreciated.
@AttaullahShah
@AttaullahShah 4 жыл бұрын
Thanks for the suggestion. I shall work on it. Please cite asdoc in your work. In-text citation Tables were created using asdoc, a Stata program written by Shah (2018). Bibliography Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.
@fidanabdullaeva5128
@fidanabdullaeva5128 4 жыл бұрын
Thank you very much it helped a lot! I have one problem. I am estimating the fixed-effects and got Pseudo R^2 equal to .z instead of the normal one. Do you know the reason? How can I fix it?
@econometricsokonometrisch2518
@econometricsokonometrisch2518 2 жыл бұрын
because there is not Pseudo R square for this model. Check original results.
@Asadkhan-xt8gs
@Asadkhan-xt8gs 4 жыл бұрын
Can we use "asdoc" with "ivreg2"??
@agnesonyango4188
@agnesonyango4188 4 жыл бұрын
I tried using asdoc , nest command in Hierarchial regression.l get the output in word, but my models are not in one table.Does asdoc work hireg command in stata ?
@AttaullahShah
@AttaullahShah 4 жыл бұрын
Agnes : Support for hireg is not yet added to asdoc.
@mark12345680
@mark12345680 4 жыл бұрын
Hi Professor, I have a question about running a regression model for multiple year, how do you get a table that will show the coefficients for each year? For instance, my sample data runs from 1966 to 2019, how do I get a table that will output the coefficient by year?
@AttaullahShah
@AttaullahShah 4 жыл бұрын
This is a case of regressions over groups. Here the grouping variable is the year. In this video kzbin.info/www/bejne/qJy4hmqLnt6aeLc, I show group-wise regressions for companies, however, you can replace companies with years. Specifically, try the wide option, that is shown towards the end of the video.
@mark12345680
@mark12345680 4 жыл бұрын
@@AttaullahShah Thank you for your reply Attaullah, I tried to run a regression grouped by year. I checked my variables with the tutorial, my variables are float variables, same as the tutorial's data. I could make a nice table with the tutorial data. However, when I ran with my own sample, the myfile.doc shows a bunch of nonsense.. Any idea what may cause this? Sorry to bother again.
@mark12345680
@mark12345680 4 жыл бұрын
When I open the Myfile.doc, I am looking at these error messages \cellx2300 \fs20\pard\intbl\ql {Mean dependent var}\cell \cellx4050 \fs20\pard\intbl\qr {0.501}\cell \cellx6350 \fs20\pard\intbl\ql {SD dependent var }\cell \cellx8100 \fs20\pard\intbl\qr {0.576}\cell ow}
@soobinchoi9083
@soobinchoi9083 4 жыл бұрын
Thank you for this great package. I just tried to use it with "mi estimate" and it did not work. Is there any way to use this package with mi?
@annayu2438
@annayu2438 5 жыл бұрын
I am wondering how to report t stat in the parenthesis rather than the standard error which seems default in asdoc.
@StataProfessor
@StataProfessor 5 жыл бұрын
I think you are asking about nested tables. In the options, add rep(t). For example, sysuse auto asdoc reg price mpg, rep(t) replace nest asdoc reg price mpg length , rep(t) nest
@박현준-m1j
@박현준-m1j 6 жыл бұрын
Thank you professor. may i ask a question? I want use reg's command that is (i.time) (i.location). Then i need to drop time and location dummy in word by using asdoc. but if i type the command, it will occur the error. how do i do it?
@StataProfessor
@StataProfessor 6 жыл бұрын
For excluding i.year and i.location dummies, you can use the option drop(i.year i.location) option. For more details, see this detailed blog post fintechprofessor.com/2018/08/15/dropping-i-dummies-from-regression-asdoc-word-stata/
@MrCandemir
@MrCandemir 6 жыл бұрын
Can you share the codes that appear in the notepad file you are preparing a video?
@YasirBinTariq
@YasirBinTariq 6 жыл бұрын
How to add information/result like adjusted R square, F-Statistics or Chi-2 Statistics, their p-values etc. in the regression tables. By default it is giving number of observations and R-squared(not giving it in fixed-effects) only.
@StataProfessor
@StataProfessor 6 жыл бұрын
Dear Dr. Yasir Bin Tariq, thanks for your comments. The additional statistics can be added using the option stat. This is documented in the help file, if you type : help asdoc##4Regressions These details are listed in Section 3.10 of the help file. 3.10 stat(stats from e()) (used only with option nest) stat() can be used to report additional regression statistics that are stored in macro e(). For example: stat (rmse, rss) Please note that each statistic should be separated by the character comma. Some of the most commonly used e() statistics of regression models are as follows: ----------------------- Statistics ------------------------ N Number of observations. Reported by asdoc as default r2 R-squared. Reported by asdoc as default r2_a Adjusted r-squared F F-statistics rmse RMSE rss Residual sum of squares ll Log-likelihood chi2 Chi-square value --------------------------------------------------------
@YasirBinTariq
@YasirBinTariq 6 жыл бұрын
Thank you so much.
@YasirBinTariq
@YasirBinTariq 6 жыл бұрын
One more question? Does asdoc support quietly function?
@StataProfessor
@StataProfessor 6 жыл бұрын
In some commands yes, such as sum reg cor. However, asdoc converts the log output from some commands, in such cases qui cannot be used such as ameans, tab, etc.
@YasirBinTariq
@YasirBinTariq 6 жыл бұрын
Thank you
@MuhammadMoiz91
@MuhammadMoiz91 5 жыл бұрын
Thank you so much! I am using asdoc now... Can you please provide a link to your LinkedIn profile somewhere?
@shuoguo5345
@shuoguo5345 5 жыл бұрын
Dear Stat Professor, I am having trouble putting various regression tables together and the error seems to be cluster(locid), when I type this in, it says option cluster() not allowed, I am doing gls regressions. Please let me know if you know how to resolve this error!! thank you so much
@StataProfessor
@StataProfessor 5 жыл бұрын
Can you please post the code line that generates the given error?
@StataProfessor
@StataProfessor 4 жыл бұрын
If you like asdoc, you shall like asdocx even more. asdocx can export to Excel and has tons of other features, see this link for details fintechprofessor.com/asdocx/
@MukeshKumar-ln1iv
@MukeshKumar-ln1iv 4 жыл бұрын
hii sir thanks for developing such a wonderful 'asdoc' package, in the current exercise where did you defined the 'stars' for level of significance, could you reply, please
@StataProfessor
@StataProfessor 4 жыл бұрын
I used the defaults. i.e when you do not specify stars. However, you can set your own stars using setstars option, you can read about it here fintechprofessor.com/2018/12/19/asdoc-cutomizing-the-regression-output-ms-word-from-stata-confidence-interval-adding-stars-etc/, read point 4 there
@Snipedddd
@Snipedddd 4 жыл бұрын
The regression values asdoc displays in Word are different from what I see in the stata output, what am I doing wrong?
@AttaullahShah
@AttaullahShah 4 жыл бұрын
Please post the full asdoc command here or email me at attaullah.shah@imsciences.edu.pk
@tapangrelindis9050
@tapangrelindis9050 4 жыл бұрын
same for me
@victorosei677
@victorosei677 4 жыл бұрын
Such a great contribution to the stata world. Please can you share your do file?
@AttaullahShah
@AttaullahShah 4 жыл бұрын
Please subscribe to the channel. I shall try to find it and share with you.
@StataProfessor
@StataProfessor 6 жыл бұрын
Shahzad Khan has asked :I am using three regression with same dependent and controls but with different independent . I don’t know how to make make a table of it. Note.: I can not use all independent in same model" . A provide a breif answer in this blog post fintechprofessor.com/creating-a-nested-regression-table-with-asdoc-in-stata/
@germansverdlov3196
@germansverdlov3196 6 жыл бұрын
THANK YOU!!!
@IMzz12
@IMzz12 3 жыл бұрын
Thank you
@Palaund
@Palaund 5 жыл бұрын
Thank you!
@clem2248
@clem2248 5 жыл бұрын
Hi, it says that the nest option is not valid.. Help please :)
@StataProfessor
@StataProfessor 5 жыл бұрын
Please provide more details. What was the exact Stata code that you typed and what was the error message shown on the Stata screen.
@viktoriadome4057
@viktoriadome4057 5 жыл бұрын
Hi Professor Thank you very much for the video. I would like to ask you about the add (dummy, yes) command because STATA keeps returning an error: invalid 'yes' r(198) and I cannot seem to figure out why. I hope you will be able to help me. Please see my command here: asdoc probit H1 J7A SIZE FOREIGN1 STATEOWN1 EXPORTER COMPETITORS COMPETITORS_binary MANEXP SUR VEYt i.a0 i.countrynew, nest drop(i.a0 i.countrynew) add (Industry dummies, yes, Country dummies, yes) I also tried: ... replace add (Industry dummies, yes, Country dummies, yes) but my attempt has also been unsuccessful. Thanks for your help in advance. Kind Regards Viktoria
Writing all statistics to a single Word file from Stata with asdoc
8:53
asdoc and asdocx for Publication Quality tables | Webminar
34:48
Stata Professor
Рет қаралды 10 М.
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
Tables in Stata with estout
11:40
SebastianWaiEcon
Рет қаралды 130 М.
Create publication quality table of correlation in Stata with asdoc
5:18
APA Tables and Psychology Oriented Analysis in R with the rempsyc Package
11:11
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 276 М.
You Won't Believe These Crazy PIVOT TABLE Hacks!
11:30
Leila Gharani
Рет қаралды 735 М.
Export Descriptive Statistics, Tabulation and ttest Results From Stata
14:53