LRegress_group: Joins aggregates from 'N' nodes to compute a linear...

Description Usage Arguments Value

View source: R/LRegress_group.R

Description

Joins aggregates from 'N' nodes to compute a linear regression. We have to compute beta from the linear equation: y = A*beta + error, but data y is distributed over local nodes.

Usage

1
LRegress_group(betas, Sigmas, Ndegree)

Arguments

betas

regression coefficients computed in different 'N' nodes (list data type).

Sigmas

Covariance matrices of the regression coefficients in different 'N' nodes (list data type).

Ndegree

Number of degree of freedom.

Value

betaf : Regression coefficient joining properly betas and Sigmas from 'N' nodes. This will be the result the user will receive. The intermediate betas are not shown. Sigmaf : Covariance matrix of joining properly the partial covariance matrices coming from different nodes. t : T-students pvals : p-values, significance of the regression coefficients.


LREN-CHUV/hbplregress documentation built on May 7, 2019, 12:35 p.m.