public Result(double gSquare,double pValue,int df,boolean isIndep){
  this.gSquare=gSquare;
  this.pValue=pValue;
  this.df=df;
  this.isIndep=isIndep;
}

public Result ( double gSquare , double pValue , int df , boolean isIndep ) { this . gSquare = gSquare ; this . pValue = pValue ; this . df = df ; this . isIndep = isIndep ; }
constructs a new g square result using the given parameters .
