Skip to content

Commit

Permalink
Started the enhancement of the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SeBecker committed Sep 27, 2018
1 parent b0e5c4d commit 45c3edb
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 48 deletions.
54 changes: 27 additions & 27 deletions docs/economics.rst

Large diffs are not rendered by default.

Binary file modified docs/figures/fig-distribution-joint-potential.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/figures/fig-distribution-joint-surplus.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/figures/scripts/fig-distribution-joint.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

ax.text(3.3, 3.3, r'$45^o$')

plt.savefig(OUTPUT_DIR + '/fig-distribution-joint-potential.png')
plt.savefig(OUTPUT_DIR + '/fig-distribution-joint-potential.png', dpi=300)

# This plot shows the joint distribution of surplus and benefits.
x = np.linspace(y_min, y_max, 100)
Expand Down
11 changes: 7 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ Welcome to grmpy's documentation!

We build on the following main references:

James J. Heckman and Edward J. Vytlacil. `Econometric evaluation of social programs, part I: Causal models, structural models and econometric policy evaluation. <http://ac.els-cdn.com/S1573441207060709/1-s2.0-S1573441207060709-main.pdf?_tid=b933f5c8-6bbe-11e7-8ae8-00000aacb35d&acdnat=1500385435_c69182d36b79b66bbce5f5a7c593617c>`_ In *Handbook of Econometrics*, volume 6B, chapter 70, pages 4779–4874. Elsevier Science, 2007.
James J. Heckman and Edward J. Vytlacil. `Econometric evaluation of social programs, part I: Causal models, structural models and econometric policy evaluation. <https://www.sciencedirect.com/science/article/pii/S1573441207060709>`_ In *Handbook of Econometrics*, volume 6B, chapter 70, pages 4779–4874. Elsevier Science, 2007.

James J. Heckman and Edward J. Vytlacil. `Econometric evaluation of social programs, part II: Using the marginal treatment effect to organize alternative econometric estimators to evaluate social programs, and to forecast their effects in new environments. <http://ac.els-cdn.com/S1573441207060710/1-s2.0-S1573441207060710-main.pdf?_tid=5ccb4ace-6bbf-11e7-807b-00000aab0f26&acdnat=1500385710_c3706f18138fabe356b0f3ebddd75670>`_ In *Handbook of Econometrics*, volume 6B, chapter 71, pages 4875–5143. Elsevier Science, 2007.
James J. Heckman and Edward J. Vytlacil. `Econometric evaluation of social programs, part II: Using the marginal treatment effect to organize alternative econometric estimators to evaluate social programs, and to forecast their effects in new environments. <https://www.sciencedirect.com/science/article/pii/S1573441207060710>`_ In *Handbook of Econometrics*, volume 6B, chapter 71, pages 4875–5143. Elsevier Science, 2007.

The remainder of this documentation is structured as follows. We first present the basic economic model and provide installation instructions. We then illustrate the basic use case of the package in a tutorial and showcase some evidence regarding its reliability. The documentation concludes with some housekeeping issues.
Jaap H. Abbring and James J. Heckman. `Econometric evaluation of social programs, part III: Distributional treatment effects, dynamic treatment effects, dynamic discrete choice, and general equilibrium policy evaluation. <https://www.sciencedirect.com/science/article/pii/S1573441207060722>`_ *Handbook of Econometrics*, volume 6B, chapter 72, pages 5145-5303. Elsevier Science, 2007.

Please see `here <https://github.com/HumanCapitalEconomics/econometrics/blob/master/README.md>`_ for a host of lectures material on the econometrics of policy evaluation.

The remainder of this documentation is structured as follows. We first present the basic economic model and provide installation instructions. We then illustrate the basic use case of the package in a tutorial and showcase some evidence regarding its reliability. In addition we provide some information on the software engineering tools that are used for transparency and reliability purposes. The documentation concludes with further details for potential contributors, contact information as well as a listing of the latest releases.

The package is used as a teaching tool for a course on the econometrics of policy evaluation at the University of Bonn. The affiliated lecture material is available on `GitHub <https://github.com/HumanCapitalEconomics/econometrics/blob/master/README.md>`_ .

.. image:: https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000 :target:

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Installation
============

The ``grmpy`` package can be conveniently installed from the `Python Package Index <https://pypi.python.org/pypi>`_ (PyPI) or directly from its source files. We currently support Python 2.7 and Python 3.6 on Linux systems.
The ``grmpy`` package can be conveniently installed from the `Python Package Index <https://pypi.python.org/pypi>`_ (PyPI) or directly from its source files. We currently support Python 3.6 on Linux systems.

Python Package Index
--------------------
Expand Down
2 changes: 2 additions & 0 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ start str determines which start values are used for the estima
maxiter int maximum numbers of iterations the minimization process performs
dependent str indicates the dependent variable for the estimation process
indicator str defines the label of the treatment indicator variable
output_file str The name for the estimation output file
comparison int defines the label of the treatment indicator variable
========= ======= =====================================================


Expand Down
33 changes: 20 additions & 13 deletions promotion/presentation/04_grmpy_tutorial/files/s-features.tex
Original file line number Diff line number Diff line change
Expand Up @@ -121,23 +121,30 @@
\end{frame}

\begin{frame}
\textbf{What's yet to come?}
\begin{itemize}
\item Partial replication of \citeA{Carneiro.2011} (very soon!)
\item Addition of marginal surplus and marginal cost parameters
\item Implementation of polynomial and local instrumental variable estimation
\item Exploration of alternative optimization algorithms to address large estimation tasks
\end{itemize}
\begin{center}
\Large{\textbf{What's new?}}
\end{center}
\end{frame}

\begin{frame}\begin{center}
\LARGE\textbf{Application Example}
\end{center}\end{frame}
\begin{frame}{Replication Carneiro (2011)}
\begin{figure}
\includegraphics[scale=0.5]{../04_grmpy_tutorial_notebook/fig-marginal-benefit-parametric-replication.png}
\end{figure}
\end{frame}

\begin{frame}{Performance comparison}
\begin{figure}
\includegraphics[scale=0.5]{../04_grmpy_tutorial_notebook/fig1.png}
\end{figure}

\begin{frame}\begin{center}
\LARGE\textbf{Additional Information}
\end{center}\end{frame}

\end{frame}

\begin{frame}{Implementation of standard errors and adjustments on the output files}
\begin{center}
See: \href{../04_grmpy_tutorial_notebook/examples/example.info}{Example}
\end{center}
\end{frame}

\begin{frame}
\textbf{Online documentation}
Expand Down
Binary file modified promotion/presentation/04_grmpy_tutorial/main.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions promotion/presentation/04_grmpy_tutorial/main.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

\input{shared/header}
\input{files/header}
\input{files/s-title}

\begin{document}
Expand All @@ -10,6 +10,6 @@

\input{files/s-features}

\input{shared/appendix}
\input{files/appendix}

\end{document}

0 comments on commit 45c3edb

Please sign in to comment.