return_supTstat: Returns sup of T-type statistic between two matrices

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/return_supTstat.R

Description

Returns sup of T-type statistic between two matrices, as described in fda::tperm.fd

Usage

1
return_supTstat(Mat1, Mat2)

Arguments

Mat1

Matrix 1 with each column being the discretized version of a separate curve

Mat2

Matrix 2 with each column being the discretized version of a separate curve

Value

Returns a list of three elements

TMean

Mean of T-type statistics evaluated at each point (row) of the matrix

TMedian

Median of T-type statistics

TSup

Supremum of T-type statistics

Author(s)

Subhrangshu Nandi; Statistics PhD student, UW Madison; snandi@wisc.edu or nands31@gmail.com

References

Graves, S., Hooker, G., & Ramsay, J. (2009). Functional data analysis with R and MATLAB. (Sec 10.5.1)

See Also

permute_pointwiseT, fda::tperm.fd

Examples

1
2
3
4
5
data( growth, package = 'fda' )
Mat1 <- growth[['hgtm']]
Mat2 <- growth[['hgtf']]
TStats <- return_supTstat(Mat1, Mat2)
names(TStats)

snandi/Registration documentation built on May 30, 2019, 5:04 a.m.