Learn R Programming

TRES (version 1.1.0)

summary.Tenv: Summarize method for Tenv object.

Description

Summary method for object returned from TRR.fit and TPR.fit functions.

Usage

# S3 method for Tenv
summary(object, ...)

# S3 method for summary.Tenv print(x, ...)

Arguments

object

An object of class "Tenv", as from TPR.fit or TRR.fit.

...

Arguments to be passed to or from other methods.

x

An object of class "summary.Tenv", usually, a result of a call to summary.Tenv.

Value

Return object with additional components

n

Sample size

xdim

Dimensions of predictor

ydim

Dimensions of response

mse

Mean squared error

p_val

Only for object returned from TRR.fit, p-value for coefficients

se

Only for object returned from TRR.fit, standard error for coefficients

Details

The \(p\)-value and the standard error of estimated coefficient are not provided for tensor predictor regression since they depend on \(\widehat{\mathrm{cov}}^{-1}\{\mathrm{vec}(\mathbf{X})\}\) which is unavailable due to the ultra-high dimension of \(\mathrm{vec}(\mathbf{X})\).

print.summary.Tenv gives a more readable format of call, sample size, dimensions of datasets, mse. And if the object is returned from TRR.fit, then p-val and se are also returned.

See Also

Tenv_Pval

Examples

Run this code
# NOT RUN {
data("bat")
Xn <- bat$Xn
Yn <- bat$Yn
fit <- TRR.fit(Xn, Yn, method="standard")
##print summary
summary(fit)
# }

Run the code above in your browser using DataLab