Study Guide: Week 3#
Open-ended questions on the material from week 3. The exam asks multiple-choice versions of questions like these. No answers are given: each question can be answered in a few sentences from the pages listed under its heading. The exam’s format is described in Exam Preparation.
Notebooks as Reports#
Read: Reports with Jupyter Notebooks and examples 03 and 04 of the PyDoit Examples Walkthrough.
The notes say notebooks are for reporting, not for pipeline steps. Give two concrete things that go wrong when computation lives in the notebook, and say how running the notebook as a
doittask turns it into a build target.What does
jupyter nbconvert --executedo? Why run a notebook from the command line instead of clicking “Run All”?Why are
.ipynbfiles hard to track in Git? What does storing a notebook as a.pyfile with Jupytext fix?
ChartBook and Project Templates#
Read: Agenda Item 2 of the week 3 chapter for ChartBook.
What is ChartBook, and what does
chartbook docs buildproduce?What does Cookiecutter do? What does Cruft add on top of it? (Read: Project Structure.)
LaTeX#
Read: Introduction to LaTeX and LaTeX Essentials.
What is LaTeX? How is writing in it different from writing in Word?
Why is LaTeX a good fit for a report that a pipeline regenerates?
In the document below, where does
example_table.texcome from, and what happens to the PDF when the data changes?\begin{table} \centering \input{example_table.tex} \end{table}
What is the difference between the
tabularandtableenvironments?What do
\includegraphicsand\inputeach bring into a document?
The Yield Curve and the Policy Path#
Read: Replicating the Gürkaynak, Sack, and Wright (2006) Treasury Yield Curve and Replicating the CME FedWatch Tool.
Why does the Treasury yield curve have to be fitted with a model instead of read directly off bond prices?
Gürkaynak, Sack, and Wright leave some Treasury securities out of the fit. Give two kinds they exclude and the reason for each.
A 30-Day Fed Funds futures contract trades at 95.50. What average fed funds rate does the market expect for that month, and why?
What does the CME FedWatch tool report, and what market data is it computed from?