{smcl}
{* *! version 1.5.9  13oct2011}{...}
{findalias asfrwhatsnew}{...}
{findalias asfrres}{...}
{findalias asfrwww}{...}
{findalias asfrstatapress}{...}
{findalias asfrstatalist}{...}
{findalias asfrstb}{...}
{findalias asfrweb}{...}
{findalias asfroffinstall}{...}
{findalias asfrupdate}{...}
{vieweralsosee "" "--"}{...}
{vieweralsosee "[R] net" "help net"}{...}
{vieweralsosee "[R] sj" "help sj"}{...}
{vieweralsosee "stb" "help stb"}{...}
{vieweralsosee "[R] update" "help update"}{...}
{title:Title}

{phang}
{hi:Additions to Stata since release 12.0}


{title:Description}

    Update history:

            {hi:Stata 12.0 base    25jul2011}
            {hi:updated to         13oct2011}

{pstd}
This file records the additions and fixes made to Stata since the release of
version 12.0.  The end of this file provides links for earlier additions and
fixes.

{pstd}
Updates are available for free over the Internet.
{update "from http://www.stata.com":Click here} to obtain the latest update,
or see {help updates} for detailed instructions.

{pstd}
The most recent changes are listed first.


{hline 8} {hi:update 13oct2011} {hline}

{p 5 9 2}
1.  Online help and the search index have been brought up to date for
    {help sj:Stata Journal} 11(3).

{p 5 9 2}
2.  {helpb help} no longer displays a message box before doing a
    {helpb search} if the help term was not a Stata command.

{p 5 9 2}
3.  {helpb estat ginvariant} after {helpb sem} reported noninformative rows of
    dots for testing group invariance of latent variable means when the
    default constraints were used.  This has been fixed to no longer show
    these rows.

{p 5 9 2}
4.  The {helpb icd9} databases have been updated to use the latest version
    (V29) of the ICD-9 codes, which became effective on 1 October 2011.

{p 5 9 2}
5.  {helpb import excel} has the following fixes:

{p 9 13 2}
    a.  {cmd:import excel} imported cells with formatted text as empty
        strings.  This has been fixed.

{p 9 13 2}
    b.  {cmd:import excel} imported text cells containing Unicode characters
        not supported by the current code page as empty strings.  This has
        been fixed so that the Unicode characters are replaced as question
        marks.

{p 9 13 2}
    c.  {cmd:import excel} imported inline string and numeric cells in
        {cmd:.xlsx} files as empty string and missing values.  This has been
        fixed.

{p 5 9 2}
6.  {helpb margins} after {helpb manova} with option {opt asbalanced} with the
    default prediction was producing incorrect margin values when there was a
    factor variable in the model but not in the margins list.  This was also
    the case if option {cmd:at()} was used to set the relative frequencies
    of a factor variable in the model.  This has been fixed.

{p 5 9 2}
7.  {helpb marginsplot} has the following fixes and new features:

{p 9 13 2}
    a.  {cmd:marginsplot} ignored the {opt level()} and {opt mcompare()}
        information stored in {cmd:r()} after {helpb margins}, yielding
        unadjusted confidence intervals using the default level setting.  This
        has been fixed.

{p 9 13 2}
    b.  {cmd:marginsplot} now accepts options {opt level()} and
        {opt mcompare()}.  These options affect the plotted confidence
        intervals.

{p 5 9 2}
8.  {helpb odbc load} now remembers your file information when using the
    "Excel Files" or "MS Access Database" data source names.

{p 5 9 2}
9.  {helpb stcurve} after {helpb streg} with omitted variables produced
    missing values and blank graphs.  This has been fixed.

{p 4 9 2}
10.  The Data Editor has the following fixes:

{p 9 13 2}
    a.  Paste now respects {helpb set type}.

{p 9 13 2}
    b.  Paste no longer treats numbers with leading zeros as numeric.

{p 9 13 2}
    c.  Paste did not create variable labels when the variable names were
        modified to form legal names in Stata.  This has been fixed.

{p 9 13 2}
    d.  With the Data Editor open, any program or do-file that both renamed a
        variable and decreased the total number of variables could cause Stata
        to crash.  This has been fixed.

