2024-12-30 00:35:42 +01:00
\documentclass [12pt] { article}
\usepackage { natbib}
\usepackage { url}
\usepackage [utf8x] { inputenc}
\usepackage { mathtools} %
\usepackage { graphicx}
\usepackage { parskip}
\usepackage { xcolor} %
\usepackage { fancyhdr}
\usepackage { vmargin}
\usepackage { booktabs} %
\usepackage { sectsty} % for coloring sections
\setmarginsrb { 3 cm} { 2.5 cm} { 3 cm} { 2.5 cm} { 1 cm} { 1.5 cm} { 1 cm} { 1.5 cm}
% define your own custom colors
% If you want to change the colors you would need to update the RGB code in the
% last brackets. Better not change the name of the color as it is used elsewhere
\definecolor { report_ main} { HTML} { 200045}
\definecolor { report_ second} { HTML} { F39912}
\definecolor { report_ third} { HTML} { 8B0010}
\title { \color { report_ main} { Assignment Econometrics 2024} } % Title
\author { Hendrik Marcel W Tillemans} % Author
\date { \today } % Date
\makeatletter
\let \thetitle \@ title
\let \theauthor \@ author
\let \thedate \@ date
\makeatother
\pagestyle { fancy}
\fancyhf { }
\rhead { \theauthor } % header on the right
\lhead { \thetitle } % header on the left
\cfoot { \thepage } % footer in the center
\sectionfont { \color { report_ main} }
\subsectionfont { \color { report_ third} }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is where the actual document starts
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin { document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This section details the group information
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin { titlepage}
\centering
\vspace * { 0.5 cm}
\includegraphics [scale = 0.95] { ../figures/vub.png} \\ [1.0 cm] % University Logo
\textsc { \LARGE \newline \newline Free University Brussels} \\ [2.0 cm] % University Name
\textsc { \Large \color { report_ main} { Class: Econometrics} } \\ [0.5 cm] % Course Code
\rule { \linewidth } { 0.2 mm} \\ [0.4 cm]
{ \huge \bfseries \thetitle } \\
\rule { \linewidth } { 0.2 mm} \\ [1.5 cm]
\begin { minipage} { 0.5\textwidth }
\begin { flushleft} \large
\emph { Professor:} \\
Jeroen Kerkhof\\
Faculty of Economic Sciences\\
\end { flushleft}
\end { minipage} ~
\begin { minipage} { 0.4\textwidth }
\begin { flushright} \large
\emph { Group:} \\
Hendrik Marcel W Tillemans\\
\end { flushright}
\end { minipage} \\ [2 cm]
% takes the current date
\thedate
\end { titlepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This details the inclusion (or not) of the table of contents
% and list of figures and tables.
% You can add/remove page breaks as you seem fit.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\pagebreak
\listoffigures
\listoftables
\pagebreak
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is the start of the actual document content
% You can just write text in here as you would in any other word processor.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section { Question 1}
This my answer to question 1.
\subsection { Example}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagebreak
creates a page break.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section { Simulation Study}
2024-12-30 16:13:24 +01:00
\subsection { Question 1.2}
Are the estimates of $ \beta _ 0 $ , $ \beta _ 1 $ and $ \beta _ 2 $ close to their true values? Why (not)?
2024-12-30 00:35:42 +01:00
\begin { table} [h]
\input { table_ 1_ 2}
\caption { Linear Fit on Generated Data}
\label { tab::table_ 1_ 2}
\end { table}
2024-12-30 16:13:24 +01:00
\subsection { Question 1.3}
Compare your estimates with those of question 1.2. Wich model do you choose? Discuss in terms of $ \beta _ 1 $ and model prediction.
2024-12-30 00:35:42 +01:00
\begin { table} [h]
\input { table_ 1_ 3}
\caption { Linear Fit with 1 Variable}
\label { tab::table_ 1_ 3}
\end { table}
2024-12-30 16:13:24 +01:00
\subsection { Question 1.4}
Do the results confirm what you would have expected to change in your estimation results compared to the results in question 1.2? Why (not)? How about the standard errors of the estimates of $ \beta _ 1 $ and $ \beta _ 2 $ ?
2024-12-30 00:35:42 +01:00
\begin { table} [h]
\input { table_ 1_ 4}
\caption { New Linear Fit on Generated Data}
\label { tab::table_ 1_ 4}
\end { table}
2024-12-30 16:13:24 +01:00
\subsection { Question 1.5}
Are the OLS estimators for the slope coefficients biased? Why (not)?
2024-12-30 00:35:42 +01:00
\begin { table} [h]
\input { table_ 1_ 5}
\caption { Linear Fit with 1 Variable}
\label { tab::table_ 1_ 5}
\end { table}
2024-12-30 16:13:24 +01:00
\subsection { Question 1.6}
Do the results confirm what you would have
expected to change in your estimation results compared to the results in question 1.2?
Why (not)? How about the standard errors of the estimates of $ \beta _ 1 $ ? Use the formula
Var$ \beta _ 1 $ to motivate your answer. What would happen if the standard deviation of x1
is equal to 0 instead of equals 1? Discuss in terms of the assumptions of the Multiple
Linear Regression mode.
2024-12-30 00:35:42 +01:00
\begin { table} [h]
\input { table_ 1_ 6}
\caption { Generate Data with Small Variance on x1}
\label { tab::table_ 1_ 6}
\end { table}
\section { examples}
Some greek letters:
$ \alpha $
$ \beta $
$ \gamma $
$ \theta $
$ \varepsilon $
$ \pi $
$ \lambda $
$ \tau $
$ x = x + 27 $
x=x+27
$ A \Longrightarrow B $
$ \underbrace { abs } _ { test } $
sub and superscript
$ \beta _ 0 $
$ \sum _ { i = 1 } ^ { n } i $
In an equation:
\begin { equation}
\sum _ { j=1} { n} j^ 2 \beta
\end { equation}
Equation without number
\begin { equation*}
A \Rightarrow B
\end { equation*}
\section { Empirical Investigation}
Here is some example code to create tables and graphs from the
Python script. In order for this to work you would first need
to run the script non\_ linear\_ models\_ example\_ report.py. Running that
file (using the recommended file structure) creates some figures
in the figures folder and some tables in .tex files in the report folder.
\subsection { Question 3}
For instance, here the file df\_ table.tex is used print the actual numbers
in the table.
\begin { table} [h]
\input { df_ table}
\caption { This tables has the estimates for ...}
\label { tab::estimation_ results}
\end { table}
\subsection { Question 4: Some graphs}
\begin { figure}
\includegraphics [width=0.6\paperwidth] { ../figures/quadratic_ model_ y}
\caption { This is a Figure coming straight from Python.}
\label { fig::example_ data}
\end { figure}
In Figure \ref { fig::example_ data} we see the data.
\begin { figure}
\includegraphics [width=0.6\paperwidth] { ../figures/quadratic_ model_ linear}
\caption { This is a linear fit on a quadratic model.}
\label { fig::example_ quadratic_ linear}
\end { figure}
In Figure \ref { fig::example_ quadratic_ linear} we see a linear fit.
\begin { figure}
\includegraphics [width=0.6\paperwidth] { ../figures/quadratic_ model_ quadratic}
\caption { This is quadratic fit on a quadratic model.}
\label { fig::example_ quadratic_ quadratic}
\end { figure}
In Figure \ref { fig::example_ quadratic_ quadratic} we see that
\subsection { Question 5}
Equation example with matrices:
\begin { equation} \label { eq::wald_ test}
H_ 0: \beta _ 1 = - \beta _ 2; \beta _ 3=0; \beta _ 2 + 2\beta _ 4 = 2
\quad H_ 1: \neg H_ 0
\end { equation}
can be written in matrix form as:
\begin { equation} \label { eq::matrix_ form}
\begin { bmatrix}
1 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 1 & 0 & 2
\end { bmatrix}
\begin { bmatrix}
\beta _ 1 \\
\beta _ 2 \\
\beta _ 3 \\
\beta _ 4
\end { bmatrix} =
\begin { bmatrix}
0 \\
0 \\
2
\end { bmatrix}
\end { equation}
In equation \eqref { eq::wald_ test} we see that... and in equation \eqref { eq::matrix_ form} we see that
\subsection { Question 6}
$ \beta $
\begin { table}
\input { summary}
\caption { This tables has the estimates summary}
\label { tab::estimation_ results_ summary}
\end { table}
Table \ref { tab::estimation_ results_ summary} has the full summary.
\begin { table}
\input { results_ coef}
\caption { This tables has the estimates summary}
\label { tab::estimation_ results_ coef}
\end { table}
Table \ref { tab::estimation_ results_ coef} has the only the coefficient
results.
\end { document}