variances_inner.po2m: Calculate the variance covariance matrix of the estimated...

View source: R/PO2PLS_functions.R

variances_inner.po2mR Documentation

Calculate the variance covariance matrix of the estimated PO2PLS parameters

Description

Calculate the variance covariance matrix of the estimated PO2PLS parameters

Usage

variances_inner.po2m(fit, X, Y)

Arguments

fit

A PO2PLS fit of class po2m

X

Numeric matrix. Other types will be coerced to matrix with as.matrix (if this is possible)

Y

Numeric matrix. Other types will be coerced to matrix with as.matrix (if this is possible)

type_var

String. Type of covariance matrix sought

Value

A covariance matrix and standard errors

A vector with the standard errors for B per component


selbouhaddani/PO2PLS documentation built on Feb. 23, 2024, 5:25 a.m.