LinearRegressionFromCorrelations: Linear regression via a sweep operation on the correlation...

View source: R/regressionsweep.R

LinearRegressionFromCorrelationsR Documentation

Linear regression via a sweep operation on the correlation matrix.

Description

Linear regression via a sweep operation on the correlation matrix.

Usage

LinearRegressionFromCorrelations(
  formula,
  data = NULL,
  subset = NULL,
  weights = NULL,
  ...
)

Arguments

formula

An object of class formula (or one that can be coerced to that class): a symbolic description of the model to be fitted. The details of type specification are given under ‘Details’.

data

A data.frame.

subset

An optional vector specifying a subset of observations to be used in the fitting process, or, the name of a variable in data. It may not be an expression. subset may not

weights

An optional vector of sampling weights, or, the name or, the name of a variable in data. It may not be an expression.

...

Additional argments to be past to setCor.

Details

Estimates regression using sweep operations on the correlation matrix. The sample size assumed in tests is the smallest pairwise correlation sample size.


Displayr/flipRegression documentation built on July 27, 2024, 8:35 p.m.