Learn R Programming

TRES (version 0.1.0)

Tenv_Pval: The \(p\)-values of each elements in the tensor response regression coefficient estimator

Description

Obtain \(p\)-values of each elements in the tensor regression coefficient estimator. Two-sided t-tests are applied on the coefficent estimator, where the estimator use the asymptotic covariance of the OLS estimator.

Usage

Tenv_Pval(Yn, Xn, B_est)

Arguments

Yn

The response tensor instance \( r_1\times r_2\times \cdots \times r_m\).

Xn

A vector predictor of dimension \(p\).

B_est

The tensor regression coefficient estimator for tensor response regression.

Value

P_OLS

The p-value of OLS estimator.

P_val

The p-value of B_est.

se_mat

The standard error matrix of \(\mathrm{vec}(\hat{B})\).