The R Project SVN R

Rev

Rev 86303 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 86303 Rev 88563
Line 1... Line 1...
1
% File src/library/stats/man/oneway.test.Rd
1
% File src/library/stats/man/oneway.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-2018 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
\name{oneway.test}
6
\name{oneway.test}
7
\alias{oneway.test}
7
\alias{oneway.test}
8
\title{Test for Equal Means in a One-Way Layout}
8
\title{Test for Equal Means in a One-Way Layout}
Line 27... Line 27...
27
    \code{getOption("na.action")}.}
27
    \code{getOption("na.action")}.}
28
  \item{var.equal}{a logical variable indicating whether to treat the
28
  \item{var.equal}{a logical variable indicating whether to treat the
29
    variances in the samples as equal.  If \code{TRUE}, then a simple F
29
    variances in the samples as equal.  If \code{TRUE}, then a simple F
30
    test for the equality of means in a one-way analysis of variance is
30
    test for the equality of means in a one-way analysis of variance is
31
    performed.  If \code{FALSE}, an approximate method of
31
    performed.  If \code{FALSE}, an approximate method of
32
    \bibcite{Welch (1951)}
32
    \bibcitet{R:Welch:1951}
33
    is used, which generalizes the commonly known 2-sample \I{Welch} test to
33
    is used, which generalizes the commonly known 2-sample \I{Welch} test to
34
    the case of arbitrarily many samples.}
34
    the case of arbitrarily many samples.}
35
}
35
}
36
\value{
36
\value{
37
  A list with class \code{"htest"} containing the following components:
37
  A list with class \code{"htest"} containing the following components:
Line 45... Line 45...
45
\details{
45
\details{
46
  If the right-hand side of the formula contains more than one term,
46
  If the right-hand side of the formula contains more than one term,
47
  their interaction is taken to form the grouping.
47
  their interaction is taken to form the grouping.
48
}
48
}
49
\references{
49
\references{
50
  B. L. Welch (1951).
-
 
51
  On the comparison of several mean values: an alternative approach.
-
 
52
  \emph{Biometrika}, \bold{38}, 330--336.
-
 
53
  \doi{10.2307/2332579}.
50
  \bibshow{*}
54
}
51
}
55
\seealso{
52
\seealso{
56
  The standard t test (\code{\link{t.test}}) as the special case for two
53
  The standard t test (\code{\link{t.test}}) as the special case for two
57
  samples;
54
  samples;
58
  the Kruskal-Wallis test \code{\link{kruskal.test}} for a nonparametric
55
  the Kruskal-Wallis test \code{\link{kruskal.test}} for a nonparametric