Extract call, method, coefficients, residuals, Gamma from object. And append mse, \(p\)-value and the standard error of estimated coefficient.
The mean squared error mse is defined as \(1/n\sum_{i=1}^n||Y_i-\hat{Y}_i||_F^2\), where \(\hat{Y}_i\) is the prediction and \(||\cdot||_F\) is the Frobenius norm of tensor.
Since the \(p\)-value and standard error depend on the estimation of cov\(^{-1}\)(vec\((X)\)) which is unavailable for the ultra-high dimensional \(vec(X)\) in tensor predictor regression (TPR), the two statistics are only provided for the object returned from TRR.fit.
print.summary.Tenv provides a more readable form of the statistics contained in summary.Tenv. If object is returned from TRR.fit, then p-val and se are also returned.