Stata 7 printed manual errata

Errata are available for the following manuals:

Reference A–G

Reference H–P

Reference Q–St

Reference Su–Z

User’s Guide

Getting Started Unix

Graphics manual

Programming manual

Reference A–G

(all) [R] arima, p. 121, equation (1c)
The subscript should be changed from t to t-1 on the y that appears on the right hand side of the two equations.
(all) [R] arima, p. 122, Remarks, second sentence
The estimated variance of the white-noise disturbance epsilon is .73. The estimated standard deviation of the white-noise disturbance epsilon is .725.
(1) [R] binreg, p. 133, Options for predict, nooffset option
... for glm. ... ... for binreg. ...
(1) [R] biprobit, p. 139, Syntax, Seemingly unrelated bivariate probit model syntax diagram
The varlist is not allowed with seemingly unrelated bivariate probit.

... equation2 [varlist] [weight] ... ... equation2 [weight] ...
(all) [R] bstrap, p. 164, Syntax, bstat command syntax
bstat syntax diagram is missing the title() option.

... level(#) ] ... level(#) title(text) ]
(all) [R] bstrap, p. 165, Options
Add the following paragraph describing the title() option of the bstat command.

title(text) (bstat only) specifies a title to be displayed above the table of bootstrap results; the default title is "Bootstrap statistics".
(1) [R] canon, p. 177, Syntax
varlist1 and varlist2 should be enclosed in parens.

canon varlist1 varlist2 ... canon (varlist1) (varlist2) ...
(1) [R] cloglog, p. 216, Syntax
The offset() option takes an existing varname instead of a newvarname.

... offset(newvarname) ... ... offset(varname) ...
(all) [R] cluster, p. 233
[R] cluster averagelinkage, p. 236, Options, distance_option
[R] cluster completelinkage, p. 241, Options, distance_option
[R] cluster kmeans, p. 257, Options, distance_option
[R] cluster kmedians, p. 266, Options, distance_option
[R] cluster singlelinkage, p. 276, Options, distance_option
The minimum abbreviation was not indicated for the Anderberg and Kulczynski similarity measures.

Anderberg Anderberg
Kulczynski Kulczynski
(1) [R] egen, p. 413, Description, ends() function
The minimum abbreviation for the trim option is tr instead of t.
(all) [R] estimation commands, p. 499, table
The table entry for the glm row and lrtest column should be changed from "no" to "yes".
(1) [R] functions, p. 556, invF() description
... invf( ... ... invF( ...
(1) [R] glm, p. 567, Syntax, list of linknames
A space is needed between the name and number for the opower and power links.

... | opower# | power# | ... ... | opower # | power # | ...

Reference H–P

(all) [R] icd9, p. 66, fourth line from bottom
Note that diag2 has an ... Note that proc2 has an ...
(all) [R] impute, pp. 70–71
Several variable names in the six impute commands are incorrect.

ln_rtl ln_rsales_pc
medage median_age
i_ln_rtl i_ln_rsales
i_medage i_median_age
(all) [R] insheet, p. 120, Remarks, first paragraph
... if you type infix using myfile. ... type infix using myfile.txt. ... if you type insheet using myfile. ... type insheet using myfile.txt.
(all) [R] limits, p. 195, entry for infix, Record length without data dictionary
The limit is 7,998 for both Small and Intercooled Stata. The footnote for the maximum record length of 19,998 for Unix also applies to this line of the table.
(all) [R] list, p. 209, Syntax, second sentence under syntax diagram
The second varlist may ... varlist may ...
(all) [R] logistic, p. 243, Saved Results, lstat
The descriptions for r(P_1n) and r(P_0n) were reversed.

r(P_1n) negative predictive value r(P_0n) negative predictive value
r(P_0n) false negative rate given classified negative r(P_1n) false negative rate given classified negative
(1) [R] nl, p. 418, Options, iterate() option
... defaults to 98. ... defaults to 10,000.

Reference Q–St

(1) [R] #review, p. 130, Remarks and Also See
Section number and title incorrect on reference.

[U] 13.6 Editing previous lines [U] 13.5 Editing previous lines in Stata for all operating systems
(all) [R] save, p. 176, Options, old option
... If your dataset contains variable names longer than 8 characters or value labels longer than 8 characters, Stata will refuse to save. ... If your dataset contains variable names longer than 8 characters, value labels longer than 8 characters, or characteristic names longer than 8 characters, Stata will refuse to save.
(all) [R] signrank, p. 213, Syntax, median command syntax
The median command allows frequency weights. [weight] is added to the syntax diagram

median varname [if exp] ... median varname [weight] [if exp] ...

and the following note is added under the syntax diagrams.

fweights are allowed with median; see [U] 14.1.6 weight.
(1) [R] st streg, p. 343, Syntax for predict, median lntime entry
predicted mean ln(survival time) predicted median ln(survival time)
(1) [R] st streg, p. 346, Options for stcurve
The at1(), ... at10() option description left off the number 1.

at(varname=#...), at2(varname=#...), ... at1(varname=#...), at2(varname=#...), ...
(all) [R] st streg, p. 353, second paragraph under Generalized gamma model
... by parameterizing lambda_j = x_j beta and ... ... by parameterizing mu = x_j beta and ...
(all) [R] st sts, p. 389, third display equation
The denominator of the denominator should be changed from d_j to n_j.
(1) [R] st sts generate, p. 391, Functions
The dchaz function is incorrectly named in the section describing the functions. It should be h.

dchaz produces the ... h produces the ...
(all) [R] st stset, p. 434, fourth line from bottom
... = 18aug1998 - 31aug1998 = -13 ... = 23aug1998 - 31aug1998 = -8

Reference Su–Z

(1) [R] translate, p. 198, Options for print, like() option
The word define was omitted in the command example following "On the other hand, you could type".

. transmap .me .txt . transmap define .me .txt
(1) [R] translate, p. 191, Options for translate, translator() option
The word define was omitted with the transmap command in the second table on the page.

. transmap .odd .txt . transmap define .odd .txt
(all) [R] xtabond, p. 300, last sentence
... in the year 1984. ... in the year 1980.
(all) [R] xtivreg, p. 363, Options for predict, xbu option description
The greek letter nu should be replaced with the greek letter mu.

User's Guide

(all) [U] 14.1.1 varlist, p. 66, Example
[U] 14.1.7 options, pp. 72–73, Example
The meanonly option of summarize was not listed in the example syntax diagrams.
(all) [U] 14.1.2 by varlist:, p. 68, Technical Note
... 32.417, and 15.213. ... 32.417, and 152.13.
(all) [U] 17.8.2 Matrix functions returning scalars, p. 155, colnumb() description
... associated with row name s; ... ... associated with column name s; ...
(all) [U] 21.11.1 Version, p. 219
[U] 21.11.3 Debugging ado-files, p. 220

The top and bottom divider lines for the hello.ado program incorrectly say hello.do.

top of hello.do top of hello.ado
bottom of hello.do bottom of hello.ado
(1) [U] 23.1 All estimation commands work the same way, p. 238, item 9
... nltest ... ... testnl ...
(all) [U] 29.6 Conditional logistic regression, p. 312
... the observation's characteristics ... ... the observation's covariates ...

Getting Started Unix manual

(all) [GSU], p. 53, Fonts and the Data Editor, First paragraph
... From Stata(GUI), select Preferences from the Edit menu. ... ... From Stata(GUI), select General Preferences... from the Prefs menu. ...
(all) [GSU], p. 125, Graphing data, second line of Note at bottom
... window. Click on the Results button to put ... ... window. Select Main from the Windows menu to put ...
(all) [GSU], p. 186, Finding a color scheme, after the line “You would type”
. conren color 1 . conren style 1
... conren color and ... ... conren style and ...
(all) [GSU], p. 187, If you had success...
. conren color 4 . conren style 4
quietly conren color 4 quietly conren style 4

Graphics manual

(all) [G] graph options, p. 16, Specifying colors (pens)
The minimum abbreviation for the pen() option is pe() instead of p().

Programming manual

(1) [P] file formats .dta, p. 91, table showing expansion fields
The second, fifth, and eighth lines in the body of the table show the length of an int as 2. It should be 4.
(1) [P] file formats .dta, p. 91, third paragraph from bottom
... When writing, write 3 bytes of zeros ... When reading, read three bytes; the second two bytes now tell you ... until you read 3 bytes of zeros. ... When writing, write 5 bytes of zeros ... When reading, read five bytes; the last four bytes now tell you ... until you read 5 bytes of zeros.
(all) [P] macro, p. 123, Syntax

The set dp extended macro function was omitted.

set { adosize | graphics | ... set { adosize | dp | graphics | ...
(all) [P] macro, p. 128, Macro extended functions for extracting data attributes

Add the following description of the maxlength modifier to the label extended macro function description.

maxlength specifies that, rather than looking up a number in a value label, label is to return the maximum length of the labelings.
(all) [P] macro, p. 128, Macro extended functions for accessing Stata system parameters

Add the following entry describing the set dp extended macro function.

set dp returns "period" or "comma", depending on whether periods or commas are the decimal symbol; see [R] format.
(all) [P] matrix score, p. 188, Syntax and Options
The option eq() should be equation() with minimum abbreviation eq().
(1) [P] smcl, p. 273, Formatting commands for use in line mode, {col #} entry
{col #} follows syntax 2. {col #} follows syntax 3.
(1) [P] smcl, p. 278, Advice on using display, 12th line from top of page
... display's in error directive both ... ... display's as error directive both ...
(1) [P] syntax, p. 296, option_descriptor optionally_on section
... but option constant in local macro `constan'. ... but option constant in local macro `constant'.
(1) [P] syntax, p. 296, option_descriptor optionally_off section
... and option noconstant in local macro `constan'. ... and option noconstant in local macro `constant'.