{p 9 13 2}
    e.  (Mac and Unix) From the Data Editor's Paste Special dialog, the
        checkbox labeled 'treating sequential delimiters as one' could cause
        Clipboard data to be misinterpreted.  This has been fixed.

{p 4 9 2}
11.  (Windows) The dialog box for {helpb sktest} caused Stata to crash when
     the expression builder was launched from the if/in tab.  This has been
     fixed.

{p 4 9 2}
12.  (Mac) Opening a do-file using the Open button in an existing Do-file
     Editor window would cause Stata to crash only when run on Mac OS X 10.5
     (Leopard).  This crash does not happen on Mac OS X 10.6 and Mac OS X 10.7
     and does not happen if you use File > Open to open a do-file even on Mac
     OS X 10.5.  We have changed the Do-file Editor to work around this issue
     with Mac OS X 10.5.

{p 4 9 2}
13.  (Unix) When you click on a menu item in the Stata Help menu, a new Viewer
     is created.  Before, it overwrote the current active Viewer.


{hline 8} {hi:update 15sep2011} {hline}

{p 5 9 2}
1.  {helpb ereturn display} and some estimation commands would report omitted
    coefficients even when the {helpb set_showomitted:showomitted} setting was
    {cmd:off} or the {opt noomitted} option was specified.  This has been
    fixed.

{p 5 9 2}
2.  {helpb estimates table} has improved parsing logic for options
    {opt keep()} and {opt drop()}.

{p 5 9 2}
3.  Estimation commands with empty cells in interaction terms of the model
    specification crashed Stata if the empty cells were dropped with
    {helpb set emptycells}.  This has been fixed.

{p 5 9 2}
4.  {helpb graph export} failed to set the font face when the output format
    was PDF.  This has been fixed.

{p 5 9 2}
5.  {helpb import excel} and {helpb export excel} could crash Stata if the
    Excel file contained a chart-only sheet.  This has been fixed.

{p 5 9 2}
6.  {helpb import excel} with option {cmd:allstring} could import numeric
    values with less precision into string.  This has been fixed.

{p 5 9 2}
7.  {helpb import excel} treated columns with numeric cells and empty cells as
    string columns instead of numeric columns.  This has been fixed.

{p 5 9 2}
8.  The maximum length of the Mata library path was increased from 256 to 4096
    characters.

{p 5 9 2}
9.  Prefix commands were ignoring misspecified {opt if} conditions when they
    should have been reporting an error.  This has been fixed.

{p 4 9 2}
10.  {helpb rename} now updates {helpb tsset} and {helpb xtset} information in
     the data when the time or panel variable is renamed.

{p 4 9 2}
11.  Zooming in and out from the {help sem_gui:SEM Builder} now keeps the
     currently visible content centered in the window.

{p 4 9 2}
12.  {helpb sem} exited with a Mata conformability error when used with
     {cmd:method(mlmv)} and an estimation sample that had a missing-value
     pattern where all observed variables but one endogenous variable are
     missing.  This has been fixed.

{p 4 9 2}
13.  Single-equation estimation commands that allow options
     {cmd:vce(jackknife)} and {cmd:vce(bootstrap)} reported a syntax error
     when factor-variable or time-series operators that contained
     parentheses were used.  For example,

{p 13 17 2}
         . {cmd:sysuse auto}
{p_end}
{p 13 17 2}
         . {cmd:regress mpg b(last).rep78}
{p_end}

{p 9 9 2}
     reported "variable b not found".  This has been fixed.

{p 4 9 2}
14.  {helpb ssd build} exited with an error when the original data contained a
     value-label name that matched the name of the variable {opt group()}.
     This has been fixed.

{p 4 9 2}
15.  {helpb stcox} with option {cmd:efron} took a long time to compute when
     there were many tied failures.  This has been fixed.

{p 4 9 2}
16.  {cmd:test}, {cmd:test} after {cmd:anova}, and {cmd:test} after
     {cmd:manova} have new dialogs providing access to the equation names and
     coefficients of the last estimation.

{p 4 9 2}
17.  {helpb translator query} failed to display translator Graph2pdf's
     parameter settings.  This has been fixed.

{p 4 9 2}
18.  {helpb update all} when called from batch mode would prompt the user
     before closing Stata.  The behavior has been changed so that interactive
     prompts are now suppressed.

