| Line 1... |
Line 1... |
| 1 |
% File src/library/stats/man/confint.Rd
|
1 |
% File src/library/stats/man/confint.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2017 R Core Team
|
3 |
% Copyright 1995-2025 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
% Portions copied from
|
- |
|
| 7 |
|
- |
|
| 8 |
\name{confint}
|
6 |
\name{confint}
|
| 9 |
\title{Confidence Intervals for Model Parameters}
|
7 |
\title{Confidence Intervals for Model Parameters}
|
| 10 |
\alias{confint}
|
8 |
\alias{confint}
|
| 11 |
\alias{confint.default}
|
9 |
\alias{confint.default}
|
| 12 |
\alias{confint.lm}
|
10 |
\alias{confint.lm}
|
| Line 17... |
Line 15... |
| 17 |
model. There is a default and a method for objects inheriting from class
|
15 |
model. There is a default and a method for objects inheriting from class
|
| 18 |
\code{"\link{lm}"} and several other classes.
|
16 |
\code{"\link{lm}"} and several other classes.
|
| 19 |
}
|
17 |
}
|
| 20 |
\usage{
|
18 |
\usage{
|
| 21 |
confint(object, parm, level = 0.95, \dots)
|
19 |
confint(object, parm, level = 0.95, \dots)
|
| - |
|
20 |
|
| 22 |
\S3method{confint}{default}(object, parm, level = 0.95, \dots)
|
21 |
\S3method{confint}{default}(object, parm, level = 0.95, \dots)
|
| 23 |
\S3method{confint}{lm}(object, parm, level = 0.95, \dots)
|
22 |
\S3method{confint}{lm}(object, parm, level = 0.95, \dots)
|
| 24 |
\S3method{confint}{glm}(object, parm, level = 0.95, trace = FALSE, test=c("LRT", "Rao"), \dots)
|
23 |
\S3method{confint}{glm}(object, parm, level = 0.95, trace = FALSE, test=c("LRT", "Rao"), \dots)
|
| 25 |
\S3method{confint}{nls}(object, parm, level = 0.95, \dots)
|
24 |
\S3method{confint}{nls}(object, parm, level = 0.95, \dots)
|
| 26 |
}
|
25 |
}
|
| Line 40... |
Line 39... |
| 40 |
1 - (1-level)/2 in \% (by default 2.5\% and 97.5\%).
|
39 |
1 - (1-level)/2 in \% (by default 2.5\% and 97.5\%).
|
| 41 |
}
|
40 |
}
|
| 42 |
\details{
|
41 |
\details{
|
| 43 |
\code{confint} is a generic function. The default method is based on
|
42 |
\code{confint} is a generic function. The default method is based on
|
| 44 |
inverting the Wald test, assuming approximate
|
43 |
inverting the Wald test, assuming approximate
|
| 45 |
normality of the estimator. It needs suitable \code{\link{coef}} and
|
44 |
normality of the estimator. It needs suitable \code{\link{coef}} and
|
| 46 |
\code{\link{vcov}} methods to be available. The default method can be
|
45 |
\code{\link{vcov}} methods to be available. The default method can be
|
| 47 |
called directly for comparison with other methods. It also works for
|
46 |
called directly for comparison with other methods. It also works for
|
| 48 |
fitted models in the S4 class system, provided that the \pkg{methods}
|
47 |
fitted models in the S4 class system.
|
| 49 |
namespace is loaded.
|
- |
|
| 50 |
|
48 |
|
| 51 |
For objects of class \code{"lm"} the direct formulae based on \eqn{t}
|
49 |
For objects of class \code{"lm"} the direct formulae based on \eqn{t}
|
| 52 |
values are used.
|
50 |
values are used.
|
| 53 |
|
51 |
|
| 54 |
Methods for classes \code{"glm"}
|
52 |
Methods for classes \code{"glm"}
|