<s>
gretl	B-Application
is	O
an	O
open-source	B-Application
statistical	B-Algorithm
package	I-Algorithm
,	O
mainly	O
for	O
econometrics	O
.	O
</s>
<s>
It	O
has	O
both	O
a	O
graphical	B-Application
user	I-Application
interface	I-Application
(	O
GUI	B-Application
)	O
and	O
a	O
command-line	B-Application
interface	I-Application
.	O
</s>
<s>
It	O
is	O
written	O
in	O
C	B-Language
,	O
uses	O
GTK+	B-Application
as	O
widget	B-Library
toolkit	I-Library
for	O
creating	O
its	O
GUI	B-Application
,	O
and	O
calls	O
gnuplot	B-Application
for	O
generating	O
graphs	O
.	O
</s>
<s>
The	O
native	O
scripting	B-Language
language	I-Language
of	O
gretl	B-Application
is	O
known	O
as	O
hansl	O
(	O
see	O
below	O
)	O
;	O
it	O
can	O
also	O
be	O
used	O
together	O
with	O
TRAMO/SEATS	B-Application
,	O
R	B-Language
,	O
Stata	B-Algorithm
,	O
Python	B-Language
,	O
Octave	B-Language
,	O
Ox	B-Language
and	O
Julia	B-Application
.	O
</s>
<s>
gretl	B-Application
can	O
output	O
models	O
as	O
LaTeX	B-Application
files	O
.	O
</s>
<s>
Besides	O
English	O
,	O
gretl	B-Application
is	O
also	O
available	O
in	O
Albanian	O
,	O
Basque	O
,	O
Bulgarian	O
,	O
Catalan	O
,	O
Chinese	O
,	O
Czech	O
,	O
French	O
,	O
Galician	O
,	O
German	O
,	O
Greek	O
,	O
Italian	O
,	O
Polish	O
,	O
Portuguese	O
(	O
both	O
varieties	O
)	O
,	O
Romanian	O
,	O
Russian	O
,	O
Spanish	O
,	O
Turkish	O
and	O
Ukrainian	O
.	O
</s>
<s>
Gretl	B-Application
has	O
been	O
reviewed	O
several	O
times	O
in	O
the	O
Journal	O
of	O
Applied	O
Econometrics	O
and	O
,	O
more	O
recently	O
,	O
in	O
the	O
Australian	O
Economic	O
Review	O
.	O
</s>
<s>
A	O
review	O
also	O
appeared	O
in	O
the	O
Journal	O
of	O
Statistical	B-Algorithm
Software	I-Algorithm
in	O
2008	O
.	O
</s>
<s>
Since	O
then	O
,	O
the	O
journal	O
has	O
featured	O
several	O
articles	O
in	O
which	O
gretl	B-Application
is	O
used	O
to	O
implement	O
various	O
statistical	O
techniques	O
.	O
</s>
<s>
gretl	B-Application
offers	O
its	O
own	O
fully	O
documented	O
,	O
XML-based	O
data	O
format	O
.	O
</s>
<s>
It	O
can	O
also	O
import	O
ASCII	B-Protocol
,	O
CSV	O
,	O
databank	O
,	O
EViews	B-Algorithm
,	O
Excel	B-Application
,	O
Gnumeric	B-Language
,	O
GNU	B-Language
Octave	I-Language
,	O
JMulTi	B-Application
,	O
OpenDocument	B-Application
spreadsheets	I-Application
,	O
PcGive	B-Algorithm
,	O
RATS	B-Algorithm
4	I-Algorithm
,	O
SAS	B-Language
xport	O
,	O
SPSS	B-Algorithm
,	O
and	O
Stata	B-Algorithm
files	O
.	O
</s>
<s>
Since	O
version	O
2020c	O
,	O
the	O
GeoJSON	B-General_Concept
and	O
Shapefile	O
formats	O
are	O
also	O
supported	O
,	O
for	O
thematic	O
map	O
creation	O
.	O
</s>
<s>
It	O
can	O
export	O
to	O
Stata	B-Algorithm
,	O
GNU	B-Language
Octave	I-Language
,	O
R	B-Language
,	O
CSV	O
,	O
JMulTi	B-Application
,	O
and	O
PcGive	B-Algorithm
file	O
formats	O
.	O
</s>
<s>
Gretl	B-Application
has	O
its	O
own	O
scripting	B-Language
language	I-Language
,	O
called	O
hansl	O
(	O
which	O
is	O
a	O
recursive	O
acronym	O
for	O
Hansl	O
's	O
A	O
Neat	O
Scripting	B-Language
Language	I-Language
)	O
.	O
</s>
<s>
It	O
can	O
be	O
considered	O
a	O
domain-specific	B-Language
language	I-Language
for	O
econometrics	O
.	O
</s>
<s>
Like	O
other	O
scientifically	O
oriented	O
programming	O
languages	O
,	O
such	O
as	O
MATLAB	B-Language
and	O
Julia	B-Application
,	O
matrices	O
are	O
supported	O
natively	O
as	O
a	O
primitive	O
variable	O
type	O
.	O
</s>
<s>
Random	O
Number	O
Generation	O
(	O
RNG	O
)	O
in	O
gretl	B-Application
has	O
been	O
examined	O
and	O
tested	O
in	O
Yalta	O
&	O
Schreiber	O
(	O
2012	O
)	O
.	O
</s>
<s>
The	O
authors	O
conclude	O
"	O
Our	O
results	O
show	O
that	O
the	O
RNG	O
related	O
procedures	O
in	O
gretl	B-Application
are	O
implemented	O
soundly	O
and	O
perform	O
well	O
in	O
the	O
three	O
crush	O
test	O
suites	O
of	O
the	O
TestU01	O
"	O
.	O
</s>
<s>
Due	O
to	O
its	O
libre	O
nature	O
and	O
the	O
breadth	O
of	O
econometric	O
techniques	O
it	O
contains	O
,	O
gretl	B-Application
is	O
widely	O
used	O
for	O
teaching	O
econometrics	O
,	O
from	O
the	O
undergraduate	O
level	O
onwards	O
.	O
</s>
<s>
Datasets	O
in	O
gretl	B-Application
format	O
are	O
available	O
for	O
several	O
popular	O
textbooks	O
.	O
</s>
<s>
The	O
following	O
is	O
a	O
list	O
of	O
textbooks	O
that	O
use	O
gretl	B-Application
as	O
their	O
software	O
of	O
choice	O
:	O
</s>