{p 4 9 2}
19.  Adding variables to the Command window by clicking on a variable in the
     Variables window now prefixes a space character only when necessary.

{p 4 9 2}
20.  In the Data Editor, in very rare circumstances, Paste Special could crash
     Stata.  This has been fixed.

{p 4 9 2}
21.  (Windows) {cmd:window manage close viewer _all} did not close any Viewer
     windows when it should have closed all of them.  This has been fixed.

{p 4 9 2}
22.  (Mac) Stata for Mac has the following new features and fixes:

{p 9 13 2}
     a.  Stata's file dialogs now support opening symbolic links to files or
         directories.

{p 9 13 2}
     b.  The Variables and Review windows now only pass a {hi:Return} key
         press to the Command window when they have the keyboard focus.

{p 9 13 2}
     c.  The Do-file Editor will now open a do-file in the current tab or
         window if it is empty and unsaved rather than always create a new
         tab or window.

{p 9 13 2}
     d.  The gesture preferences are no longer displayed in the Preferences
         dialog when running under Lion because they are unsupported.

{p 9 13 2}
     e.  Launching the GUI version of Stata from a command line to execute a
         do-file caused the {hi:Break} key to be disabled until the do-file
         had completed.  This has been fixed.

{p 9 13 2}
     f.  In tabbed windows, the {bf:Close} button for a tab is hidden until
         the mouse cursor is over a tab.  Stata now always displays the
         {bf:Close} button for the active tab unless it is the only tab in a
         window.

{p 9 13 2}
     g.  After updating ado-files or documentation only, Stata would not
         relaunch.  This has been fixed.

{p 4 9 2}
23.  (Unix) Dragging and dropping a long command from the Review window to the
     Command window crashed Stata for Unix.  This has been fixed.

{p 4 9 2}
24.  (Unix) The Do-file Editor did not support extended ASCII characters in
     do-files.  This has been fixed.


{hline 8} {hi:update 01sep2011} {hline}

