Skip to content

Commit 147793c

Browse files
author
hornik
committed
Auto-generate citations and references.
git-svn-id: https://svn.r-project.org/R/trunk@88557 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent c91a5ab commit 147793c

File tree

3 files changed

+17
-41
lines changed

3 files changed

+17
-41
lines changed

src/library/stats/man/GammaDist.Rd

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ rgamma(n, shape, rate = 1, scale = 1/rate)
9494
and \code{rate}: S had no \code{scale} parameter. It is an error
9595
to supply both \code{scale} and \code{rate}.
9696
97-
\code{pgamma} is closely related to the incomplete gamma function. As
98-
defined by \bibcite{Abramowitz and Stegun 6.5.1} (and by \sQuote{Numerical
99-
Recipes}) this is
97+
\code{pgamma} is closely related to the incomplete gamma function.
98+
As defined by \bibcitet{|R:Abramowitz+Stegun:1972|section 6.5.1}
99+
(and by \sQuote{Numerical Recipes}) this is
100100
\deqn{P(a,x) = \frac{1}{\Gamma(a)} \int_0^x t^{a-1} e^{-t} dt}{P(a,x) = 1/Gamma(a) integral_0^x t^(a-1) exp(-t) dt}
101101
\eqn{P(a, x)} is \code{pgamma(x, a)}. Other authors (for example
102102
Karl Pearson in his 1922 tables) omit the normalizing factor,
@@ -125,12 +125,8 @@ rgamma(n, shape, rate = 1, scale = 1/rate)
125125
algorithm \sQuote{mainly by Morten Welinder}.
126126
127127
\code{qgamma} is based on a C translation of
128-
129-
Best, D. J. and D. E. Roberts (1975).
130-
Algorithm AS91. Percentage points of the chi-squared distribution.
131-
\emph{Applied Statistics}, \bold{24}, 385--388.
132-
133-
plus a final Newton step to improve the approximation.
128+
\bibcitet{R:Best+Roberts:1975} plus a final Newton step to improve the
129+
approximation.
134130
135131
\code{rgamma} for \code{shape >= 1} uses
136132
@@ -145,18 +141,10 @@ rgamma(n, shape, rate = 1, scale = 1/rate)
145141
distributions. \emph{Computing}, \bold{12}, 223--246.
146142
}
147143
\references{
148-
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988).
149-
\emph{The New S Language}.
150-
Wadsworth & Brooks/Cole.
151-
152-
Shea, B. L. (1988).
153-
Algorithm AS 239: Chi-squared and incomplete Gamma integral,
154-
\emph{Applied Statistics (JRSS C)}, \bold{37}, 466--473.
155-
\doi{10.2307/2347328}.
156-
157-
Abramowitz, M. and Stegun, I. A. (1972)
158-
\emph{Handbook of Mathematical Functions.} New York: Dover.
159-
Chapter 6: Gamma and Related Functions.
144+
\bibinfo{R:Abramowitz+Stegun:1972}{footer}{Chapter 6: Gamma and Related Functions.}
145+
\bibshow{*,
146+
R:Becker+Chambers+Wilks:1988,
147+
R:Shea:1988}
160148
161149
NIST Digital Library of Mathematical Functions.
162150
\url{https://dlmf.nist.gov/}, section 8.2.

src/library/stats/man/fligner.test.Rd

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/stats/man/fligner.test.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2018 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{fligner.test}
@@ -52,7 +52,7 @@ fligner.test(x, \dots)
5252
The \I{Fligner}-\I{Killeen} (median) test has been determined in a simulation
5353
study as one of the many tests for homogeneity of variances which is
5454
most robust against departures from normality, see
55-
\bibcite{Conover, Johnson & Johnson (1981)}.
55+
\bibcitet{R:Conover+Johnson+Johnson:1981}.
5656
It is a \eqn{k}-sample simple linear rank which uses
5757
the ranks of the absolute values of the centered samples and weights
5858
\eqn{a(i) = \mathrm{qnorm}((1 + i/(n+1))/2)}{a(i) = qnorm((1 +
@@ -70,11 +70,7 @@ fligner.test(x, \dots)
7070
\item{data.name}{a character string giving the names of the data.}
7171
}
7272
\references{
73-
William J. Conover, Mark E. Johnson and Myrle M. Johnson (1981).
74-
A comparative study of tests for homogeneity of variances, with
75-
applications to the outer continental shelf bidding data.
76-
\emph{Technometrics}, \bold{23}, 351--361.
77-
\doi{10.2307/1268225}.
73+
\bibshow{*}
7874
}
7975
\seealso{
8076
\code{\link{ansari.test}} and \code{\link{mood.test}} for rank-based

src/library/stats/man/influence.measures.Rd

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/stats/man/influence.measures.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2022 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{influence.measures}
@@ -99,7 +99,7 @@ hat(x, intercept = TRUE)
9999
\description{
100100
This suite of functions can be used to compute some of the regression
101101
(leave-one-out deletion) diagnostics for linear and generalized linear
102-
models discussed in \bibcite{Belsley, Kuh and Welsch (1980)},
102+
models discussed in \bibcitet{R:Belsley+Kuh+Welsch:1980},
103103
\bibcite{Cook and Weisberg (1982)}, etc.
104104
}
105105
\details{
@@ -122,7 +122,7 @@ hat(x, intercept = TRUE)
122122
or matrices instead of vectors.
123123

124124
Values for generalized linear models are approximations, as described
125-
in Williams (1987) (except that Cook's distances are scaled as
125+
in \bibcitet{R:Williams:1987} (except that Cook's distances are scaled as
126126
\eqn{F} rather than as chi-square values). The approximations can be
127127
poor when some cases have large influence.
128128
@@ -154,20 +154,12 @@ hat(x, intercept = TRUE)
154154
package.
155155
}
156156
\references{
157-
Belsley, D. A., Kuh, E. and Welsch, R. E. (1980).
158-
\emph{Regression Diagnostics}.
159-
New York: Wiley.
160-
157+
\bibshow{*}
158+
161159
Cook, R. D. and Weisberg, S. (1982).
162160
\emph{Residuals and Influence in Regression}.
163161
London: Chapman and Hall.
164162
165-
Williams, D. A. (1987).
166-
Generalized linear model diagnostics using the deviance and single
167-
case deletions.
168-
\emph{Applied Statistics}, \bold{36}, 181--191.
169-
\doi{10.2307/2347550}.
170-
171163
Fox, J. (1997).
172164
\emph{Applied Regression, Linear Models, and Related Methods}.
173165
Sage.

0 commit comments

Comments
 (0)