Class NonlinearityTests.CleanData

java.lang.Object
edu.cmu.tetrad.search.utils.NonlinearityTests.CleanData
Enclosing class:
NonlinearityTests

public static final class NonlinearityTests.CleanData extends Object
Represents cleaned data for nonlinearity tests, with NaNs removed from y and X.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double[][]
    The 2D array of independent variable values, cleaned of NaNs.
    final double[]
    The array of dependent variable values, cleaned of NaNs.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CleanData(double[] y, double[][] X)
    Constructs a CleanData object with the provided data arrays.
  • Method Summary

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • y

      public final double[] y
      The array of dependent variable values, cleaned of NaNs.
    • X

      public final double[][] X
      The 2D array of independent variable values, cleaned of NaNs.
  • Constructor Details

    • CleanData

      public CleanData(double[] y, double[][] X)
      Constructs a CleanData object with the provided data arrays.
      Parameters:
      y - the array of dependent variable values, cleaned of NaNs
      X - the 2D array of independent variable values, cleaned of NaNs