Description Usage Arguments Value
Computes the linear regression. We have to compute beta from the linear equation: y = A*beta + error This is the function that will be running at local node level. The data (input parameters: y, A) are obtained from the local databases using a specific queries. These queries will be the same for all nodes.
1 |
data |
Data obtained from specific query to the local Database. |
variable |
Name of the variable (column) that will be the dependent variable (left hand of the Linear model equation). |
covariables |
List of names of the co-variables for the design or regression matrix that will be obtained from specific query to the local Database. |
grouping |
List of names of the variables to group, default to empty list |
betai (rout[1]) : regression coefficient computed in nodes 'i'. Sigmai (rout[2]) : Covariance matrix of the regression coefficients betai. rout[3] : Summary of the linear regression results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.