In jackknife.jl line 152,
θhj = func(design.data[!, x], rep_weights)
The func will only apply over a single data vector x. This is fine for mean and total, but wont work for ratio, which needs y
In general case, we need a type system here so that func with different number of args can work here