📄 whatsnew8_2.hlp
字号:
{p 4 9 2}
{* fix}
35. (Console) If the terminal window in which a console version of Stata for
Unix was running was resized, Stata did not recognize the new size of the
window. Stata now resets the line width and page length if the terminal
window in which it is running is resized.
{hline 8} {hi:update 01jul2004} {hline}
{title:Ado-files}
{p 5 9 2}
{* enhancement}
1. {help adjust} now allows the {cmd:pr} option after {cmd:binreg}; see help
{help adjust}.
{p 5 9 2}
{* enhancement}
2. {help _coef_table} is a new programmer's tool for displaying coefficient
tables; see help {help _coef_table}.
{p 5 9 2}
{* enhancement}
3. {help contract} has new options {cmd:cfreq()}, {cmd:percent()},
{cmd:cpercent()}, {cmd:float}, and {cmd:format()} based on the user
command {cmd:pcontract} written by Roger Newson, King's College, London;
see help {help contract}.
{p 5 9 2}
{* fix}
4. (Macintosh only) {help graph set} without any other arguments produced
partial output followed by an error message; this has been fixed.
{p 5 9 2}
{* enhancement}
5. The {help _tab} class is a new programmer's tool for displaying tables; see
help {help _tab}.
{p 5 9 2}
{* enhancement}
6. {help xtdes} has new option {cmd:width(}{it:#}{cmd:)} specifying the
maximum width of the participation pattern display. The default is 100;
see help {help xtdes}. The width of the pattern determines how many
temporary variables {cmd:xtdes} creates. With a large number of time
points, {cmd:xtdes} failed when it exceeded the maximum number of
variables allowed in Stata. {cmd:width()} limits {cmd:xtdes} to a
reasonable width.
{title:Stata executable, all platforms}
{p 5 9 2}
{* enhancement}
7. String scalars are now supported; see help {help scalar}. They are
limited to a maximum length of a string in a string expression; see help
{help limits}.
{p 5 9 2}
{* enhancement}
8. The extended {help macro} function {cmd:all scalars} now allows
{cmd:numeric} or {cmd:string} as a prefix to {cmd:scalars}; see help
{help macro}.
{p 5 9 2}
{* enhancement}
9. A warning note is displayed at startup if a new executable has been
downloaded without a subsequent {help update:update swap} to replace the
old executable with the new one.
{p 4 9 2}
{* enhancement}
10. The limit for the number of dyadic operators in an expression has been
increased from 200 to 500 for Intercooled Stata and
{help SpecialEdition:Stata/SE}; see help {help limits}.
{p 4 9 2}
{* enhancement}
11. {help smcl:SMCL} has a new directive,
{cmd:{c -(}rcenter:}{it:text}{cmd:{c )-}}, that is the same as
{cmd:{c -(}center:}{it:text}{cmd:{c )-}}, except when there is an unequal
number of spaces to be placed around the centered text.
{cmd:{c -(}rcenter:}{it:text}{cmd:{c )-}} places the extra space to the
left of the text, moving the text to the right.
{cmd:{c -(}center:}{it:text}{cmd:{c )-}} places the extra space to the
right of the text, moving the text to the left; see help {help smcl}.
{p 9 9 2}
Previously, {cmd:{c -(}center:}{it:text}{cmd:{c )-}} acted inconsistently.
With a width argument, it placed the extra space on the right. Without a
width argument, it placed the extra space on the left. Now, with or
without a width argument, {cmd:{c -(}center:}{it:text}{cmd:{c )-}} places
the extra space to the right.
{p 4 9 2}
{* fix}
12. Raw {help smcl:SMCL} directives were sometimes displayed when help
include ({cmd:.ihlp}) files were used; this has been fixed.
{p 4 9 2}
{* fix}
13. If there are multiple errors in a {help dialog} programming {cmd:if}
command, the first error is now reported rather than the last.
{p 4 9 2}
{* fix}
14. {help stcox:stcox, basechazard()} produced incorrect estimates of the
baseline cumulative hazard when the {cmd:efron} option for ties was
specified; this has been fixed.
{p 4 9 2}
{* fix}
15. {help summarize} with the {cmd:format} option now respects
{help dfmt:date formats}.
{title:Stata executable, Windows}
{p 4 9 2}
{* fix}
16. Pressing the alt key in combination with a character did not
automatically open the appropriate menu from the main Stata window's
menubar in some cases. This has been fixed.
{p 4 9 2}
{* fix}
17. Pressing the escape key sets the focus to the Command window when working
with the {help viewer:Viewer}.
{p 4 9 2}
{* fix}
18. Keyboard shortcuts now work when the mouse pointer is positioned over the
variables window.
{p 4 9 2}
{* fix}
19. (Windows 95/98/NT) When the {help doedit:do-file editor} was invoked, it
might fill the entire screen or be placed beyond the screen (i.e., not be
shown); this has been fixed.
{title:Stata executable, Macintosh}
{p 4 9 2}
{* fix}
20. In the past, Stata used Internet Config to determine the proper type and
creator for new files it created based on the file extension; i.e., files
with an {cmd:.html} extension would have the creator set to Internet
Explorer. If a file does not have a type and creator, Mac OS X
determines which application should open the file based on its extension.
However, Internet Config and Mac OS X do not always agree on which
application should be associated with a file. Stata now allows you to
turn on or off Internet Config file mapping with the
{help icmap:set icmap} command or through the General Preferences dialog.
The default setting is for Internet Config file mapping to be off; see
help {help icmap}.
{p 4 9 2}
{* fix}
21. Canceling a print job from the {help viewer:Viewer} or Results window
caused error dialogs to be displayed for every page that was to be
printed. Stata now presents only one dialog when printing has been
canceled.
{hline 8} {hi:update 24jun2004} {hline}
{title:Ado-files}
{p 5 9 2}
{* enhancement}
1. Online help and the search index have been brought up to date for
{help sj:Stata Journal 4(2)}.
{p 5 9 2}
{* fix}
2. {help bootstrap}, {help permute}, {help simulate}, and {help statsby} use
the first 80 characters of {it:command} to label the resulting dataset.
An error resulted if {it:command} was extremely long; this has been fixed.
{p 5 9 2}
{* fix}
3. {help codebook} correctly recorded noninteger variables with date formats
in {cmd:r(realdate)} but did not display the information in the output;
this has been fixed.
{p 5 9 2}
{* enhancement}
4. {help codebook_problems} and {help labelbook_problems} are new help files
providing guidance for resolving the various problems diagnosed by the
{cmd:problems} option of the {help codebook} and {help labelbook}
commands.
{p 5 9 2}
{* enhancement}
5. {help dfuller} has new option {cmd:drift} for testing the null hypothesis
of a random walk with drift, corresponding to Hamilton's (1994) case
three. The algorithm for calculating MacKinnon's approximate p-values is
now more accurate in cases where the p-value is relatively large. See
help {help dfuller}.
{p 5 9 2}
{* fix}
6. {help egen:egen ... group(), label} exited with an error when
{cmd:group()} variables shared the same {help label:value label}; this has
been fixed.
{p 5 9 2}
{* fix}
7. The {help graph dot} {cmd:rwidth()} option did not allow {cmd:*}{it:#}
{help relativesize:{it:relativesize}} specifications; this has been fixed.
{p 5 9 2}
{* fix}
8. {help jknife} sometimes did not perform all replications when used with
non-{cmd:eclass} commands and datasets with missing values; this has been
fixed.
{p 5 9 2}
{* fix}
9. {help ml} sometimes produced a missing model F statistic when fitting a
model with an offset using survey data; this has been fixed.
{p 4 9 2}
{* enhancement}
10. {help pperron} now calculates MacKinnon's approximate p-values more
accurately when the p-value is relatively large.
{p 4 9 2}
{* fix}
11. {help recode:recode {it:variable ...}, generate()} exited with an error
when {it:variable} was of type {help datatype:long} or
{help datatype:double}; this has been fixed.
{p 4 9 2}
{* fix}
12. {help twoway area} now accepts the option {cmd:cmissing(n)} and
interprets it to mean that missing values in the plotted data mark the
end of an area and that the next set of nonmissing data begins a new,
possibly disjoint, area.
{p 4 9 2}
{* fix}
13. {help var} with panel data did not allow the {help by} prefix command;
this has been fixed.
{p 4 9 2}
{* enhancement}
14. {help xi} now allows the alternative (undocumented) syntax:
{p 13 13 2}
{cmd:xi} {it:term(s)} [{cmd:,} {cmdab:pre:fix:(}{it:string}{cmd:)}]
{p 4 9 2}
{* fix}
15. {help xtline} did not allow the {cmd:recast()} option; this has been
fixed.
{p 4 9 2}
{* fix}
16. Some commands failed if the system used a temporary directory where the
path contained spaces; this has been fixed.
{hline 8} {hi:update 18may2004} {hline}
{p 4 4 2}
The 18may2004 executable and ado update includes 60 changes and improvements.
We recommend that you read the entire numbered list below. Highlights:
{p 9 12 2}
o{space 2}The Windows interface has been improved. The improvements
include the ability to have the Review and Variables windows inside or
outside the main Stata window; see #26 below and help {help revwindow}.
Also see items #25-47 below.
{p 12 12 2}
The 18may2004 executable will not change the current settings of
existing users of Stata. To take advantage of some of the new
improvements, you must change your window settings from the new
Windowing tab on the General Preferences dialog or select Default
Windowing from the Preferences menu.
{p 9 12 2}
o{space 2}Windows and Macintosh dialog variable fields have a drop-down
list containing the current variables. See #42a and #48 below.
{p 9 12 2}
o{space 2}{cmd:help} now allows include files and accepts spaces and
trailing parentheses so that requests such as {cmd:help log()},
{cmd:help mat acc}, and {cmd:help two conn} send you to the help for the
{cmd:log()} function, {cmd:matrix accum} command, and
{cmd:twoway connected} command, respectively. See #10 below.
{p 9 12 2}
o{space 2}{cmd:anova} is now faster and returns more items in {cmd:e()}.
See #2 and #3 below and help {help anova}.
{p 9 12 2}
o{space 2}{cmd:merge} and {cmd:append} now deal with {help notes}. See
#18 below and help {help merge} and {help append}.
{title:Ado-files}
{p 5 9 2}
{* fix}
1. {help codebook}, {help labelbook}, and {help numlabel} now deal better
with labels containing left-quote ({cmd:`}) characters. See #15 below.
{title:Stata executable, all platforms}
{p 5 9 2}
{* enhancement}
2. {help anova} with the {cmd:repeated()} option and the replay of all runs
of {cmd:anova} are now much faster.
{p 5 9 2}
{* enhancement}
3. {help anova} now returns additional items in {cmd:e()} -- {cmd:e(sstype)},
{cmd:e(term_}{it:#}{cmd:)}, {cmd:e(ss_}{it:#}{cmd:)},
{cmd:e(df_}{it:#}{cmd:)}, and {cmd:e(F_}{it:#}{cmd:)} for those terms
where an F statistic is calculated. When the test of a term does not
involve residual error, the following are also returned
{cmd:e(errorterm_}{it:#}{cmd:)}, {cmd:e(ssdenom_}{it:#}{cmd:)}, and
{cmd:e(dfdenom_}{it:#}{cmd:)}.
{p 5 9 2}
{* fix}
4. {help char:char rename}, a low-level programmer's command, created
characteristics with duplicate names. "{cmd:char rename} {it:old} {it:new}"
did this if a characteristic with the same name appeared in both {it:old}
and {it:new}. This has been fixed; {cmd:char rename} now issues an error
message in such cases. A new option, {cmd:replace}, indicates that, in
such cases, {it:old}{cmd:[}{it:name}{cmd:]} should replace
{it:new}{cmd:[}{it:name}{cmd:]}.
{p 5 9 2}
5. The {help edit:Data Editor} now has the following fixes and enhancements:
{p 9 12 2}
{* fix}
a. A single value may be pasted into the edit field. Doing so in the past
renamed the currently selected cell's column.
{p 9 12 2}
{* fix}
b. When a single cell is selected, right-clicking on any other cell with
data will change the selection to the new cell before presenting a
contextual menu.
{p 9 12 2}
{* fix}
c. When scrolling to the right, Stata now scrolls into view a newly
selected cell that is partially visible. Previously, if a cell's right
edge was even with the editor window's right edge (not including the
vertical scrollbar), the Data Editor could not scroll further right;
this has been fixed.
{p 9 12 2}
{* enhancement}
d. Pressing Control-Home moves the cursor to the first row and column.
Pressing Control-End moves the cursor to the last row and column with
data.
{p 9 9 2}
Also see #29, #36, #40, #41, and #47 for Windows enhancements and fixes to
the Data Editor. See #57 and #58 for Unix enhancements and fixes to the
Data Editor.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -