Class NonlinearityTests.CleanData
java.lang.Object
edu.cmu.tetrad.search.utils.NonlinearityTests.CleanData
- Enclosing class:
NonlinearityTests
Represents cleaned data for nonlinearity tests, with NaNs removed from y and X.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCleanData(double[] y, double[][] X) Constructs a CleanData object with the provided data arrays. -
Method Summary
-
Field Details
-
y
public final double[] yThe array of dependent variable values, cleaned of NaNs. -
X
public final double[][] XThe 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 NaNsX- the 2D array of independent variable values, cleaned of NaNs
-