ipystata
play

IPyStata Stata + Python + Jupyter Notebook The whole is greater - PowerPoint PPT Presentation

IPyStata Stata + Python + Jupyter Notebook The whole is greater than the sum of its parts. - Aristotle Introduction Workflow with Python and Stata Generate data Web scraping I/O operations and IOT (Internet-of-things) Process


  1. IPyStata Stata + Python + Jupyter Notebook “The whole is greater than the sum of its parts.” - Aristotle

  2. Introduction

  3. Workflow with Python and Stata Generate data • Web scraping • I/O operations and IOT (Internet-of-things) Process data • NLP (Natural language processing) • Ever have the urge to “just do it manually in Excel”?  Use Pandas! Document all your actions in code  replicability Insight from data • Statistical analysis (Stata) + • Visualize results / data (Stata / Python)

  4. + +

  5. What is the Jupyter Notebook?

  6. Demonstration: Jupyter basics Click here to play

  7. What is IPyStata? A wrapper to execute Stata code in a Jupyter Notebook environment Seamlessly use both Python and Stata Stata do-file / log-file on steroids in one environment  Input + Output in one place  (plots are supported)  Interchangeable data structures  Format / Headers / Comments using Pandas DataFrames  Markdown / Images / Latex equations  Run multiple Stata sessions at the same time from one notebook  Easy sharing of code + results  export ‘static’ version of the notebook  Works well with version control  GitHub renders notebooks!

  8. Click here to play

  9. Click here to play

  10. Click here to play

  11. Click here to play

  12. Click here to play

  13. Click here to play

  14. Use IPyStata to make offline materials • Jupyter Notebooks can easily be converted into offline HTML documents • These HTML documents can be easily edited for teaching and demonstration purposes  Converting to PDF works well

  15. Jupyter Notebook + Version Control • Officially supported by GitHub Code, results, comments, etc. all under version control! Click here to play

  16. How to start using IPyStata? • Check out my “getting started” guide on the IPyStata GitHub: 1) Install the Anaconda distribution https://git.io/vKrff 2) Install IPyStata • IPyStata GitHub page: 3) Configure IPyStata https://github.com/TiesdeKok/ipystata Questions? Contact me! • Official Jupyter website: - GitHub/TiesdeKok - t.c.j.dekok@uvt.nl http://www.jupyter.org/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend