stata basics shortcuts and integration with
play

Stata: Basics, Shortcuts, and Integration with Introduction LaTeX - PowerPoint PPT Presentation

Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Stata: Basics, Shortcuts, and Integration with Introduction LaTeX Stata Syntax and Shortcuts LaTeX Integration Nathan Blascak Temple University September 24, 2014


  1. Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Stata: Basics, Shortcuts, and Integration with Introduction LaTeX Stata Syntax and Shortcuts LaTeX Integration Nathan Blascak Temple University September 24, 2014

  2. Outline Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak 1 Introduction Introduction Stata Syntax and Shortcuts LaTeX 2 Stata Syntax and Shortcuts Integration 3 LaTeX Integration

  3. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Stata Syntax First step: import your data and Shortcuts LaTeX Integration

  4. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Stata Syntax First step: import your data and Shortcuts LaTeX Import Choose file type Integration File

  5. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Viewing data Introduction Stata Syntax and Shortcuts LaTeX Integration

  6. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Viewing data Introduction Type browse Stata Syntax and Shortcuts LaTeX Integration

  7. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Viewing data Introduction Type browse Stata Syntax and Shortcuts Summary statistics LaTeX Integration

  8. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Viewing data Introduction Type browse Stata Syntax and Shortcuts Summary statistics LaTeX Integration Type summarize

  9. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Viewing data Introduction Type browse Stata Syntax and Shortcuts Summary statistics LaTeX Integration Type summarize Standard OLS regression

  10. Introduction Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Viewing data Introduction Type browse Stata Syntax and Shortcuts Summary statistics LaTeX Integration Type summarize Standard OLS regression Type regress dep variable dep variables

  11. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Stata Syntax All commands available from pull-down menus and Shortcuts LaTeX Integration

  12. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Stata Syntax All commands available from pull-down menus and Shortcuts Quicker to use the actual commands in the Command LaTeX Integration window for many procedures

  13. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction The ‘if’ operator Stata Syntax and Shortcuts LaTeX Integration

  14. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction The ‘if’ operator Stata Syntax and Shortcuts The ‘&’ operator LaTeX Integration

  15. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction The ‘if’ operator Stata Syntax and Shortcuts The ‘&’ operator LaTeX Integration The ‘ | ’ operator

  16. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Generating variables Introduction using the ‘by’ command Stata Syntax and Shortcuts LaTeX Integration

  17. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Generating variables Introduction using the ‘by’ command Stata Syntax and Shortcuts using the leads/lags operators LaTeX Integration

  18. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Generating variables Introduction using the ‘by’ command Stata Syntax and Shortcuts using the leads/lags operators LaTeX Other useful syntax: Integration

  19. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Generating variables Introduction using the ‘by’ command Stata Syntax and Shortcuts using the leads/lags operators LaTeX Other useful syntax: Integration , nolog option

  20. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Generating variables Introduction using the ‘by’ command Stata Syntax and Shortcuts using the leads/lags operators LaTeX Other useful syntax: Integration , nolog option quielty: command

  21. Syntax and Shortcuts Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Generating variables Introduction using the ‘by’ command Stata Syntax and Shortcuts using the leads/lags operators LaTeX Other useful syntax: Integration , nolog option quielty: command set more off

  22. Exporting Stata Tables to LaTex Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Can install package to export estimation results to LaTeX Introduction Stata Syntax and Shortcuts LaTeX Integration

  23. Exporting Stata Tables to LaTex Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Can install package to export estimation results to LaTeX Introduction Not perfect, but a big time saver Stata Syntax and Shortcuts LaTeX Integration

  24. Exporting Stata Tables to LaTex Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Can install package to export estimation results to LaTeX Introduction Not perfect, but a big time saver Stata Syntax and Shortcuts Installation: LaTeX Integration

  25. Exporting Stata Tables to LaTex Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Can install package to export estimation results to LaTeX Introduction Not perfect, but a big time saver Stata Syntax and Shortcuts Installation: LaTeX use the SSC command in Stata (will download from the Integration web)

  26. Exporting Stata Tables to LaTex Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Can install package to export estimation results to LaTeX Introduction Not perfect, but a big time saver Stata Syntax and Shortcuts Installation: LaTeX use the SSC command in Stata (will download from the Integration web) command: ssc install estout, replace

  27. Exporting Stata Tables to LaTex Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Can install package to export estimation results to LaTeX Introduction Not perfect, but a big time saver Stata Syntax and Shortcuts Installation: LaTeX use the SSC command in Stata (will download from the Integration web) command: ssc install estout, replace type directly in the Command window

  28. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Requires saved results using the estimate store name Stata Syntax post-estimation command and Shortcuts LaTeX Integration

  29. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Requires saved results using the estimate store name Stata Syntax post-estimation command and Shortcuts command: LaTeX Integration

  30. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Requires saved results using the estimate store name Stata Syntax post-estimation command and Shortcuts command: LaTeX Integration esttab name using file name.tex, options

  31. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Introduction Requires saved results using the estimate store name Stata Syntax post-estimation command and Shortcuts command: LaTeX Integration esttab name using file name.tex, options Will produce a clickable link in the Command window

  32. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Available options: Introduction Stata Syntax and Shortcuts LaTeX Integration

  33. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Available options: Introduction b(#) - number of significant digits on coefficients Stata Syntax and Shortcuts LaTeX Integration

  34. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Available options: Introduction b(#) - number of significant digits on coefficients Stata Syntax and Shortcuts se(#) - number of significant digits on standard errors LaTeX Integration

  35. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Available options: Introduction b(#) - number of significant digits on coefficients Stata Syntax and Shortcuts se(#) - number of significant digits on standard errors LaTeX replace starlevels() - choose how denote significant Integration results

  36. Using the esttab command Stata: Basics, Shortcuts, and Integration with LaTeX Nathan Blascak Available options: Introduction b(#) - number of significant digits on coefficients Stata Syntax and Shortcuts se(#) - number of significant digits on standard errors LaTeX replace starlevels() - choose how denote significant Integration results title - create a title for the table

Recommend


More recommend