Package edu.cmu.tetrad.regression
Class RegressionCovariance
java.lang.Object
edu.cmu.tetrad.regression.RegressionCovariance
- All Implemented Interfaces:
- Regression
Implements a regression model from correlations--that is, from a correlation matrix, a list of standard deviations,
 and a list of means.
- Version:
- $Id: $Id
- Author:
- josephramsey
- 
Constructor SummaryConstructorsConstructorDescriptionRegressionCovariance(ICovarianceMatrix covariances) Constructs a covariance-based regression model using the given covariance matrix, assuming that no means are specified.
- 
Method SummaryModifier and TypeMethodDescriptiongetGraph()Getter for the fieldgraph.regress.Regresses the given target on the given regressors, yielding a regression plane, in which coefficients are given for each regressor plus the constant (if means have been specified, that is, for the last), and se, t, and p values are given for each regressor.voidsetAlpha(double alpha) Sets the significance level at which coefficients are judged to be significant.
- 
Constructor Details- 
RegressionCovarianceConstructs a covariance-based regression model using the given covariance matrix, assuming that no means are specified.- Parameters:
- covariances- The covariance matrix.
 
 
- 
- 
Method Details- 
setAlphapublic void setAlpha(double alpha) Sets the significance level at which coefficients are judged to be significant.Sets the cutoff for significance. Parameters with p values less than this will be labeled as significant. - Specified by:
- setAlphain interface- Regression
- Parameters:
- alpha- the significance level.
 
- 
getGraphGetter for the field graph.- Specified by:
- getGraphin interface- Regression
- Returns:
- This graph.
 
- 
regressRegresses the given target on the given regressors, yielding a regression plane, in which coefficients are given for each regressor plus the constant (if means have been specified, that is, for the last), and se, t, and p values are given for each regressor.- Specified by:
- regressin interface- Regression
- Parameters:
- target- The variable being regressed.
- regressors- The list of regressors.
- Returns:
- the regression plane.
 
- 
regressregress. - Specified by:
- regressin interface- Regression
- Parameters:
- target- a- Nodeobject
- regressors- a- Nodeobject
- Returns:
- a RegressionResultobject
 
 
-