{p 5 9 2}
1.  The {help whatsnew11##up01sep2011:01sep2011 Stata 11.2 update} item 1 has
    now been applied to Stata 12.  Other applicable items from that update
    were applied previously.

{p 5 9 2}
2.  {help prefix:Prefix} commands that produce replication-based variance
    estimates (such as {helpb bootstrap}) when used with posted results from
    {helpb margins} with option {cmd:at()} reported a "{err:no observations}"
    error after completing all the replications.  This has been fixed.

{p 5 9 2}
3.  Some {helpb sem_postestimation:estat} commands after {helpb sem} with
    method {cmd:mlmv} and {cmd:xconditional} results would error-out with a
    Mata trace log.  This has been fixed.

{p 5 9 2}
4.  In the {help sem_gui:SEM Builder}, observed variables whose names begin
    with a capital letter were treated as latent when estimation was
    performed.  This has been fixed.

{p 5 9 2}
5.  In the {help sem_gui:SEM Builder}, the property dialog boxes for variables
    and paths would not allow initial values to be removed.  This has been
    fixed.

{p 5 9 2}
6.  {helpb sem} specified with models with three or more endogenous variables
    and some of them used to predict other endogenous variables would yield
    different standard errors or even fail to converge depending on the
    order in which the paths were specified.  A typical difference in the
    standard errors was in the third decimal place and beyond, depending on
    the relative scales of the observed variables.  This has been fixed.


{hline 8} {hi:update 24aug2011} {hline}

{p 5 9 2}
1.  {helpb blogit} did not allow option
    {cmd:vce(cluster} {it:clustvar}{cmd:)}.  This has been fixed.

{p 5 9 2}
2.  {help datetime business calendars creation:Business calendars} with month
    or weekday names containing capital letters would fail to load.  This has
    been fixed.

{p 5 9 2}
3.  {helpb marginsplot} now recognizes {helpb margins} results in {cmd:e()}
    when {cmd:r()} no longer contains results from {cmd:margins}.
    {cmd:margins} will post its results to {cmd:e()} when option {opt post}
    is used.

{p 5 9 2}
4.  Mata's {helpb mf_optimize:optimize()} with the Nelder-Mead technique and
    constraints would error-out with a Mata trace log.  This has been fixed.

{p 5 9 2}
5.  {helpb query} now displays the setting {helpb coeftabresults} as an output
    setting.  This setting controls whether coefficient table results are
    stored in {cmd:r()}.

{p 5 9 2}
6.  {helpb roctab} with option {opt detail} produced unaligned tables when the
    classification variable had long value labels.  These labels are now
    abbreviated if needed, and a new option, {opt nolabel}, has been added to
    suppress displaying the value labels.

{p 5 9 2}
7.  {helpb sspace}, when time-series operators were combined with the
    {cmd:e.} error operator on the dependent variable in an {it:obs_efeq}
    equation, produced an error message.  This has been fixed.

{p 5 9 2}
8.  {helpb svy}{cmd:} {helpb ivregress} reported an invalid operator error
    when factor-variables notation was used in the list of instrumental
    variables ({it:varlist_iv}) but not in the list of exogenous variables
    ({it:varlist1}).  This has been fixed.

{p 5 9 2}
9.  When pasting data into the Data Editor, sequential delimiters were treated
    as one delimiter, causing missing cells to be omitted.  This has been
    fixed.

{p 4 9 2}
10.  (Windows) Updating Stata over a network share failed with error r(695),
     leaving the Stata installation unchanged.  This has been fixed.

{p 4 9 2}
11.  (Mac) When resizing the main Stata window, the Results view will now
     always be the main view that gets resized regardless of its location in
     the main Stata window.

{p 4 9 2}
12.  (Mac) The keyboard shortcut for "Do to Bottom" for the Do-file Editor has
     been changed to Ctrl-Cmd-D because the previous keyboard shortcut
     conflicted with the system keyboard shortcut for hiding/showing the Dock.

{p 4 9 2}
13.  (Mac) If tabbed windowing for the Do-file Editor is turned off and there
     are multiple Do-file Editor windows, Stata could be confused as to which
     Do-file Editor is active and perform menu and toolbar operations on the
     wrong window.  This has been fixed.

{p 4 9 2}
14.  (Mac) Translating SMCL to PDF has been reenabled.

{p 4 9 2}
15.  (Mac) Translating SMCL to PS could cause Stata to crash.  This has been
     fixed.

{p 4 9 2}
16.  (Unix) Shift-clicking objects in the {help sembuilder:SEM Builder} would
     not properly enable/disable items in the Object > Align menu.  This has
     been fixed.


{hline 8} {hi:update 08aug2011} {hline}

{p 5 9 2}
1.  {helpb compress} and commands that internally used {cmd:compress} could
    fail, causing future commands to issue a "{err:variable not found}" error.
    This has been fixed.


{hline 8} {hi:update 05aug2011} {hline}

{p 5 9 2}
1.  A serious memory management bug has been fixed.  The bug was unlikely to
    occur.  If it occurred, it usually caused a crash.  It could, however,
    cause data to be corrupted.  We had only four reports, all involving
    crashes.  If a dataset was below 32 MB on 64-bit computers or 16 MB on
    32-bit computers, the bug could not occur.

{p 5 9 2}
2.  {helpb stcox} using options {cmd:efron} and {cmd:vce(robust)} could take a
    long time to compute for large datasets with many tied failure times.
    This has been fixed.

{p 5 9 2}
3.  (Mac) Changing the results color for the Results window had no effect.
    This has been fixed.

{p 5 9 2}
4.  (Mac) The keyboard shortcuts for Shift Left and Shift Right in the Do-file
    Editor's contextual menu did not match the main menu's keyboard shortcuts
    (which take precedence).  This has been fixed.

{p 5 9 2}
5.  (Mac) Graphs drawn using polygons would render with thick lines when
    exported to PDF or a bitmap format.  This has been fixed.

{p 5 9 2}
6.  (Windows) Some tooltips for copying to the Clipboard could incorrectly
    show up as "Copy Diagram".  This has been fixed.

{p 5 9 2}
7.  (Windows) On some international keyboards, characters that required
    the right-side Alt key to be pressed, such as { and } on German
    keyboards, could not be typed in the Command window or the Do-file Editor.
    This has been fixed.

{p 5 9 2}
8.  (64-bit Windows) {helpb query memory} displayed an extra letter "{cmd:c}"
    when reporting memory sizes.  This has been fixed.


{hline 8} {hi:update 26jul2011} {hline}

{p 5 9 2}
1.  Online help and the search index have been brought up to date for
    {help sj:Stata Journal} 11(2).

{p 5 9 2}
2.  The {help whatsnew11##up19jul2011:19jul2011 Stata 11.2 update} items 2, 3,
    4, 6, 7, 11, 12, 13, 14, 15, 17, and 21 have now been applied to Stata 12.
    The other items from that update were applied to Stata 12 prior to its
    initial release.

{p 5 9 2}
3.  {helpb margins} with options {cmd:vce(unconditional)} and
    {opt noestimcheck} reported a "{err:varlist required}" error if a factor
    variable was also specified in one of the marginal effects options
    ({opt dydx()}, {opt dyex()}, {opt eydx()}, or {opt eyex()}).  This has
    been fixed.

{p 5 9 2}
4.  ({help statamp:Stata/MP}) {helpb mlmatbysum} produced wrong results if the
    global macro {cmd:$ML_w} was empty.  This has been fixed.

{p 5 9 2}
5.  {cmd:notes search} issued an r(111) error if the search string in question
    was not found in a note.  This has been fixed.

{p 5 9 2}
6.  The new {help sembuilder:SEM Builder} has enhancements and bug fixes, such
    as the following: settings affecting appearance are now remembered between
    Stata sessions (enhancement), and paths connecting error variables now join
    better with the containing circle (bug fix).

{p 9 9 2}
    The thirty-two enhancements/fixes are not enumerated here because they
    were made on the date of release.

{p 5 9 2}
7.  {helpb sem} has the following fixes:

{p 9 13 2}
    a.  {cmd:sem} would sometimes report structural equations out of the order
        in which they were specified.  This has been fixed.

{p 9 13 2}
    b.  {cmd:sem} with a {helpb svy} prefix or with options
        {cmd:vce(bootstrap)} or {cmd:vce(jackknife)} failed to report the
        standardized model parameters when option {opt standardized} was
        specified.  This has been fixed.

{p 5 9 2}
8.  (Mac) In a tabbed Viewer window, dragging the last tab out of the window
    now destroys the empty window.  Previously, the empty window wasn't
    destroyed, which could cause problems when a new Viewer was created.

{p 5 9 2}
9.  (Mac) The Do-file Editor automatically saves backups of unsaved do-files.
    If Stata crashes, then the next time Stata is launched, the backup is
    automatically opened in the Do-file Editor.  Previously, if the backup was
    closed without saving changes, the backup would be opened every time Stata
    was launched.  This has been fixed; Stata now removes the backup file.

{p 4 9 2}
10.  (Unix) The Stata GUI issued GTK warnings if your dataset contained
     extended ASCII characters.  This has been fixed.


{hline 8} {hi:previous updates} {hline}

{pstd}
See {help whatsnew11to12}.

    {c TLC}{hline 63}{c TRC}
    {c |} Help file        Contents                     Years           {c |}
    {c LT}{hline 63}{c RT}
    {c |} {bf:this file}        Stata 12.0                   2011 to present {c |}
    {c |} {help whatsnew11to12}   Stata 12.0 new release       2011            {c |}
    {c |} {help whatsnew11}       Stata 11.0, 11.1, and 11.2   2009 to 2011    {c |}
    {c |} {help whatsnew10to11}   Stata 11.0 new release       2009            {c |}
    {c |} {help whatsnew10}       Stata 10.0 and 10.1          2007 to 2009    {c |}
    {c |} {help whatsnew9to10}    Stata 10.0 new release       2007            {c |}
    {c |} {help whatsnew9}        Stata  9.0, 9.1, and 9.2     2005 to 2007    {c |}
    {c |} {help whatsnew8to9}     Stata  9.0 new release       2005            {c |}
    {c |} {help whatsnew8}        Stata  8.0, 8.1, and 8.2     2003 to 2005    {c |}
    {c |} {help whatsnew7to8}     Stata  8.0 new release       2003            {c |}
    {c |} {help whatsnew7}        Stata  7.0                   2001 to 2002    {c |}
    {c |} {help whatsnew6to7}     Stata  7.0 new release       2000            {c |}
    {c |} {help whatsnew6}        Stata  6.0                   1999 to 2000    {c |}
    {c BLC}{hline 63}{c BRC}
{hline}
