|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface implemented by linear regression models.
Method Summary | |
int[] |
allVariables()
A convenience method that returns an array that selects all of the independent variables. |
VectorI |
getCoefficients()
Returns the selected variable coefficients. |
double |
getEnteringThreshold()
Returns the p-value threshold used to select entering variables. |
int[] |
getEnteringVariables()
Returns the internal array describing entering variable set. |
double |
getExitingThreshold()
Returns the p-value threshold used to select exiting variables. |
double |
getF()
Returns the 'F' statistic for the currrent model. |
double |
getFPV()
Returns the one-sided p-value for the current 'F' statistic. |
GeneralLinearModelI |
getGLM()
Returns the underlying general linear model used for solving the regression. |
VectorI |
getLowerBounds(double confidenceLevel)
Returns the selected variable lower bounds. |
int[] |
getRequiredVariables()
Returns the internal array describing required variable set. |
int[] |
getSelectedVariables()
Returns the internal array describing current variable set. |
VectorI |
getT()
Returns the 'T' statistics for the selected variables. |
VectorI |
getTPV()
Returns the two-sided p-values for the 'T' statistics of the selected variables. |
double |
getTStatistic(double pValue)
Returns the the 'T' statistic for a given p-value; |
VectorI |
getUpperBounds(double confidenceLevel)
Returns the selected variable upper bounds. |
void |
setEnteringThreshold(double pValue)
Sets the p-value threshold used to select entering variables. |
void |
setEnteringVariables(int[] variables)
Selects the set of variables allowed to enter the model. |
void |
setExitingThreshold(double pValue)
Sets the p-value threshold used to select exiting variables. |
void |
setRequiredVarables(int[] variables)
Selects the set of variables that are forced into the final model. |
void |
setSelectedVariables(int[] variables)
Selects the current variable set and and solves the model. |
int |
solve()
Solve for the significant variables and coefficients. |
Method Detail |
public int solve()
public GeneralLinearModelI getGLM()
public int[] allVariables()
public void setEnteringVariables(int[] variables)
public void setRequiredVarables(int[] variables)
public void setEnteringThreshold(double pValue)
public double getEnteringThreshold()
public void setExitingThreshold(double pValue)
public double getExitingThreshold()
public void setSelectedVariables(int[] variables)
public double getF()
public double getFPV()
public VectorI getCoefficients()
public VectorI getLowerBounds(double confidenceLevel)
public VectorI getUpperBounds(double confidenceLevel)
public VectorI getT()
public VectorI getTPV()
public double getTStatistic(double pValue)
public int[] getSelectedVariables()
public int[] getEnteringVariables()
public int[] getRequiredVariables()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |