public static TimeSeriesData serializableInstance(){
  List<String> varNames=new ArrayList<>();
  varNames.add("X");
  varNames.add("Y");
  return new TimeSeriesData(new TetradMatrix(2,2),varNames);
}

public static TimeSeriesData serializableInstance ( ) { List < String > varNames = new ArrayList < > ( ) ; varNames . add ( "X" ) ; varNames . add ( "Y" ) ; return new TimeSeriesData ( new TetradMatrix ( 2 , 2 ) , varNames ) ; }
generates a simple exemplar of this class to test serialization .
