Interface Regression

All Known Implementing Classes:
RegressionCovariance, RegressionDataset

public interface Regression
Implements a multiple regression model, allowing data to be specified either as a tabular data set or as a covariance matrix plus list of means.
Author:
josephramsey
  • Method Summary

    Modifier and Type
    Method
    Description
     
    regress(Node target, Node... regressors)
    Regresses target on the regressors, yielding a regression plane.
    regress(Node target, List<Node> regressors)
    Regresses target on the regressors, yielding a regression plane.
    void
    setAlpha(double alpha)
    Sets the significance level at which coefficients are judged to be significant.
  • Method Details

    • setAlpha

      void setAlpha(double alpha)
      Sets the significance level at which coefficients are judged to be significant.
      Parameters:
      alpha - the significance level.
    • getGraph

      Graph getGraph()
      Returns:
      This graph.
    • regress

      RegressionResult regress(Node target, List<Node> regressors)
      Regresses target on the regressors, yielding a regression plane.
      Parameters:
      target - the target variable, being regressed.
      regressors - the list of variables being regressed on.
      Returns:
      the regression plane.
    • regress

      RegressionResult regress(Node target, Node... regressors)
      Regresses target on the regressors, yielding a regression plane.
      Parameters:
      target - the target variable, being regressed.
      regressors - the list of variables being regressed on.
      Returns:
      the regression plane.