t.test: Student's test test for paired data

Description Usage Arguments Value Author(s) See Also Examples

Description

A method designed for objects of class paired.

Usage

1
2
## 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

1
2

Example output

Loading required package: MASS
Loading required package: gld
Loading required package: mvtnorm
Loading required package: lattice
Loading required package: ggplot2

Attaching package: 'PairedData'

The following object is masked from 'package:base':

    summary


	Paired t-test

data:  PSSbefore and PSSafter
t = -0.46926, df = 25, p-value = 0.6429
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -4.559817  2.867509
sample estimates:
mean of the differences 
             -0.8461538 

PairedData documentation built on May 1, 2019, 6:49 p.m.