Debian Codegraph @

texmf-dist/doc/latex/econometrics/econometrics.tex

raw
1 % This is the file econometrics.sty.
2 % This style file underlies the paper
3 % "Notation in Econometrics: a proposal for a standard"
4 % by Karim Abadir and Jan R. Magnus,
5 % The Econometrics Journal (2002), 5, 76-90.
6 %
7 % Copyright (c) 2016 by Erik Kole.
8 % All Rights Reserved.
9 %
10 % This work may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 % http://www.latex-project.org/lppl.txt
15 % and version 1.3 or later is part of all distributions of LaTeX
16 % version 2005/12/01 or later.
17 %
18 % This work has the LPPL maintenance status "maintained".
19 %
20 % The Current Maintainer of this work is Erik Kole.
21 %
22 % This work consists of the files econometrics.sty, econometrics.tex and
23 % econometrics.pdf
24
25 % This version: 1.0, January 15, 2016
26 %
27 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
28 %
29 \documentclass[12pt, a4paper]{ltxguide}
30 %\usepackage{a4wide}
31 \usepackage[margin=2.25cm]{geometry}
32 \usepackage[english]{babel}
33 \usepackage[latin1]{inputenc}
34 \usepackage[fleqn]{amsmath} % AMS
35 \usepackage{amssymb}
36 \usepackage{bm}
37 \usepackage{econometrics}
38 \usepackage[authoryear,round]{natbib}
39 \usepackage{booktabs}
40 \usepackage{url}
41
42 \title{The |econometrics| package}
43 \author{Erik Kole\thanks{Econometric Institute, Erasmus School of Economics, Erasmus University Rotterdam, Netherlands. Home page: \texttt{http://people.few.eur.nl/kole}, E-mail: \texttt{[email protected]}.}}
44
45 \date{Version 1.0, January 15, 2016}
46
47 \begin{document}
48 \maketitle
49
50
51 \begin{abstract}
52 \noindent This package contains commands for notation in econometric writing as proposed by \citet{Abadir02}.
53 \end{abstract}
54
55 \section{Introduction}
56 \citet{Abadir02} propose standards for mathematical and statistical notation when writing economic or econometric articles. Their proposed standards concern the notation of sets, vectors, matrices and some common operators. The package provides commands based on their proposal. It has also circulated as |ee.sty|.
57
58 To use the package, include the command |\usepackage{econometrics}| in the preambule of your document. No general options are available. The package requires the presence of the packages |amsmath|, |amssymb| and |bm|.
59
60 \section{Using the package}
61
62 \subsection{Typesetting single letters}
63 The package contains the following commands for typesetting letters to denote mathematical concepts
64 \begin{itemize}
65 \item Sets: |\S| followed by another letter sets the letter in blackboard bold type. \\ Example: |\SN| produces $\SN$ to denote the set of natural numbers. \\ Available for C, N, Q, R, and Z.
66 \item Vectors: |\v| followed by another lower case letter sets the letter in bold type. \\ Example: |\va| produces $\va$; |\valpha| produces $\valpha$. \\ Available for all lower case Latin and Greek letters.
67 \item Matrices: |m| followed by a capital letter sets the letter in bold type. \\ Example: |\mG| produces $\mG$; |\mGamma| produces $\mGamma$. \\ Available for all upper case Latin letters and the Greek upper case letters that differ from Latin ones.
68 \item Calligraphic letters: |\cal| followed by a capital letter sets the letter in calligraphic type. \\ Example: |\calF| produces $\calF$. \\ Available for all upper case Roman letters.
69 \item Roman letters: |\r| followed by a letter sets the letter in roman type. \\ Example: |\rb| produces $\rb$; |\rB| produces $\rB$. \\ Available for b, B, C, D, f, F, G, H, L, N, t, U. and W.
70 \end{itemize}
71
72 \subsection{Typesetting constants, statistical distributions and symbols}
73 The package contains the following commands for typesetting constants, statistical distributions, symbols and special matrices and vectors.
74
75 \begin{center}
76 \begin{tabular}{lll} \toprule
77 command & produces & description \\ \midrule
78 |\eu|, |\e| & $\eu$ & Euler's constant \\
79 |\iu| & $\iu$ & imaginary unit \\
80 |\rGam| & $\rGam$ & Gamma distribution \\
81 |\rBeta| & $\rBeta$ & Beta distribution \\
82 |\Bin| & $\Bin$ & Binomial distribution \\
83 |\LN| & $\LN$ & Lognormal distribution \\
84 |\IN| & $\IN$ & sequence of independent normal distributions \\
85 |\Poi| & $\Poi$ & Poisson distribution \\
86 |\Infmat| & $\Infmat$ & information matrix \\
87 |\Hesmat| & $\Hesmat$ & Hessian matrix \\
88 |\vones| & $\vones$ & vector with ones \\
89 |\vzeros| & $\vzeros$ & vector with zeros \\
90 |\mZeros| & $\mZeros$ & matrix with zeros \\
91 \bottomrule
92 \end{tabular}\\
93 \end{center}
94
95 The commands |\ap| (from apex) and |\ped| (from pedex) both take one argument and typeset it as a superscript or subscript in math-roman. Examples: |$r\ap{e}_t$| produces $r\ap{e}_t$, which is typically used to denote a return at time $t$ in excess of the risk-free rate; |$r\ped{f}$| produce $r\ped{f}$, which is typically used to denote the risk-free rate.
96
97
98 The command |\bcdot| can be used when indicating a row or column from a matrix. Example: row $i$ or column $j$ of a $(m \times n)$ matrix A (with $0 < i \leq m$, $0<j\leq n$) can be referred to as $A_{i\bcdot}$ (|A_{i\bcdot}|) and $A_{\bcdot j}$ (|A_{\bcdot j}|).
99
100 \subsection{Common functions and operators}
101 The operators |\Re| and |\Im| that return the real and imaginary part of a complex number are redefined to produce $\Re$ and $\Im$ in math-roman (instead of the capital fraktur typesetting).
102
103 The notation for the differential and partial differential operators can be generated by the commands |\deriv| and |\pderiv| that both take two mandatory arguments (for the numerator and the denominator) and one optional argument for the order. They are defined with the |\frac| command. Examples: |\deriv{f}{x}|, |\deriv[2]{f}{x}| and |\pderiv[n]{y}{x}| produces $\deriv{f}{x}$ and $\pderiv[2]{f}{x}$ $\pderiv[n]{x}{y}$ (inline) and
104 \begin{equation*}
105 \deriv{f}{x}, \quad \qquad \deriv[2]{f}{x}, \quad \qquad \pderiv[n]{x}{y},
106 \end{equation*}
107 in the |equation| environment.
108
109
110 The following commands are defined by |\operatorname|.
111
112 \begin{center}
113 \begin{tabular}{lll} \toprule
114 command & produces & description \\ \midrule
115 |\bias| & $\bias$ & bias (of an estimator) \\
116 |\col| & $\col$ & column space (of a matrix) \\
117 |\corr| & $\corr$ & correlation \\
118 |\cov| & $\cov$ & covariance \\
119 |\dg| & $\dg$ & returns the diagonal elements of a matrix \\
120 |\diag| & $\diag$ & returns a diagonal matrix with arguments on the diagonal \\
121 |\E| & $\E$ & expectation \\
122 |\etr| & $\etr$ & exponential of the trace of a matrix \\
123 |\ip| & $\ip$ & integer part \\
124 |\kur| & $\kur$ & kurtosis \\
125 |\MSE| & $\MSE$ & mean squared error \\
126 |\MSFE| & $\MSFE$ & mean squared forecasting error \\
127 |\OLS| & $\OLS$ & ordinary least squares \\
128 |\plim| & $\plim$ & probability limit \\
129 |\resid| & $\resid$ & residuals \\
130 |\rk| & $\rk$ & matrix rank \\
131 |\SE| & $\SE$ & standard error \\
132 |\sgn| & $\sgn$ & sign \\
133 |\tr| & $\tr$ & trace of a matrix \\
134 |\var| & $\var$ & variance \\
135 |\vec| & $\vec$ & vectorisation of a matrix \\
136 |\vech| & $\vech$ & vectorisation of the lower triangle of a matrix \\ \bottomrule
137 \end{tabular}
138 \end{center}
139
140 \subsection{New names for existing commands}
141 The package introduces some new commands that are equivalent with existing commands, and some derived commands.
142
143 \begin{center}
144 \begin{tabular}{llll} \toprule
145 command & produces & equivalent & description \\ \midrule
146 |\distr| & $\distr$ & |\sim| & distributed as \\
147 |\adistr| & $\adistr$ & & asymptotically distributed as \\
148 |\diff| & $\diff$ & |\Delta| & difference operator \\
149 |\bdiff| & $\bdiff$ & & backward difference operator \\
150 |\fdiff| & $\fdiff$ & & forward difference operator \\
151 |\eps| & $\eps$ & |\epsilon| & arbitrarily small positive number\\
152 |\epsi| & $\epsi$ & |\varepsilon| & disturbance term \\
153 |\longto| & $\longto$ & |\longrightarrow| & almost sure convergence to \\
154 |\pto| & $\pto$ & & convergence in probability to \\
155 |\pto| & $\dto$ & & convergence in distribution to \\
156 |\wto| & $\wto$ & & weak convergence to \\
157 |\mply| & $\mply$ & |\cdot| & multiplication \\
158 \bottomrule
159 \end{tabular}
160 \end{center}
161
162 \begin{thebibliography}{1}
163
164 \bibitem[Abadir and Magnus, 2002]{Abadir02}
165 Abadir, K.M., and Magnus, J.R. (2002).
166 \newblock Notation in Econometrics: A Proposal for a Standard.
167 \newblock {\em The Econometrics Journal}, 5:76--90 .
168 \end{thebibliography}
169
170 \end{document}