Statistical Programming
Prof. Dr. Martin Spindler
🥳 You’ve learned how to program with Python! 🎉
I’d encourage you to practice programming and develop your programming skills further!
Here are some resources
Start your own project
Jupyter and Quarto are two frameworks to combine data and code in a single document
Both frameworks are based on markdown and allow to combine code and data in a single document
You can use them to create reports, blogposts, websites, slideshows, etc.
You can load data, run code, and display (& polish) results in the same document
.ipynb file)
.ipynb fileJupyter is very popular and it easily integrates with cloud services/servers
Very convient: google Colab!
There are various extensions available, see https://docs.jupyter.org/en/latest/
nbconvert to convert notebooks to other formats (e.g., html, pdf, etc.)Quarto is a relatively new framework to generate dynamic content, like
.bib files) and math formula (LaTeX)Thereby, Quarto has a unified syntax that is based on markdown
Installation guidelines & getting started guide
.qmd file and render
Ctrl + k) or command line quarto renderIt is very easy to get started with Quarto
You can use Quarto in combination with GitHub, for example to set up your personal website
Quarto is developing very fast, for example recently they added support for dashboards
.qmd file and render it as .pdf
format: pdf.bib file and use LaTeX syntax to cite references.tex preamble and commands to customize the documentquarto render command in the terminalCtrl + k) to render the file.docx files etc..ppt.html (through reveal.js).pdf (through latex beamer)With reveal.js, slideshows become interactive, for example, you can include GIFs, videos, animations, etc.
reveal.js: Create a new .qmd file and render it as .html slideshow
format: revealjsJupyter website https://jupyter.org/
Quarto website https://quarto.org/
Statistical Programming