Arguments
dmat
a distance matrix for schools, with a row for each treated school and a column for each control school.
students
a dataframe containing student and school covariates, with a different row for each student.
treatment
the column name of the binary treatment status indicator in the students dataframe.
school.id
the column name of the unique school ID in the students dataframe.
school.fb
an optional list of character vectors, each containing a subset of the column names of students. Each element of the list should contain all the names in previous elements (producing a nested structure).
penalty
a numeric value, treated as the cost to the objective function of excluding a treated school. If it is set lower, more schools will be excluded.
verbose
a logical value indicating whether detailed output should be printed.