linregDSS: Returns the quantities shared to the client to performed...

View source: R/linregDSS.R

linregDSSR Documentation

Returns the quantities shared to the client to performed distributed linear regression.

Description

Caclulates X'X and X'y as in the normal equation, i.e. the MLE for beta is b = inv(X'X) X'Y . No need to calculate beta here, nor to share the matrix X. Also returns y'y and the sample size in order to recompute the T statistics (and the p-values).

Usage

linregDSS(df, dep_var, expl_vars)

Arguments

dep_var:

[string] the column name for the dependent variable (y).

expl_vars:

[vector of strings] the column names for the explanatory variables.

Value

a list.


sib-swiss/dsSwissKnife documentation built on Nov. 27, 2024, 6:03 p.m.