t.test {PairedData} | R Documentation |
Student's test test for paired data
Description
A method designed for objects of class paired.
Usage
## S3 method for class 'paired'
t.test(x, ...)
Arguments
x |
An object of class paired. |
... |
further arguments to be passed to or from methods. |
Value
A list with class "htest" containing the following components:
statistic |
the value of the t-statistic. |
parameter |
the degrees of freedom for the t-statistic. |
p.value |
the p-value for the test. |
conf.int |
a confidence interval for the mean appropriate to the specified alternative hypothesis. |
estimate |
the estimated difference in mean. |
null.value |
the specified hypothesized value of mean difference. |
alternative |
a character string describing the alternative hypothesis. |
method |
a character string indicating what type of test was performed (always paired here) |
data.name |
a character string giving the name(s) of the data. |
Author(s)
Stephane Champely
See Also
yuen.t.test
Examples
data(PrisonStress)
with(PrisonStress,t.test(paired(PSSbefore,PSSafter)))
[Package PairedData version 1.1.1 Index]