Problem Set Write-Up
Forfatter
Verena Kunz & David Weyrauch
Sidst opdateret
6 år siden
Licens
Creative Commons CC BY 4.0
Resumé
A plain template we use to teach an introduction to LaTeX for our second year undergraduate stats course.
A plain template we use to teach an introduction to LaTeX for our second year undergraduate stats course.
\documentclass[11pt, a4paper]{article} % setsfont size and layout
%% required packages %%
\usepackage[margin=2.5cm]{geometry} % margins
\usepackage[english]{babel} % language (replace with german or ngerman for german texts)
\usepackage[utf8]{inputenc} % Umlaute
\usepackage{amsmath} % math formulas
\usepackage{graphicx} % graphics
\usepackage{fancyhdr} % header and footer on every page
\usepackage{setspace} % line space (e.g. \singlespacing, \onehalfspacing or \doublespacing)
%% Here the main part of the document begins %%
\begin{document}
%% Some more settings %%
\setlength{\parindent}{0pt} % first line in paragraph will not be indented
\onehalfspacing % 1.5 line spacing
%\thispagestyle{empty} % no header and page number on first page
%% Header on first page with course information etc. %%
\begin{tabular}{p{15.5cm}}
{\large \textbf{Quantitative Methods in International Relations}} \\
University of Mannheim Spring 2019 \\
Instructor: \\
\hline
\\
\end{tabular}
\vspace*{0.3cm} % vertical space between header on top of the page and main heading
\begin{center}
{\Large \textbf{Write-Up for Problems Session 4}}
\vspace{2mm}
Your name here
\end{center}
\vspace{0.4cm}
\section*{Problem 1}
Run a simplified model using the \texttt{tariff.dta} dataset that includes \texttt{tariff} as the dependent and \texttt{polity} and \texttt{gatt} as independent variables. Plot the effect of \texttt{polity} on \texttt{tariff} for GATT members and non-GATT members. How does GATT membership change the predicted values for tariffs?
\end{document}