[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Stata 11 Announcement

From   "Newson, Roger B" <>
To   "''" <>
Subject   st: RE: Stata 11 Announcement
Date   Fri, 26 Jun 2009 11:56:40 +0100

One immediate query re Stata 11 .PDF manuals. Is StataCorp planning to distribute the TeX styles and macros used in creating these, so users can produce house-style documentation for their own packages, complete with formulas and graphics?

Best wishes


Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

-----Original Message-----
From: [] On Behalf Of William Gould, StataCorp LP
Sent: 26 June 2009 05:54
Subject: st: Stata 11 Announcement

Following long tradition, we are informing Statalist first:

    Stata 11 begins shipping Monday, July 27.  

    Orders are now being accepted at

Below are some highlights from the release.

Factor variables 

Probably the highlight of the release is factor variables, if only because
everyone is going to be using them.  Stata itself now deeply understands
factor variables.  -xi- is dead.  You can type 

    . regress y age               (1)

    . regress y age                             (same as 1)

    . regress y i.region

    . regress y age                   (same as 2)

Stata itself forms the necessary indicator variables.  NO NEW VARIABLES

In the above, # means interaction, and ## means factorial interaction, so
A##B is equivalent to A B A#B.  Asterisks would have looked better, but *
is Stata's varlist wildcard indicator, and factor variables are now just
part of varlists, so * and # had to coexist.  Anyway, interactions are
much more like Kronecker products than like multiplication.

By the way, I typed -i.- everywhere above, but you can type, for example,
-sex#group- and Stata will know that you mean

You can form interactions of factor variables with continuous variables,
and continuous variables with continuous variables, by using the -c.-

    . regress y 
                age c.age#c.age                                (3)

    . regress y 
                age             (4)

    . regress y                (same as 4)

    . regress y c.age#c.age)  (same as 4)

In the last example, note the clever use of # and ## together, with ##
being used to produce factorial-style interactions and # being used to
square age.

This new factor-variable notation is understood by all but a handful of
estimation commands.  I demonstrated with -regress-, but I could have
used nearly any other estimation command.

    . logistic outcome age bp c.age#c.bp 

Factor variables work with -summarize- and -list-, too:

    . list outcome

That is useful for understanding exactly what the notation produces.


You can now put bold and italic text, Greek letters, symbols,
superscripts, and subscripts on graphs.  What more is there to say?


There are many new statistics in Stata 11, including 

    o  multiple imputation 

    o  competing-risks survival-time regression

    o  GMM estimation with user-specified moment functions

    o  new -margins- command, which replaces -mfx- and -adjust-, and does
        so much more

    o  state-space modeling

    o  multivariate GARCH

    o  dynamic-factor models

    o  unit-root tests for panel data

    o  error structures for linear mixed models

    o  standard errors for BLUPs in linear mixed models

There is so much to say about multiple imputation that Stata's new -mi-
command gets its own manual.

See for details.

Graphical user interface (GUI)

New GUI features include 

    o  Variables Manager
       Edit names, labels, display formats, storage types, notes, and
       value labels.  Those with many variables can use a filter to
       see a selected subset of variables.

    o  Data Editor
       Live view onto your data, filters, data snapshots, and more.

    o  Do-file Editor for Stata for Windows
       Syntax highlighting, code folding, and no limit to file size.

I admit that I do not use GUI features often, but the new Variables
Manager does indeed make things easy.  Others here tell me that the
new Data Editor will be the most popular interface feature because
you can now leave it open while you perform your analysis, and changes
are reflected instantly in it.  You can even perform all your data
management from within the Data Editor, and do so in a reproducible
manner because it issues Stata commands for all changes.


Mata now includes full object-oriented programming facilities: classes,
inheritance, constructors and destructors, public/private/protected
declarations, virtual functions, and more.  Just as in Java, code is
fully compiled, so there is no speed penalty for using it.

PDF manuals

Stata's manuals now ship in PDF format with every copy of Stata.  All the
manuals.  That's 8,500 pages.

The manuals are [GS], [U], [R], [D], [G], [P], [M], [I], [MI], [MV], [ST],
[SVY], [TS], and [XT].

Even better, the manuals are fully integrated with the help system, so you
can click from a help file and jump to the right manual, the right page!

I admit that it's convenient having the manuals on my laptop.

Of course, the manuals are available in printed form, too.

One more thing...

By the way, if you have a multicore computer, now might be a good time to
upgrade to Stata/MP.  It's faster, and it's even faster in Stata 11.

There is much more, so visit

-- Bill

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index