1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
\chapter{Gretl commands}
\label{cmdref}
\section{Introduction}
\label{cmd-intro}
The commands defined below may be executed interactively in the
command-line client program or in the console window of the GUI
program. They may also be placed in a ``script'' or batch file for
non-interactive execution.
The following notational conventions are used below:
\begin{itemize}
\item A \texttt{typewriter font} is used for material that you would
type directly, and also for internal names of variables.
\item Terms in a \textsl{slanted font} are place-holders: you should
substitute some specific replacement. For example, you might type
\texttt{income} in place of the generic \textsl{xvar}.
\item The construction \texttt{[} \textsl{arg} \texttt{]} means that
the argument \textsl{arg} is optional: you may supply it or not (but
in any case don't type the brackets).
\item The phrase ``estimation command'' means a command that generates
estimates for a given model, for example \cmd{ols}, \cmd{ar} or
\cmd{wls}.
\end{itemize}
In general, each line of a command script should contain one and only
one complete \app{gretl} command. There are, however, two means of
continuing a long command from one line of input to another. First,
if the last non-space character on a line is a backslash, this is
taken as an indication that the command is continued on the following
line. In addition, if the comma is a valid character in a given
command (for instance, as a separator between function arguments, or
as punctuation in the command \texttt{printf}) then a trailing comma
also indicates continuation. To emphasize the point: a backslash may
be inserted ``arbitrarily'' to indicate continuation, but a comma
works in this capacity only if it is syntactically valid as part of
the command.
\section{Commands}
\label{cmd-cmd}
%% auto-generated from XML base, gretl_commands.xml
\input{refbody}
\section{Commands by topic}
\label{cmd-topics}
The following sections show the available commands grouped by topic.
%% auto-generated from gretl sources
\input{cmdtopics}
\section{Short-form command options}
\label{cmd-opt-short}
\input{optshort}
|