Class StatBivariate

java.lang.Object
jwat.StatBivariate

public class StatBivariate extends Object
Class representing bivariate statistics
Version:
1.0
Author:
Brambilla Davide, Fumagalli Claudio
  • Constructor Details

    • StatBivariate

      public StatBivariate(VariableNumber[] allVar)
      Class builder
      Parameters:
      allVar - array of variables
  • Method Details

    • getCovariance

      public double getCovariance(int ind1, int ind2)
      Returns the value of covariance(v1,v2)
      Parameters:
      ind1 - index of the first variable
      ind2 - index of the second variable
      Returns:
      the resulting double
    • resetVar

      public void resetVar(int indVar)