rapid formation of regression tables for research …fm · rapid formation of regression tables for...
TRANSCRIPT
![Page 1: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/1.jpg)
Rapid formation of regression tables for research purposes
Roy WadaUCLA/RANDOctober 2007
![Page 2: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/2.jpg)
Reasons for Regression Tables
• Regression tables are apparently produced for journal publication– “formats it as in journal articles ”
John Gallup’s –outreg–– “pretty looking publication-style regression
tables”Ben Jann’s –estout–
– “publication quality tables”Ian Watson –tabout–
![Page 3: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/3.jpg)
Reasons for Regression Tables
• How many regression tables do you publish?
• How often do you publish anyway?• Why does it attract so much attention from
Stata users?
![Page 4: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/4.jpg)
Reasons for Regression Tables
• Log files are serially produced• Researchers have traditionally printed log
files and flipped them back-and-forth
![Page 5: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/5.jpg)
Example of Log File
![Page 6: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/6.jpg)
Reasons for Regression Tables
• Regression tables facilitates analysis by placing outputs next to each other– Robustness of results– (Mis)specification check– Testing for collinearity
![Page 7: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/7.jpg)
Regression Output: –reg–
![Page 8: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/8.jpg)
Regression Table: -shellout-
![Page 9: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/9.jpg)
Regression Output: –reg3–
![Page 10: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/10.jpg)
Regression Table: –seeout–
![Page 11: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/11.jpg)
Regression Tables asInformation Management tool
• Improperly formatted Information is less useful than properly formatted one
• Management aspects of information with respect to regression tables– Storage– Interface (delivery to end-user)
• Access• Display
![Page 12: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/12.jpg)
Regression Tables:Storage Aspect
• Traditional log files
Stata
ExternalLog files
Active estimates
![Page 13: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/13.jpg)
Regression Tables:Storage Aspect
• John Gallup’s -outreg-
Stata
ExternalStored text files
Active estimates
![Page 14: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/14.jpg)
Regression Tables:Storage Aspect
• Estimates and Mata (post-Stata 8/Stata 9)
Stata External
Mata
Estimates
Active estimatesStored text files
![Page 15: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/15.jpg)
Regression Tables:Storage Aspect
• Estimates and Mata (post-Stata 8/Stata 9)
Stata External
Mata
Estimates
Active estimatesStored text files
![Page 16: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/16.jpg)
Regression Tables:Interface Aspect
• Display– Wrapping text problem– Publication-quality tables are not always the
best for analysis (finger pointing)• Access
– Automated (least involvement by users)– External compatibility
![Page 17: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/17.jpg)
Regression Tables:-outreg2- based on -outreg-
• Display– Automatically formatted display (digits, stars)– Spreadsheet format in -seeout- and -shellout-
• Access– Single command driven– One click hypertext– Excel, Word, LaTex, Text– Prefix command and stored options
![Page 18: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/18.jpg)
Regression Table: –seeout–
![Page 19: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/19.jpg)
Regression Table: -shellout-
![Page 20: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/20.jpg)
Regression Tables:-outreg2-
![Page 21: Rapid formation of regression tables for research …fm · Rapid formation of regression tables for research purposes Roy Wada UCLA/RAND October 2007. ... – Excel, Word, LaTex,](https://reader031.vdocuments.mx/reader031/viewer/2022022611/5b99b8b909d3f207308c7af9/html5/thumbnails/21.jpg)
Regression Tables:Future Development
• Rethinking about traditional OLS display– Sum of Squares, test of F-statistics (Prob > F), 95%
Confidence Intervals• Automatic storage and production of regression
tables• Complicated command is no automation at all
(easier to do it by hand!!)• Spreadsheet-style interface dedicated to
regression outputs/tables• Mata-based programming