Stata 9 manual errata
Errata are available for the following manuals:
Base Reference Manual, Volume 1
|
(1) |
[R] anova postestimation, p. 76, Description (special interest command table)
|
The following commands are also of special interest after anova:
| commands | description |
|
| acprplot | augmented component-plus-residual plot |
| avplot | added-variable plot |
| avplots | all added-variable plots in a single image |
| cprplot | component-plus-residual plot |
| lvr2plot | leverage-versus-squared-residual plot |
| rvfplot | residual-versus-fitted plot |
| rvpplot | residual-versus-predictor plot |
|
| For information about these commands, see [R] regress postestimation. |
|
|
|
(3) |
[R] asmprobit, p. 116, second paragraph, second sentence
| For the uniform pseudorandom sequence, ... order O(N -1/2).
|
For the uniform pseudorandom sequence, ... order O{(log log N /N)1/2}.
|
|
|
(1) |
[R] dstdize, p. 301, Syntax – Indirect standardization
| istdize ... using(filename),
|
istdize ... using filename,
|
|
|
(1) |
[R] dstdize, p. 302, Description, second paragraph, last sentence
| The standard population is specified in another Stata data file named in the using option.
|
The standard population is in another Stata data file specified by using filename, and it must contain popvar and stratavars.
|
|
|
(1) |
[R] glogit postestimation, p. 436, Description
|
Note that estat ic and lrtest may not be used after glogit and gprobit.
|
|
|
(1) |
[R] heckman postestimation, p. 462, Description
|
Note that estat ic and suest may not be used after heckman, twostep. |
|
|
(1) |
[R] histogram, p. 498, paragraph under graph, second line
| see [G] axis_selection_options. For an explanation ... |
see [G] axis_choice_options. For an explanation ... |
|
|
(1) |
[R] ivprobit, p. 521, last line of output
Wald test of exogeneity: chi2(1) = 63.90 Prob > chi2 = 0.0000
|
Wald test of exogeneity: chi2(1) = 6.50 Prob > chi2 = 0.0108
|
|
|
(1) |
[R] ivprobit postestimation, p. 527, Description
|
Note that estat ic and suest may not be used after ivprobit, twostep.
|
|
|
(1) |
[R] ivtobit, p. 546, Example 2
| . ivtobit fem_wage fem_educ kids ...
|
. ivtobit fem_inc fem_educ kids ...
|
Wald test of exogeneity: chi2(1) = 103.60 Prob > chi2 = 0.0000
|
Wald test of exogeneity: chi2(1) = 4.64 Prob > chi2 = 0.0312
|
|
|
(1) |
[R] ivtobit postestimation, p. 550, Description
|
Note that estat ic and suest may not be used after ivtobit, twostep.
|
|
Base Reference Manual, Volume 2
|
(1) |
[R] kdensity, p. 15, Syntax
| fweights and aweights are allowed; see [U] 11.1.6 weight.
|
fweights, aweights, and iweights are allowed; see [U] 11.1.6 weight.
|
|
|
(3) |
[R] mfp, p. 161, first paragraph, seventh line
| ... We use mfracpol to build a model
|
... We use mfp to build a model
|
|
|
(4) |
[R] ml, p. 206, method d2 evaluator
|
matrix `negH' = (`d11',`d12' \ `d12',`d22')
|
matrix `negH' = (`d11',`d12' \ `d12'',`d22')
|
|
|
(1) |
[R] ml, p. 194, Options – continue, second paragraph, third line
| ... The current value of the log likelihood is used to
present a likelihood-ratio test unless robust,
cluster(), pweights, or svy
is specified because, in that case, a likelihood-ratio test would
be inappropriate.
|
... The current value of the log likelihood is used to
present a likelihood-ratio test unless robust,
cluster(), pweight, svy, or
constraints() is specified. A likelihood-ratio test is
inappropriate when robust, cluster(), pweight,
or svy is specified. We suggest using lrtest when
constraints() is specified.
|
|
|
(3) |
[R] qreg, p. 521, third set of command lines
. sqreg y x1 x2, q(.25 .75)
. test [q25]x1 = [q75]x2
|
. sqreg y x1 x2, q(.25 .75)
. test [q25]x1 = [q75]x1
|
|
Base Reference Manual, Volume 3
|
(3) |
[R] regress, p. 35, Description, first sentence
| regress fits a model of depvar on varlist using linear regression.
|
regress fits a model of depvar on indepvars using linear regression.
|
|
|
(1) |
[R] roc, p. 111, Syntax (roccomp_options table) and p. 114, Options for roccomp and rocgold
|
The addplot(plot) option is not available with roccomp. You will receive an error message if you attempt to use this option with roccomp. |
|
|
(3) |
[R] sunflower, p. 332, Options section
| binar(#) ...
binheight = binwidth × # × sqrt(3)
The default is binar(r), where r results in the rendering of regular hexagons.
|
binar(#) ...
binheight = binwidth × # × 2/sqrt(3)
where binheight and binwidth are specified in the units of the y and x variables, respectively. The default is binar(r), where r results in the rendering of regular hexagons.
|
|
Data Management Reference Manual
|
(3) |
[D] functions, p. 171, regexs() function
| Description: returns subexpression n from a previous regexm() match, where 0 ≥ n < 10. ... |
|
| Description: returns subexpression n from a previous regexm() match, where 0 ≤ n < 10. ... |
|
|
Graphics Reference Manual
|
(1) |
[G] graph other, p. 129, Multivariate analysis
| calineplot |
|
correspondence analysis line plot |
|
| caprojection |
|
correspondence analysis dimension projection plot |
|
|
|
(3) |
[G] graph twoway, p. 150
| pci |
|
pcline with immediate arguments |
|
| pci |
|
pcspike with immediate arguments |
|
|
|
(1) |
[G] graph twoway pcarrowi, p. 231, Options
| options are as defined in [G] graph twoway pcspike
|
options are as defined in [G] graph twoway pcarrow
|
|
|
(1) |
[G] graph twoway pci, p. 238–240, title of entry
| Twoway pcarrow with immediate arguments |
Twoway paired-coordinate plot with immediate arguments |
|
|
(1) |
[G] graph twoway pci, p. 238, Options
| options are as defined in [G] graph twoway pcarrow
|
options are as defined in [G] graph twoway pcspike |
|
Longitudinal/Panel Data Reference Manual
|
(3) |
[XT] xtlogit, p. 172, second sentence
The log likelihood, L, where
, ...
|
The log likelihood, L, where
, ...
|
|
Mata Reference Manual
|
(3) |
[M-2] op_logical, p. 121, last paragraph
| !a, when a is a scalar, evaluates to
1 if a is not equal to zero and 1 otherwise.
|
!a, when a is a scalar, evaluates to
0 if a is not equal to zero and 1 otherwise.
|
|
Programming Reference Manual
|
(3) |
[P] comments, p. 67, Remarks
|
The * comment indicator may not be used within Mata. |
|
Survival Analysis and Epidemiological Tables Reference Manual
|
(3) |
[ST] epitab, p. 69, first line, and p. 71, second paragraph above Stratified cumulative incidence data
For risk differences, the x2 test of homogeneity is calculated as , where ...
|
For risk differences, the x2 test of homogeneity is calculated as , where ...
|
|
|
(1) |
[ST] stci, p. 118, first paragraph, second sentence
| The 25th percentile, for instance, is obtained as the maximum value ...
|
The 25th percentile, for instance, is obtained as the minimum value ...
|
|
|
(1) |
[ST] stcox, p. 152 |
Weights needed to be added to the following formulas:
| Schoenfeld residuals are calculated using the Breslow–Peto approach as
Using the Efron approach, we have
|
|
| Schoenfeld residuals are calculated using the Breslow–Peto approach as
Using the Efron approach, we have
|
|
|
Time-Series Reference Manual
|
(1) |
[TS] prais, p. 188, Syntax – options table
| Max options |
| maximize_options |
|
control the maximization process; seldom used |
|
| Opt options |
| optimize_options |
|
control the optimization process; seldom used |
|
|
|
(1) |
[TS] prais, p. 190, Options
| Max options |
| maximize_options: [no]log, tolerance(#); see [R] maximize. These options are seldom used. |
|
| Opt options |
| optimize_options: itererate(#), [no]log, tolerance(#). iterate() specifies the maximum number of iterations. log/nolog specifies whether or not to show the iteration log. tolerance() specifies the tolerance for the coefficient vector; tolerance(1e-6) is the default. These options are seldom used. |
|
|
|
(3) |
[TS] tssmooth shwinters, p. 276, formula for a(t) near bottom of page
|
User’s Guide
|
(3) |
[U] 27.2 The by construct, p. 350, second line of second Stata example
| . by person: replace avgbp = bp[_N] |
|
| . by person: replace avgbp = avgbp[_N] |
|
|
Quick Reference and Index
|
(3) |
[I] Combined Subject Table of Contents, p. iii, Reshaping datasets
|
|
(3) |
[I] Combined Subject Table of Contents, p. iv, Miscellaneous data commands
|
|
(3) |
[I] Combined Subject Table of Contents, p. v, Basic utilities
|
|
(3) |
[I] Combined Subject Table of Contents, p. ix, Basic statistics
|
|
(1) |
[I] Vignettes index, p. 19
The following were omitted entries:
Cronbach, L. J. (1916–2001) [R] alpha
Nelder, J. A. (1924– ) [R] glm
|
|
|
Manuals & supplements
Overview
Datasets
Errata
Order manuals
Bookstore
|