Clustering (Step 1 of the estimation: Seep paper for details)

threeSided.Clustering(
  test_data,
  moments = "ecdf",
  Nw = 20,
  y_var = "y1",
  three_way = "F"
)