File: cftest.Rd

package info (click to toggle)
multcomp 1.4-29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,444 kB
  • sloc: sh: 28; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 855 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\name{cftest}
\alias{cftest}
\title{ Testing Estimated Coefficients }
\description{
  A convenience function for univariate testing via z- and t-tests of 
  estimated model coefficients
}
\usage{
cftest(model, parm, test = univariate(), ...)
}
\arguments{
  \item{model}{a fitted model.}
  \item{parm}{a vector of parameters to be tested, either a character vector
              of names or an integer.}
  \item{test}{ a function for computing p values, see \code{\link{summary.glht}}.}  
  \item{\dots}{additional arguments passed to \code{\link{summary.glht}}.}
}
\details{
  The usual z- or t-tests are tested without adjusting for 
  multiplicity.
}
\value{
  An object of class \code{summary.glht}.
}
\seealso{
  \code{\link[lmtest]{coeftest}}
}
\examples{

  lmod <- lm(dist ~ speed, data = cars)
  summary(lmod)
  cftest(lmod)
  
}
\keyword{htest}