| Line 1... |
Line 1... |
| 1 |
% File src/library/stats/man/prop.test.Rd
|
1 |
% File src/library/stats/man/prop.test.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-2010 R Core Team
|
3 |
% Copyright 1995-2018 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{prop.test}
|
6 |
\name{prop.test}
|
| 7 |
\title{Test of Equal or Given Proportions}
|
7 |
\title{Test of Equal or Given Proportions}
|
| 8 |
\usage{
|
8 |
\usage{
|
| Line 96... |
Line 96... |
| 96 |
\item{method}{a character string indicating the method used, and
|
96 |
\item{method}{a character string indicating the method used, and
|
| 97 |
whether Yates' continuity correction was applied.}
|
97 |
whether Yates' continuity correction was applied.}
|
| 98 |
\item{data.name}{a character string giving the names of the data.}
|
98 |
\item{data.name}{a character string giving the names of the data.}
|
| 99 |
}
|
99 |
}
|
| 100 |
\references{
|
100 |
\references{
|
| 101 |
Wilson, E.B. (1927) Probable inference, the law of succession, and
|
101 |
Wilson, E.B. (1927).
|
| 102 |
statistical inference.
|
102 |
Probable inference, the law of succession, and statistical inference.
|
| 103 |
\emph{J. Am. Stat. Assoc.}, \bold{22}, 209--212.
|
103 |
\emph{Journal of the American Statistical Association}, \bold{22},
|
| - |
|
104 |
209--212.
|
| - |
|
105 |
\doi{10.2307/2276774}.
|
| 104 |
|
106 |
|
| - |
|
107 |
Newcombe R.G. (1998).
|
| 105 |
Newcombe R.G. (1998) Two-Sided Confidence Intervals for the Single
|
108 |
Two-Sided Confidence Intervals for the Single Proportion: Comparison
|
| 106 |
Proportion: Comparison of Seven Methods.
|
109 |
of Seven Methods.
|
| 107 |
\emph{Statistics in Medicine} \bold{17}, 857--872.
|
110 |
\emph{Statistics in Medicine}, \bold{17}, 857--872.
|
| - |
|
111 |
\doi{10.1002/(SICI)1097-0258(19980430)17:8<857::AID-SIM777>3.0.CO;2-E}.
|
| 108 |
|
112 |
|
| - |
|
113 |
Newcombe R.G. (1998).
|
| 109 |
Newcombe R.G. (1998) Interval Estimation for the Difference Between
|
114 |
Interval Estimation for the Difference Between Independent
|
| 110 |
Independent Proportions: Comparison of Eleven Methods.
|
115 |
Proportions: Comparison of Eleven Methods.
|
| 111 |
\emph{Statistics in Medicine} \bold{17}, 873--890.
|
116 |
\emph{Statistics in Medicine}, \bold{17}, 873--890.
|
| - |
|
117 |
\doi{10.1002/(SICI)1097-0258(19980430)17:8<873::AID-SIM779>3.0.CO;2-I}.
|
| 112 |
}
|
118 |
}
|
| 113 |
\seealso{\code{\link{binom.test}} for an \emph{exact} test of a binomial
|
119 |
\seealso{\code{\link{binom.test}} for an \emph{exact} test of a binomial
|
| 114 |
hypothesis.}
|
120 |
hypothesis.}
|
| 115 |
\examples{
|
121 |
\examples{
|
| 116 |
heads <- rbinom(1, size = 100, prob = .5)
|
122 |
heads <- rbinom(1, size = 100, prob = .5)
|