JavaGrinders.parametric
Class RegressionResults

java.lang.Object
  extended by JavaGrinders.Descriptives
      extended by JavaGrinders.parametric.tTestResults
          extended by JavaGrinders.parametric.RegressionResults
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
ANOVAResults, CorrelationResults, MultRegressionResults

public class RegressionResults
extends tTestResults
implements java.lang.Cloneable

provides the interface for obtaining descriptive statistics from continuous variables.


Field Summary
 int dfE
           
 int dfM
           
 int[] dfMComplete
           
 int[] dfMP
           
 int dfT
           
 double F
           
 boolean factorial
           
 double[] FP
           
 double MeanX
           
 java.lang.String[] ModelEffects
           
 double MSE
           
 double MSM
           
 double[] MSMP
           
 int nFactorialTerms
           
 int nInteractionTerms
           
 int nMainTerms
           
 int nModelEffects
           
 double[] Parameters
           
 double[] PP
           
 double R
           
 double R2
           
 double R2adj
           
 double RootMSE
           
 double SSE
           
 double SSM
           
 double[] SSMComplete
           
 double[] SSMP
           
 double SST
           
 double SumX
           
 double SumX2
           
 double SumXY
           
 double SumY
           
 double SumY2
           
 int[][] termIndeces
           
 java.lang.String[] yVar
           
 
Fields inherited from class JavaGrinders.parametric.tTestResults
MeanY, Prob, SDY, t
 
Fields inherited from class JavaGrinders.Descriptives
df0, df2, df4, df5, frequencies, IDMap, itsIDs, N, nMiss, Nsel, Rows
 
Constructor Summary
RegressionResults(int nModelEffects)
          empty constructor
 
Method Summary
 void BasicCalculations()
          fill terms once the sums are filled
 void completeCalculations()
          fill all the remaining terms once the sums are filled
 void fillFactorialTermNames(VariableOrganizer aXOrganizer)
          fills the n-way interaction terms for the ANOVA
 void fillFinalTerm()
           
 ParametricTerm getLowerWayParametricTermsSum(int forTerm)
           
 int getnWay(int i)
           
 double getSlope()
          returns the slope for the Regression formula
 boolean isLowerWay(int current, int forTerm)
           
 boolean isnWay(int i, int nWay)
           
 void list()
          reports the current values of the variables
 void listANOVATable()
          lists the ANOVA table
 void listANOVATableBasic()
          lists the ANOVA table
 void listANOVATableDetail()
          lists the ANOVA table
 void listEquation()
          lists the Regression formula for the line
 void listModelDesign()
          lists the variables and their design roles for the analysis
 void zeroDescriptives()
          sets sums for descriptives to zeros
 
Methods inherited from class JavaGrinders.Descriptives
clone, list, listBasics, listIDs, listIDs, listSigStars, setLabel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nModelEffects

public int nModelEffects

nMainTerms

public int nMainTerms

nInteractionTerms

public int nInteractionTerms

nFactorialTerms

public int nFactorialTerms

SumX

public double SumX

SumX2

public double SumX2

SumY

public double SumY

SumY2

public double SumY2

SumXY

public double SumXY

MeanX

public double MeanX

SST

public double SST

SSE

public double SSE

MSE

public double MSE

SSM

public double SSM

MSM

public double MSM

F

public double F

R

public double R

R2

public double R2

R2adj

public double R2adj

RootMSE

public double RootMSE

SSMComplete

public double[] SSMComplete

dfMComplete

public int[] dfMComplete

Parameters

public double[] Parameters

SSMP

public double[] SSMP

MSMP

public double[] MSMP

FP

public double[] FP

PP

public double[] PP

dfMP

public int[] dfMP

dfM

public int dfM

dfE

public int dfE

dfT

public int dfT

ModelEffects

public java.lang.String[] ModelEffects

yVar

public java.lang.String[] yVar

factorial

public boolean factorial

termIndeces

public int[][] termIndeces
Constructor Detail

RegressionResults

public RegressionResults(int nModelEffects)
empty constructor

Method Detail

zeroDescriptives

public void zeroDescriptives()
sets sums for descriptives to zeros

Overrides:
zeroDescriptives in class tTestResults

BasicCalculations

public void BasicCalculations()
fill terms once the sums are filled


completeCalculations

public void completeCalculations()
fill all the remaining terms once the sums are filled


getnWay

public int getnWay(int i)

isnWay

public boolean isnWay(int i,
                      int nWay)

isLowerWay

public boolean isLowerWay(int current,
                          int forTerm)

getLowerWayParametricTermsSum

public ParametricTerm getLowerWayParametricTermsSum(int forTerm)

fillFinalTerm

public void fillFinalTerm()
                   throws java.lang.Exception
Throws:
java.lang.Exception

fillFactorialTermNames

public void fillFactorialTermNames(VariableOrganizer aXOrganizer)
                            throws java.lang.Exception
fills the n-way interaction terms for the ANOVA

Throws:
java.lang.Exception

list

public void list()
reports the current values of the variables

Overrides:
list in class tTestResults

listANOVATableBasic

public void listANOVATableBasic()
lists the ANOVA table


listANOVATable

public void listANOVATable()
lists the ANOVA table


listANOVATableDetail

public void listANOVATableDetail()
lists the ANOVA table


getSlope

public double getSlope()
                throws java.lang.Exception
returns the slope for the Regression formula

Throws:
java.lang.Exception

listEquation

public void listEquation()
lists the Regression formula for the line


listModelDesign

public void listModelDesign()
lists the variables and their design roles for the analysis